Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all 106942 articles
Browse latest View live

RSRP-462663: Intermittent Build Failures: Could not run the "ResolveComReference" task

$
0
0
Reporter Avinash Puchalapalli (aip1000) Avinash Puchalapalli (aip1000)
Created Jan 22, 2017 2:36:38 AM
Updated Mar 21, 2017 7:35:26 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Normal
State Submitted
Type Bug
Affected versions No Affected versions
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
R# build will intermittently fail. All subsequent attempts to build fail until VS is restarted

Error Message:

Error C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets MSB4216: Could not run the "ResolveComReference" task because MSBuild could not create or connect to a task host with runtime "CLR4" and architecture "x64". Please ensure that (1) the requested runtime and/or architecture are available on the machine, and (2) that the required executable "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe" exists and can be run. Error C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets MSB4028: The "ResolveComReference" task's outputs could not be retrieved from the "ResolvedFiles" parameter. Object does not match target type.

RSRP-459081: When views are in different project than controller, right clicking View() and adding a view is going in the wrong place

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Jun 2, 2016 6:54:34 PM
Updated Mar 21, 2017 7:45:01 PM
Subsystem ASP.NET - MVC
Assignee Slava Trenogin (derigel)
Priority Major
State Submitted
Type Bug
Affected versions No Affected versions
Fix version 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
We have a Controller project, and a Web project with the views (I didn't set this up, so I'm not sure the reason). It seems like ReSharper can associate the Views folder correctly, as the View() is not showing an error if the view exists, but if it doesn't exist and I try to create a view automatically, it tries to create a Views folder in the controller project instead of placing it in the Web project

RSRP-463834: ReSharper TestRunner shows MSTest UnitTests as "Inconclusive: Test not run" with VisualStudio 2017 and new Common Project System .csproj

$
0
0
Reporter Florian Ahuis (florian.ahuis@rheinmetall.com) Florian Ahuis (florian.ahuis@rheinmetall.com)
Created Mar 21, 2017 1:23:13 PM
Updated Mar 21, 2017 7:52:22 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Submitted
Type Bug
Affected versions 2017.1
Fix version 2017.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Hi,
I want to run some MSTest Unittests with ReSharper.
I have Visual Studio 2017 and ReSharper 2017.1 EAP 5.
My testproject is using the new Common Project System for .csproj files.
I have a package reference to MSTest.TestFramework(1.1.13) and MSTest.TestAdapter(1.1.13).
I can run these tests with the Visual Studio Test Explorer but if I try to run them with ReSharper the runner only says "Inconclusive: Test not run".
I attache a small repo solution.

RSRP-460644: [xunit][performance] Refactor xunit integration to use TestMessageSink

$
0
0
Reporter Alex Povar (zvirja) Alex Povar (zvirja)
Created Sep 2, 2016 6:41:13 PM
Updated Mar 21, 2017 7:52:30 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Bug
Affected versions 2016.2
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Current versions of xunit (2.1 and 2.2-beta2) suffer from the critical performance issues related to the AppDomain marshaling. Because of that issue tests execution could be about 40 seconds (using console or R# runner), while actual tests execution take 1 second only.

It was fixed in xunit by creation of TestMessageSink instead of TestMessageVisitor. The TestMessageVisitor was obsoleted. See commit details on GitHub.

ReSharper runner suffers from the issue as well. If you run solution with 2k empty xunit Facts, you will note that TaskRunner CPU usage is 100% single core for about 40 seconds.

Given that you incorporated code to R# and it's not possible to fire a Pull Request - please upgrade your runner to use TestMessageSink instead of TestMessageVisitor.

I've attached the profiling snapshots. I've created 2k empty facts and run them. I've created both Timeline and Tracing snapshots, so you can see the issue clearly.

P.S. I've tried to fix issue locally (by patching the xunit.runner.utility.desktop and fixing TestMessageVisitor like TestMessageSink) and noticed a HUGE performance increase. So I could confirm that this change makes sense.

RSRP-463858: JetBrains Annotations: check for null values in VB

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Mar 21, 2017 7:53:58 PM
Updated Mar 21, 2017 7:54:04 PM
Subsystem Code Analysis - VB.NET
Assignee Ivan Serduk (IvanSerduk)
Priority Major
State Submitted
Type Bug
Affected versions 2016.3.2
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
It seems that Visual Basic annotations are not working with calculating what should or should not be checked for null values.
My understanding is that it should be, as it is .NET the same as C#, but it does not seem to work.

RSRP-460643: [xunit][performance] Critical performance issue with xunit test runner for theories with auto generated data

$
0
0
Reporter Alex Povar (zvirja) Alex Povar (zvirja)
Created Sep 2, 2016 6:24:34 PM
Updated Mar 21, 2017 7:54:26 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Reopened
Type Performance Problem
Affected versions Backlog
Fix version 2017.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharper suffers from the serious performance degradation when it runs xUnit tests with auto-generated theory data.
Previously, R# suffered from https://youtrack.jetbrains.com/issue/RSRP-458569. Now its fixed, but there is a performance degradation instead. Such things are really disappointing :(

The problem arises on the projects where the AutoFixture (very popular testing framework) integration with xUnit is heavily used. However, issue could be easily reproduced even without AutoFixture usage.

There are a few issues which contribute into single global issue that cause performance degradation. If you don't see difference between Facts and Theories (following the scenario below), ensure that this one is fixed before.
Other issues:

Steps to reproduce:
1. Create solution with 2,000 empty xunit tests. Example:
  public class FactWrapper
{
[Fact]
public void EmptyTest() { }
}

2. Create another solution with 2,000 empty theory tests that creates data dynamically. Example of code:
  public class DynamicDataAttribute: DataAttribute
{
public override IEnumerable<object[]> GetData(MethodInfo testMethod)
{
yield return new object[] {Guid.NewGuid().ToString()};
}
}

public class TheoryWrapper
{
[Theory, DynamicData]
public void EmptyTest(string randomData) { }
}

3. Run tests in both solutions for one time to populate UI. It's OK that cold run could take a lot of time.
4. Run tests in both solutions again and measure the difference.
On my machine:
2k facts: 40 sec.
2k theories: about 5 minutes.

Additional data:
  • xunit version: 2.1 (from nuget).
  • during Theories execution TaskRunner.exe almost didn't consume CPU resources. Visual studio load: 100% single core.

The issue is related to the way how you work with theories and UI model performance. When theory with dynamic data is performed, it creates new UI items for each time.

I've run Visual Studio profiling on my real solution with heavy use of DataAttribute (similar to the DynamicData from scenario above) and attached it to the issue (splitted to a set of files).

Unit tests are run about 1.5 minutes on my real solution, while the actual test execution is a matter of 3-4 seconds (result from xunit Console runner).

Feel free to ask me about additional details you need - I'm interested in fixing this issue as soon as possible.

RSRP-463771: R# crashes VS "A new guard page for the stack cannot be created" when opening a specific TSX file

$
0
0
Reporter Arsène von Wyss (avonwyss) Arsène von Wyss (avonwyss)
Created Mar 18, 2017 2:49:52 PM
Updated Mar 21, 2017 7:58:30 PM
Subsystem TypeScript
Assignee Anton Lobov (Anton.Lobov)
Priority Normal
State Fixed In Branch
Type Bug
Affected versions 2017.1
Fix version 2017.1
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
R# 2017.1 EAP 5

When opening the ModalDialog.tsx file, VS instantly crashes. (See RSRP-463326 for a zip of the related script files)

RSRP-463853: The "Inline Variable" refactoring does not work for destructured variables

$
0
0
Reporter Arsène von Wyss (avonwyss) Arsène von Wyss (avonwyss)
Created Mar 21, 2017 6:53:26 PM
Updated Mar 21, 2017 8:01:49 PM
Subsystem TypeScript
Assignee Anton Lobov (Anton.Lobov)
Priority Normal
State Submitted
Type Bug
Affected versions 2017.1
Fix version 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
R# 2017.1 EAP 5

const {a,b} = x;
const y = a.z;

When inlining the variable a, the following code should be generated:
const {b} = x;
const y = x.a.z;

However, R# shows a tooltip "Variable has no initializers" and does nothing.

RSRP-463857: R# inspection suggests to join declaration and assignment where this is wrong, QF however does not show

$
0
0
Reporter Arsène von Wyss (avonwyss) Arsène von Wyss (avonwyss)
Created Mar 21, 2017 7:10:47 PM
Updated Mar 21, 2017 8:01:57 PM
Subsystem TypeScript
Assignee Anton Lobov (Anton.Lobov)
Priority Normal
State Submitted
Type Bug
Affected versions 2017.1
Fix version 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
R# 2017.1 EAP 5

See screenshot:


When the variable is a let or a const, it may not be referenced before its declaration, which would be violated here because it is used in the loadEnd lambda.

RSRP-461693: High managed memory usage.

$
0
0
Reporter Mark Kharitonov (mark69_fnd) Mark Kharitonov (mark69_fnd)
Created Nov 11, 2016 6:53:32 AM
Updated Mar 21, 2017 8:26:56 PM
Subsystem JavaScript
Assignee Anton Lobov (Anton.Lobov)
Priority Critical
State Submitted
Type Performance Problem
Affected versions No Affected versions
Fix version 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Just opened the solution in VS2015, no work yet. VS memory is about 2.5GB - close to the crashing limit. Managed memory is over 1GB after GC.

The memory snapshot has been uploaded as Raducez.461693.dmw (failed to use the Feedback Center yet again - see https://youtrack.jetbrains.com/issue/RSRP-461692).

VS spits

RSRP-462205: Incorrect parameter type resolution on some Promises

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Dec 13, 2016 3:26:45 PM
Updated Mar 21, 2017 8:27:09 PM
Subsystem TypeScript
Assignee Anton Lobov (Anton.Lobov)
Priority Critical
State Submitted
Type Bug
Affected versions 2016.3
Fix version 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
The attached source file works and compiles, but resharper shows an error on the onloadForm function.

It fails to correctly resolve the type of the parameter "entities" in the resolve method of the promise, and says that entities.lenght cannot be resolved, because it's a Promise<IEntity[]>. This is not the case, the entities parameter is of type IEntity[], and the typescript compiler correctly resolves it. The compiled code works correctly when executed on the browser too.

I've tried clearing the resharper cache, but the bug persists.

Failing code:
var onloadForm = function () {

var r = new MyModule.Rest();
r.RetrieveMultiple("account", null).then(
(entities) => {
console.log(entities.length);
}).catch((error) => {
console.log(`casque: ${(<Error>error).message} StackTrace: ${(<Error>error).stack}`);
});
};
The project configuration is as follows:

tsconfig.json file:
{ 
"compilerOptions": {
"noImplicitAny": false,
"noEmitOnError": true,
"removeComments": false,
"sourceMap": true,
"target": "es5",
"module": "commonjs",
"moduleResolution": "node"
},
"exclude": [
"node_modules",
"wwwroot"
]
}
package.json file:
{ 
"version": "1.0.0",
"name": "asp.net",
"private": true,
"scripts": {
"serve": "http-server"
},
"dependencies": {
"backbone": "1.3.3",
"bootstrap": "^3.3.7",
"core-js": "2.4.1",
"editable-grid": "^2.0.5",
"handlebars": "^4.0.6",
"jquery": "^3.1.1",
"systemjs": "^0.19.41",
"validate.js": "^0.11.1"
},
"devDependencies": {
"@types/validate.js": "^0.0.2",
"@types/xrm": "^8.0.0",
"@types/jquery": "^2.0.34",
"jasmine": "^2.5.2",
"@types/es6-promise": "^0.0.32",
"http-server": "0.9.0",
"@types/backbone": "^1.3.3",
"@types/handlebars": "^4.0.31"
}
}

RSRP-458883: renaming breaks analysis

$
0
0
Reporter Philip Lee (philiplee) Philip Lee (philiplee)
Created May 23, 2016 1:26:47 PM
Updated Mar 21, 2017 8:42:57 PM
Subsystem Refactorings - Inplace
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Affected versions 2016.1.1
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
Consider 'capture1' which has been copied from another file.
I'm fixing it up, so renaming the 'user' variable. The errors on DisplayName and IsActive are valid because they don't exist yet.
Ctrl-R-R and select 'model' for the new name as suggested - 'capture2'.
This breaks R#. See 'capture3'.
ctrl-z fixes the errors.

Renaming by hand to 'model' also breaks it but not if I name it something else.
Restart VS/Reanalyze all doesn't fix it either.

RSRP-407575: UIHint check fails in classes that are created in an area

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Mar 4, 2014 3:16:03 PM
Updated Mar 21, 2017 8:45:40 PM
Resolved Mar 21, 2017 8:45:40 PM
Subsystem ASP.NET - MVC
Assignee Slava Trenogin (derigel)
Priority Critical
State Fixed
Type Bug
Affected versions 8.1, 8.2 EAP
Fix version 2017.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
When i create an Area in which i create an EditorTemplates folder in the Views/Shared folder, Resharper is unable to resolve the template that i use in the UIHint attribute.

See the sample solution.

RSRP-459247: Resharper incorrectly reports variable unused

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Jun 14, 2016 4:20:16 PM
Updated Mar 21, 2017 8:58:23 PM
Subsystem ASP.NET - Razor
Assignee Slava Trenogin (derigel)
Priority Major
State Open
Type Feature
Affected versions No Affected versions
Fix version 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
In ASP.NET Core RC2 project, if a variable is only used in asp-items tag attribute (on "select" element), resharper will reports this variable is not used.


Product: ReSharper, Version: 2016.2.20160609.93449-eap3

RSRP-462217: If function name is long, the close button in quick doc window is hidden

$
0
0
Reporter Igor Akhmetov (Igor.Akhmetov) Igor Akhmetov (Igor.Akhmetov)
Created Dec 13, 2016 11:17:26 AM
Updated Mar 21, 2017 8:59:33 PM
Subsystem Quick Documentation Info
Assignee Slava Trenogin (derigel)
Priority Major
State Submitted
Type Usability Problem
Affected versions No Affected versions
Fix version 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
static void diagnoseUseOfInternalDeclInInlineFunction()
{
diagnoseUseOfInternalDeclInInlineFunction(); // try quick doc here
}

RSRP-463859: JavaScript "align multiline constructs / call arguments" has gone missing

$
0
0
Reporter Daniel Yankowsky (balefrost) Daniel Yankowsky (balefrost)
Created Mar 21, 2017 9:33:43 PM
Updated Mar 21, 2017 9:33:43 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Improvement
Affected versions No Affected versions
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I found a reference (in RSRP-201496) to a formatting option that appears to have been dropped. It looks like it used to be possible to align JS function call arguments, so that instead of this:

someFunction('bar',
42,
function() {
return 7;
});

You used to be able to get this:

someFunction('bar',
42,
function() {
return 7;
});

Is there any chance that this feature might return? We use that option in our C# code, and it's great!

RSRP-461993: Error: "C# 6.0 language feature" for ASPX files

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created Nov 30, 2016 7:42:04 PM
Updated Mar 21, 2017 9:59:07 PM
Resolved Mar 21, 2017 9:59:07 PM
Subsystem ASP.NET
Assignee Slava Trenogin (derigel)
Priority Normal
State Answered
Type Bug
Affected versions 2016.2.2
Fix version 2017.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
after upgrading to ReSharper 2016.2 I have got errors: "C# 6.0 language feature" in all ASPX files. Are there a way to specify Resharper to use version 6 of C# language for ASPX files?
Resharper analyzes all the CS files in the project without any problem, I have the problem only with ASPX files. I tried DotSetting, but it doesn't help. Previous version of Resharper worked good with the project and with the ASPXes.

RSRP-463592: Object reference not set to an instance of an object.

$
0
0
Reporter Christiaan Arnoldus (sudlonrA) Christiaan Arnoldus (sudlonrA)
Created Mar 10, 2017 11:16:41 AM
Updated Mar 22, 2017 12:10:01 AM
Subsystem ASP.NET - MVC
Assignee Slava Trenogin (derigel)
Priority Critical
State Submitted
Type Exception
Affected versions No Affected versions
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 08 Hive _363e273d — JetBrains ReSharper Ultimate 2017.1 EAP 4 Build 108.0.20170309.131701-eap04

JetBrains ReSharper 2017.1 EAP 4 Build 2017.1.20170309.132829-eap04

Object reference not set to an instance of an object.

— EXCEPTION #1/2 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = COR_E_NULLREFERENCE=E_POINTER=80004003
Source = JetBrains.ReSharper.Psi
StackTraceString = “
  at JetBrains.ReSharper.Psi.PsiSourceFileExtensions.AssertIsValid(IPsiSourceFile sourceFile, String messageText)
     at JetBrains.ReSharper.Psi.Caches.InvalidateCacheChange.AssertAllFilesAreValid(ICollection`1 affectedFiles)
     at JetBrains.ReSharper.Psi.Caches.InvalidateCacheChange..ctor(ICache cache, ICollection`1 affectedFiles, Boolean dropPsiFiles)
     at JetBrains.ReSharper.Feature.Services.Asp.Caches.MvcCache.Execute(IChangeMap changeMap)
     at JetBrains.Application.changes.ChangeManagerImpl.<>c__DisplayClasse.<InvokeOrderedDependentProviders>b__d(IProgressIndicator pro)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cshtml
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2017.1 EAP 4 Build 108.0.20170309.131701-eap04”
Data.SubProducts.#0 = “JetBrains ReSharper 2017.1 EAP 4 Build 2017.1.20170309.132829-eap04”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave08-eap4::11088eede4700113b73086b9ce5c1e98229ad808


Platform\VisualStudio:
    git::refs/heads/wave08-eap4::afb590c26390b85dbbe32556e61f0a744e299251

Data.VsVersion = 15.0.26228.4
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Application.changes.ChangeManagerImpl.<>c__DisplayClasse.<InvokeOrderedDependentProviders>b__d(IProgressIndicator pro)
     at JetBrains.Application.Progress.SimpleTaskExecutor.ExecuteTaskTrivial(Action`1 task)
     at JetBrains.Application.Progress.SimpleTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
     at JetBrains.Application.changes.ChangeManagerImpl.InvokeOrderedDependentProviders(ITaskExecutor executor, IEnumerable`1 dependentProviders, ChangeMap changeMap)
     at JetBrains.Application.changes.ChangeManagerImpl.OnProviderChanged(IChangeProvider changeProvider, Object change, ITaskExecutor executor)
     at JetBrains.ReSharper.Psi.Caches.AssemblyAnnotatedMembersCache.<>c__DisplayClass6.<ClearCache>b__4()
     at JetBrains.Application.changes.ChangeManagerImpl.ExecuteAfterChange(Action action)
     at JetBrains.ReSharper.Psi.Caches.AssemblyAnnotatedMembersCache.ClearCache(OneToSetMap`2 assemblyData)
     at JetBrains.ReSharper.Psi.Caches.AssemblyAnnotatedMembersCache.Merge(IPsiAssembly assembly, Object part, OptimizedPersistentSortedMap`2 dataMap)
     at JetBrains.ReSharper.Psi.Caches.AssemblyAnnotatedMembersCache.JetBrains.ReSharper.Psi.Caches.IAssemblyCache.Merge(IPsiAssembly assembly, Object part, Func`1 checkForTermination)
     at JetBrains.ReSharper.Psi.Caches.Jobs.JobAddAssemblies.Merge(IPsiAssembly assembly, IList`1 builtPart, Func`1 checkForTermination)
     at JetBrains.ReSharper.Psi.Caches.Jobs.JobAddAssemblies.<>c__DisplayClass7.<Do>b__5(KeyValuePair`2 pair)
     at JetBrains.ReSharper.Psi.Caches.Jobs.CacheJobService2.<>c__DisplayClass28`1.<ExecuteSplittedWriteActivity>b__25()
     at JetBrains.Util.Logging.Logger.Catch(Action action)
     at JetBrains.ReSharper.Psi.Caches.Jobs.CacheJobService2.<>c__DisplayClass28`1.<ExecuteSplittedWriteActivity>b__24()
     at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher[T](Func`1 action)
     at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass16`1.<Create>b__14(Object state)
     at System.Threading.Tasks.Task`1.InnerInvoke()
     at System.Threading.Tasks.Task.Execute()
     at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
     at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
     at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
     at JetBrains.Application.Threading.Tasks.ReentrancyGuardTaskScheduler.<>c__DisplayClass1.<QueueTask>b__0()
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
     at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
     at JetBrains.Threading.JetDispatcher.Closure.Execute()
     at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
     at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass5.<BeginInvokeCore>b__3()
     at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
     at System.Windows.Threading.DispatcherOperation.InvokeImpl()
     at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
     at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Windows.Threading.DispatcherOperation.Invoke()
     at System.Windows.Threading.Dispatcher.ProcessQueue()
     at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
     at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
     at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
     at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
     at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

RSRP-463589: Value cannot be null. Parameter name: key

$
0
0
Reporter Kirill Falk (kfalk) Kirill Falk (kfalk)
Created Feb 7, 2017 10:56:34 AM
Updated Mar 22, 2017 12:13:21 AM
Resolved Mar 13, 2017 12:37:24 PM
Subsystem Platform - VS Integration
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Fixed
Type Exception
Affected versions No Affected versions
Fix version 2017.1
Fixed In Version ReSharper 2017.1 EAP 5
VsVersion All Versions
ReSharperPlatformVs15 Wave 08 RootSuffix _0a429cac — JetBrains ReSharper Ultimate 2017.1 EAP 0 Build 108.0.20170207.50811-eap00

JetBrains ReSharper 2017.1 EAP 0 Build 2017.1.20170207.53409-eap00
JetBrains ReSharper C++ 2017.1 EAP 0 Build 2017.1.20170207.53255-eap00

Value cannot be null. Parameter name: key

— EXCEPTION #1/2 [ArgumentNullException]
Message = “Value cannot be null.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentNullException
Data.ReentrancyGuard.ActionName = VSSolutionManager.OnSelectionChanged
HResult = COR_E_NULLREFERENCE=E_POINTER=80004003
Source = mscorlib
ParamName = key
StackTraceString = “
  at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
     at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
     at JetBrains.VsIntegration.ProjectDocuments.VsHierarchyToProjectInfoMap.TryGetProjectInfoByHierarchy(IVsHierarchy hierarchy)
     at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.ProjectModelSynchronizer.TryGetProjectInfoByHierarchy(IVsHierarchy vsHierarchy)
     at JetBrains.Platform.VisualStudio.SinceVs15.ProjectDocuments.ProjectModelSynchronizer15.TryGetProjectInfoByHierarchy(IVsHierarchy vsHierarchy)
     at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.ProjectModelSynchronizer.GetProjectItemByHierarchyItemCore(VsHierarchyItem hitem, Boolean lookInReferences, OnError onerror)
     at JetBrains.VsIntegration.ProjectDocuments.VSSolutionManager.<>c__DisplayClass4c.<OnVsSelectionChanged>b__4b()
     at JetBrains.Application.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
     at JetBrains.Application.IShellLocksEx.<>c__DisplayClass4.<ExecuteOrQueueReadLock>b__3()
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “
Value cannot be null.
Parameter name: key

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2017.1 EAP 0 Build 108.0.20170207.50811-eap00”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 2017.1 EAP 0 Build 2017.1.20170207.53255-eap00”
Data.SubProducts.#1 = “JetBrains ReSharper 2017.1 EAP 0 Build 2017.1.20170207.53409-eap00”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave08

Data.VsVersion = 15.0.26127.3
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
     at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)
     at JetBrains.Threading.IThreadingEx.ExecuteOrQueue(IThreading thіs, String name, Action action)
     at JetBrains.Application.IShellLocksEx.ExecuteOrQueueReadLock(IShellLocks thіs, String name, Action F)
     at JetBrains.VsIntegration.ProjectDocuments.VSSolutionManager.OnVsSelectionChanged(AddRemoveEventArgs`1 addRemoveEventArgs)
     at JetBrains.DataFlow.ICollectionSignalEx.<>c__DisplayClass7`1.<Advise_Remove>b__6(AddRemoveEventArgs`1 args)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.CollectionEvents`1.FireAddRemove(AddRemove action, TValue value, Object cookie)
     at JetBrains.DataFlow.CollectionEvents`1.InternalRemove(TValue value, Object cookie)
     at JetBrains.DataFlow.CollectionEvents`1.Remove(TValue value, Object cookie)
     at JetBrains.VsIntegration.Interop.Events.ProjectModel.VsSelectionProjectModel.<>c__DisplayClassc.<.ctor>b__8(VsHierarchyItem item)
     at System.Collections.Generic.List`1.ForEach(Action`1 action)
     at JetBrains.VsIntegration.Interop.Events.ProjectModel.VsSelectionProjectModel.<>c__DisplayClassc.<.ctor>b__7()
     at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass1`1.<Advise>b__0(TValue value)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value)
     at JetBrains.VsIntegration.Interop.Events.ProjectModel.VsSelectionProjectModel.Sink.Microsoft.VisualStudio.Shell.Interop.IVsSelectionEvents.OnSelectionChanged(IVsHierarchy pHierOld, UInt32 itemidOld, IVsMultiItemSelect pMISOld, ISelectionContainer pSCOld, IVsHierarchy pHierNew, UInt32 itemidNew, IVsMultiItemSelect pMISNew, ISelectionContainer pSCNew)
     at Microsoft.VisualStudio.Shell.Interop.IVsTrackSelectionEx.OnSelectChangeEx(IntPtr pHier, UInt32 itemid, IVsMultiItemSelect pMIS, IntPtr pSC)
     at Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceTreeViewControl.EnsureVsSelection()
     at Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceTreeViewControl.Microsoft.Internal.VisualStudio.PlatformUI.IContextMenuController.ShowContextMenu(IEnumerable`1 items, Point location)
     at Microsoft.Internal.VisualStudio.PlatformUI.ContextMenuController.ShowContextMenu(IEnumerable`1 items, Point location, Func`2 getController)
     at Microsoft.Internal.VisualStudio.PlatformUI.ContextMenuController.ShowContextMenu(IEnumerable`1 items, Point location)
     at Microsoft.Internal.VisualStudio.PlatformUI.PivotTreeView.OnContextMenuOpening(ContextMenuEventArgs e)
     at System.Windows.FrameworkElement.OnContextMenuOpeningThunk(Object sender, ContextMenuEventArgs e)
     at System.Windows.Controls.ContextMenuEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
     at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
     at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
     at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
     at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
     at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
     at System.Windows.ContentElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
     at System.Windows.Controls.PopupControlService.RaiseContextMenuOpeningEvent(IInputElement source, Double x, Double y, Boolean userInitiated)
     at System.Windows.Controls.PopupControlService.ProcessMouseUp(Object sender, MouseButtonEventArgs e)
     at System.Windows.Controls.PopupControlService.OnPostProcessInput(Object sender, ProcessInputEventArgs e)
     at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)
     at System.Windows.Input.InputManager.ProcessStagingArea()
     at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
     at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
     at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
     at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
     at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
     at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
     at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
     at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

RSRP-463796: Exploration of failed for Could not find Test Containers for requested projects

$
0
0
Reporter Thomas Stocker (thomas.stocker) Thomas Stocker (thomas.stocker)
Created Feb 14, 2017 7:22:42 PM
Updated Mar 22, 2017 12:28:41 AM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Exception
Affected versions No Affected versions
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 08 RootSuffix _4344efc9 — JetBrains ReSharper Ultimate 2017.1 EAP 1 Build 108.0.20170209.145741-eap01

JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01
JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01

Exploration of <MSTest> failed for <Muellerchur.Famc.Tools,.NETFramework,Version=v4.5.2> Could not find Test Containers for requested projects

— EXCEPTION #1/2 [TestContainerCouldNotBeFoundException]
Message = “Could not find Test Containers for requested projects”
ExceptionPath = Root.InnerException
ClassName = JetBrains.ReSharper.UnitTestProvider.MSTest11.New.TestContainerCouldNotBeFoundException
“Data.Requested For Projects” = “Project: Muellerchur.Famc.Tools Output: C:\tfs\FAMC\FAMC_NET\bin\Debug\Muellerchur.Famc.Tools.dll”
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.UnitTestProvider.MSTest15
StackTraceString = “
  at JetBrains.ReSharper.UnitTestProvider.MSTest11.New.JetDiscoveryOperation.GeTestContainersAndRetry(IEnumerable`1 sources)
     at JetBrains.ReSharper.UnitTestProvider.MSTest11.New.JetDiscoveryOperation.ExecuteInternalCore()
     at JetBrains.ReSharper.UnitTestProvider.MSTest11.New.JetDiscoveryOperation.<ExecuteInternal>b__0()


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Exploration of <MSTest> failed for <Muellerchur.Famc.Tools,.NETFramework,Version=v4.5.2> Could not find Test Containers for requested projects”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool (S) Regular thread #7”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2017.1 EAP 1 Build 108.0.20170209.145741-eap01”
Data.SubProducts.#0 = “JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01”
Data.SubProducts.#1 = “JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave08-eap1::f2a118257f686c7e845f09736c57d7bef0db0aee


Platform\VisualStudio:
    git::refs/heads/wave08-eap1

Data.VsVersion = 15.0.26206.0
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.ReSharper.UnitTestFramework.Exploration.UnitTestArtefactExplorationRunner.<>c__DisplayClassd.<ExploreProject>b__8(Task t)
     at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
     at System.Threading.Tasks.Task.Execute()
     at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
     at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
     at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
     at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task)
     at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
     at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
     at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Threading.ThreadHelper.ThreadStart()
Viewing all 106942 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>