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

RSRP-395642: ReSharper and custom ASP.NET MVC view location - Doesn't support Areas

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Nov 25, 2013 11:58:06 AM
Updated Oct 22, 2018 3:52:16 PM
Subsystem ASP.NET - MVC
Assignee Slava Trenogin (derigel)
Priority Critical
State Submitted
Type Bug
Fix version 2018.3
Affected versions 7.1.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
I've used this post to change the routing in one of our solutions.
This is great for when you have a mixed webforms/MVC application.

The only problem atm is that it doesn't work when you also use Areas.
Resharper cannot resolve Views. Everything builds fine and runs like its supposed to.

AreaViewLocationFormats = new[] 
{
"~/_MVC/{2}/Views/{1}/{0}.cshtml",
"~/_MVC/{2}/Views/Shared/{1}/{0}.cshtml",
"~/_MVC/PartialViews/{0}.cshtml"
};

AreaMasterLocationFormats = AreaViewLocationFormats;
AreaPartialViewLocationFormats = AreaViewLocationFormats;


ViewLocationFormats = new[]
{
"~/_MVC/Views/{1}/{0}.cshtml",
"~/_MVC/Views/Shared/{1}/{0}.cshtml"
};
PartialViewLocationFormats = ViewLocationFormats;
MasterLocationFormats = ViewLocationFormats;

When using :
public ActionResult Index( ) 
{
return View( );
}
It will want to create a View in _MVC/Views instead of _MVC/AREANAME/Views.

For now we are using the following work around so that Errors in Solutions doesn't show errors:
public ActionResult Index( ) 
{
// ReSharper disable Mvc.ViewNotResolved
return View( );
// ReSharper restore Mvc.ViewNotResolved
}

RSRP-468739: .NET Core: Custom configuration: Custom Areas not parsed by Rider.

$
0
0
Reporter Marcin Masłowski (gumowykaczak) Marcin Masłowski (gumowykaczak)
Created Mar 18, 2018 2:05:28 PM
Updated Oct 22, 2018 3:58:37 PM
Subsystem ASP.NET - Razor
Assignee Slava Trenogin (derigel)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.3.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

While working on .NET Core project, when you define a Custom Area path Rider will not load those settings. It causes to show warnings and not working properly with view creation. It only checks for existence of View file in root\Views\ folder.
Consider configuring in Startup.cs:

    public void ConfigureServices(IServiceCollection services)
    {
        services.AddMvc();
        services.Configure<RazorViewEngineOptions>(options =>
        {
            options.AreaViewLocationFormats.Clear();
            options.AreaViewLocationFormats.Add("/Test/{2}/Views/{1}/{0}.cshtml");
        });
    }
    public void Configure(IApplicationBuilder app, IHostingEnvironment env)
    {
        //removed some lines
        app.UseMvc(routes =>
        {
            routes.MapRoute(
                name: "defaultAreaRoute",
                template: "{area=TestArea}/{controller=Test}/{action=Index}");
        });
    }

And then having structure:

WebApplication1
│   Program.cs
│   Startup.cs
├───Test
│   └───TestArea
│       ├───Controllers
│       │       TestController.cs
│       │
│       └───Views
│           └───Test
│                   Test.cshtml
├───Views
└───wwwroot

That is throwing error:

<WebApplication1>\Test\TestArea\Controllers\TestController.cs:255 Cannot resolve view 'Test'

But it works fine with .NET Core.

Please have a look at attached project.


.NET Core version:

dotnet --version
2.1.101

Version:

JetBrains Rider 2017.3.1
Build #RD-173.3994.2442, built on February 5, 2018
JRE: 1.8.0_152-release-1024-b10 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

RSRP-471576: Type reference could be only for type reference but is used on

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Sep 20, 2018 4:58:04 PM
Updated Oct 22, 2018 4:17:06 PM
Subsystem JavaScript
Assignee Nikita Popov (poksh)
Priority Normal
State Submitted
Type Exception
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _3f3919c0ProjectModel — JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180918.154710-eap01d

JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180918.160255-eap01d

Type reference could be only for type reference but is used on

— EXCEPTION #1/1 [LoggerException]
Message = “Type reference could be only for type reference but is used on”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool(L) #7”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180918.154710-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180918.160255-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183-deferred-projects::f881e303bc575e4fd458361426a27fbf97c94603


Platform\VisualStudio:
    git::refs/heads/183-deferred-projects

Data.VsVersion = 15.8.28010.2026
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.FailWithSensitiveData(String messageText, Pair`2[] sensitiveData)
 at JetBrains.Util.Logging.Logger.FailWithSensitiveData(String messageText, Pair`2[] sensitiveData)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.PrimitiveTypeExtensions.GetTypeReferenceType(JsPrimitive primitive, String name)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsTypeBase.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsTypeWithSignaturesBase.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsNamedType.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ProcessDerivedTypes(JsTypeResolveResult type, JsResolveContext context, JsTypeDescriptionOpInfo derivedTypeInfo, StrongTypeMode mode, Boolean expectedType, JsUnresolvedTypeFlags flags, Boolean addStandardTypes, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.<>c.<.cctor>b__58_1(JsResolveContext context1, JsUnresolvedTypeBase me, MyCalculationIdentifier ident)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ExpandRecursively(JsResolveContext context, Boolean standardTypes, Boolean expectedTypes, JsUnresolvedTypeFlags flags, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.<>c.<.cctor>b__58_1(JsResolveContext context1, JsUnresolvedTypeBase me, MyCalculationIdentifier ident)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ExpandRecursively(JsResolveContext context, Boolean standardTypes, Boolean expectedTypes, JsUnresolvedTypeFlags flags, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ResolveType(JsResolveContext context, Boolean standardTypes, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Syntax.TypeScriptOwnInspectionsProcess.VisitTsReferenceName(ITsReferenceName tsReferenceNameParam, IHighlightingConsumer context)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Tree.TypeScript.TsReferenceName.Accept[TContext](TsTreeNodeVisitor`1 visitor, TContext context)
 at JetBrains.ReSharper.Daemon.JavaScript.Prelude.TypeScript.TsDaemonStageProcessBase.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Syntax.TypeScriptOwnInspectionsProcess.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants[TContext](ITreeNode root, IRecursiveElementProcessor`1 processor, TContext context)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Syntax.TypeScriptOwnInspectionsProcess.<Execute>b__10_0(IJavaScriptFile file, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Daemon.JavaScript.Prelude.TypeScript.TsDaemonStageProcessBase.HighlightInFile(Action`2 fileHighlighter, Action`1 commiter)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Syntax.TypeScriptOwnInspectionsProcess.Execute(Action`1 committer)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.RunStage(IDaemonStage stage, DaemonProcessKind processKind, Action`2 commiter, IContextBoundSettingsStore contextBoundSettingsStore, JetHashSet`1 disabledStages)
at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass47_1.<DoHighlighting>g__Stage|2(IDaemonStage stage)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass49_1.<PrepareRunActionForStages>b__0()
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass49_1.<PrepareRunActionForStages>b__0()
 at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass22_1.<EnqueueDependentJobs>b__2()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass33_0.<Create>b__1(Object state)
 at System.Threading.Tasks.Task.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 ANNOTATED: JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread #D.JetPool(L) #7(Action )
 at JetBrains.Util.Reflection.CallStackAnnotation.InvokeAnnotated(String classNameOfNewFrame, String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Util.Reflection.CallStackAnnotation.CatchAnnotatedInvocation[TClassOfNewFrame](String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.<Start>b__20_0()
 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()

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

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jul 6, 2018 8:06:46 AM
Updated Oct 22, 2018 4:21:29 PM
Subsystem Debugger features
Assignee Alexander Ulitin (alexander.ulitin)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 182 — JetBrains ReSharper Ultimate 2018.2 EAP 1 Build 182.0.20180628.124316-eap01

JetBrains dotMemory 182 Build 182.0.20180628.132247-eap01
JetBrains dotTrace 182 Build 182.0.20180628.132215-eap01
JetBrains ReSharper 182 Build 182.0.20180628.125556-eap01

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 = E_POINTER=COR_E_NULLREFERENCE=80004003
Source = JetBrains.PsiFeatures.VisualStudio.Debugger
StackTraceString = “
 at JetBrains.PsiFeatures.VisualStudio.Debugger.Breakpoints.VsBreakpointsSynchronizer.Synchronize()
 at JetBrains.PsiFeatures.VisualStudio.Debugger.Breakpoints.VsBreakpointsSynchronizer.Synchronize()
 at JetBrains.PsiFeatures.VisualStudio.Debugger.Breakpoints.VsBreakpointsSynchronizer.<.ctor>b__26_0()
 at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass0_0`1.<Advise>b__0(TValue value)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)


— 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.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.2 EAP 1 Build 182.0.20180628.124316-eap01”
Data.SubProducts.#0 = “JetBrains dotTrace 182 Build 182.0.20180628.132215-eap01”
Data.SubProducts.#1 = “JetBrains ReSharper 182 Build 182.0.20180628.125556-eap01”
Data.SubProducts.#2 = “JetBrains dotMemory 182 Build 182.0.20180628.132247-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182-eap1::389b2b0a5d2b33c46224f8f1850bc61276990d1e


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

Data.VsVersion = 14.0.25431.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.Threading.GroupingEvent.Execute()
 at JetBrains.Threading.GroupingEventHost.ExecuteExpiredEvents()
 at JetBrains.Threading.GroupingEventHost.<OnClockTimerTick>b__22_0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)
 at JetBrains.Threading.GroupingEventHost.OnClockTimerTick()
 at JetBrains.Threading.GroupingEventHost.ClockTimer.OnTimerTick(Object sender, EventArgs e)
 at System.Windows.Forms.Timer.OnTick(EventArgs e)
 at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

RSRP-471924: Incorrect 'Ambiguous Reference' error in a resx file

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Oct 21, 2018 4:45:06 PM
Updated Oct 22, 2018 4:26:02 PM
Subsystem Localization (i18n, ResX)
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Normal
State Submitted
Type Bug
Fix version 2018.3
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions


Reproduced with the attached solution. DevExpress is required to setup the references.

RSRP-466891: One or more errors occurred. Index was outside the bounds of the array.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Nov 2, 2017 4:30:18 AM
Updated Oct 22, 2018 4:31:06 PM
Subsystem Refactorings
Assignee Alexander Ulitin (alexander.ulitin)
Priority Critical
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 11 Hive _321c4cfdPro15 — JetBrains ReSharper Ultimate 2017.3 EAP 4 D Build 111.0.20171031.235742-eap04d

JetBrains ReSharper 2017.3 EAP 4 D Build 2017.3.20171031.235742-eap04d

One or more errors occurred. Index was outside the bounds of the array.

— EXCEPTION #1/3 [IndexOutOfRangeException]
Message = “Index was outside the bounds of the array.”
ExceptionPath.1 = Root.InnerException.InnerException
ExceptionPath.2 = Root.InnerException.InnerExceptions.#0
ClassName = System.IndexOutOfRangeException
HResult = COR_E_INDEXOUTOFRANGE=80131508
Source = JetBrains.Platform.Core
StackTraceString = “
 at JetBrains.Text.StringBuffer.get_Item(Int32 index) in w:\ReSharper\Platform\Core\Shell\Core\Src\Text\StringBuffer.cs:line 40
 at JetBrains.Text.StringBuffer.get_Item(Int32 index) in w:\ReSharper\Platform\Core\Shell\Core\Src\Text\StringBuffer.cs:line 40
 at JetBrains.Text.ProjectedBuffer.get_Item(Int32 index) in w:\ReSharper\Platform\Core\Shell\Core\Src\Text\ProjectedBuffer.cs:line 76
 at JetBrains.Util.StringSearcher.Find(IBuffer buffer, Int32 startOffset, Int32 endOffset) in w:\ReSharper\Platform\Core\Shell\Util\Src\StringSearcher.cs:line 71
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Finder.NamedThingsSearchSourceFileProcessor.BufferContainsText(IBuffer buffer) in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\ExtensionsAPI\Finder\NamedThingsSearchSourceFileProcessor.cs:line 160
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Finder.NamedThingsSearchSourceFileProcessor.SubTreeContainsText(ITreeNode node) in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\ExtensionsAPI\Finder\NamedThingsSearchSourceFileProcessor.cs:line 150
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Finder.NamedThingsSearchSourceFileProcessor.ShouldVisitScope(ITreeNode element) in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\ExtensionsAPI\Finder\NamedThingsSearchSourceFileProcessor.cs:line 137
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Finder.NamedThingsSearchSourceFileProcessor.RunForNamedReferences(ITreeNode scope) in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\ExtensionsAPI\Finder\NamedThingsSearchSourceFileProcessor.cs:line 64
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Finder.NamedThingsSearchSourceFileProcessor.Run() in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\ExtensionsAPI\Finder\NamedThingsSearchSourceFileProcessor.cs:line 48
 at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpReferenceSearcher.ProcessElement[TResult](ITreeNode element, IFindResultConsumer`1 consumer) in w:\ReSharper\Psi.Features\Core\Psi\CSharp\Src\Impl\CSharpReferenceSearcher.cs:line 121
 at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpReferenceSearcher.ProcessProjectItem[TResult](IPsiSourceFile sourceFile, IFindResultConsumer`1 consumer) in w:\ReSharper\Psi.Features\Core\Psi\CSharp\Src\Impl\CSharpReferenceSearcher.cs:line 72
 at JetBrains.ReSharper.Psi.Impl.Search.SearchProcessorBase.ProcessProjectItem[TResult](IPsiSourceFile sourceFile, IFindResultConsumer`1 consumer) in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\impl\search\SearcherBase.cs:line 57
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderSearchDomainVisitor`1.<>c__DisplayClasse.<VisitPsiSourceFile>b__d() in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\impl\search\Operations\FinderSearchDomainVisitor.cs:line 126
 at JetBrains.ReSharper.Psi.Extensions.<>c__DisplayClass1.<EnqueueJob>b__0() in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\CompilationContextCookie.cs:line 328
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action) in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskHost.cs:line 141
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClasse.<Create>b__a(Object state) in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskHost.cs:line 199
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()


— Outer —

— EXCEPTION #2/3 [AggregateException]
Message = “One or more errors occurred.”
ExceptionPath = Root.InnerException
ClassName = System.AggregateException
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.Core
InnerExceptions.#0 = “Exception #1 at Root.InnerException.InnerException”
StackTraceString = “
 at JetBrains.Application.Threading.Tasks.TaskBarrier.DisposeUnmanagedResources() in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskBarrier.cs:line 237
 at JetBrains.Application.Threading.Tasks.TaskBarrier.DisposeUnmanagedResources() in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskBarrier.cs:line 237
 at JetBrains.Util.SafeDisposable.DisposeInternal() in w:\ReSharper\Platform\Core\Shell\Core\Src\DataStructures\SafeDisposable.cs:line 46
 at JetBrains.Util.SafeDisposable.Dispose() in w:\ReSharper\Platform\Core\Shell\Core\Src\DataStructures\SafeDisposable.cs:line 74
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderSearchDomainVisitor`1.Run() in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\impl\search\Operations\FinderSearchDomainVisitor.cs:line 85
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.Impl.FindReferencesOperation`1.Find() in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\impl\search\Operations\Impl\FindReferencesOperation.cs:line 359
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.State.Run() in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\impl\search\Operations\States.cs:line 24
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderOperation`1.DoWork() in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\impl\search\Operations\FinderOperation.cs:line 196
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderOperation`1.Start() in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\impl\search\Operations\FinderOperation.cs:line 171
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderOperationManager.<>c__DisplayClass1a.<RunSync>b__19() in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\impl\search\Operations\FinderOperationManager.cs:line 278
 at JetBrains.ReSharper.Psi.Impl.search.FinderModuleReferenceResolveContextProvider.Execute(ICollection`1 elements, Action action) in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\impl\search\FinderModuleReferenceResolveContextProvider.cs:line 54
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderOperationManager.RunSync(IFinderOperation operation) in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\impl\search\Operations\FinderOperationManager.cs:line 274
 at JetBrains.ReSharper.Psi.Impl.Search.Finder.FindReferences[TResult](IDeclaredElement element, ISearchDomain domain, IFindResultConsumer`1 consumer, IProgressIndicator pi, Boolean includeDynamic) in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\impl\search\Finder.cs:line 90
 at JetBrains.ReSharper.Psi.Search.FinderExtensions.FindReferences(IFinder finder, IDeclaredElement element, ISearchDomain domain, IProgressIndicator pi, Boolean includeDynamic) in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\Search\FinderExtensions.cs:line 56
 at JetBrains.ReSharper.Refactorings.UseBaseType.Dependences.GraphBuilder.CreateTypeOwnerDependencies(IDeclaredElement typeOwner, Node node, IProgressIndicator pi) in w:\ReSharper\Psi.Features\src\Refactorings\_Core\Src\UseBaseType\Dependencies\GraphBuilder.cs:line 160
 at JetBrains.ReSharper.Refactorings.UseBaseType.Dependences.GraphBuilder.CreateDeclEdge(Node node, IDeclaredElement element, IProgressIndicator pi) in w:\ReSharper\Psi.Features\src\Refactorings\_Core\Src\UseBaseType\Dependencies\GraphBuilder.cs:line 76
 at JetBrains.ReSharper.Refactorings.UseBaseType.Dependences.Graph.IterateDeclNodes(Action`3 action, IProgressIndicator pi) in w:\ReSharper\Psi.Features\src\Refactorings\_Core\Src\UseBaseType\Dependencies\Graph.cs:line 196
 at JetBrains.ReSharper.Refactorings.UseBaseType.Dependences.GraphBuilder.BuildGraph(IProgressIndicator pi) in w:\ReSharper\Psi.Features\src\Refactorings\_Core\Src\UseBaseType\Dependencies\GraphBuilder.cs:line 56
 at JetBrains.ReSharper.Refactorings.UseBaseType.UseBaseTypeRefactoring.Execute(IProgressIndicator pi) in w:\ReSharper\Psi.Features\src\Refactorings\_Core\Src\UseBaseType\UseBaseTypeRefactoring.cs:line 64
 at JetBrains.ReSharper.Feature.Services.Refactorings.DrivenRefactoringConflictSearcher.<>c__DisplayClass6.<SearchConflicts>b__0() in w:\ReSharper\Psi.Features\Core\Services\_Core\Src\Refactorings\Impl\DrivenRefactoringConflictSearcher.cs:line 47
 at JetBrains.ReSharper.Psi.Transactions.PsiTransactionCookie.ExecuteConditionally(IPsiServices psiServices, Func`1 action, String commandName) in w:\ReSharper\Psi.Features\Core\Psi\_Core\Src\Transactions\PsiTransactionCookie.cs:line 93
 at JetBrains.ReSharper.Feature.Services.Refactorings.DrivenRefactoringConflictSearcher.SearchConflicts(IProgressIndicator pi, Boolean canPerformRefactoring) in w:\ReSharper\Psi.Features\Core\Services\_Core\Src\Refactorings\Impl\DrivenRefactoringConflictSearcher.cs:line 41
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.<>c__DisplayClass13.<InitPage>b__d(IProgressIndicator pi) in w:\ReSharper\Psi.Features\Core\Services\_Core\Src\Refactorings\Impl\WorkflowExecuter.cs:line 419
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi) in w:\ReSharper\Psi.Features\Core\Services\_Core\Src\Refactorings\Impl\FunctionWrapper.cs:line 37


— Outer —

— EXCEPTION #3/3 [LoggerException]
Message = “One or more errors occurred.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2017.3 EAP 4 D Build 111.0.20171031.235742-eap04d”
Data.SubProducts.#0 = “JetBrains ReSharper 2017.3 EAP 4 D Build 2017.3.20171031.235742-eap04d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave11::2c120331c971d337f6d4ab28b0bd2f9ce7a92bca

Data.VsVersion = 15.0.26228.4
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi) in w:\ReSharper\Psi.Features\Core\Services\_Core\Src\Refactorings\Impl\FunctionWrapper.cs:line 49
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi) in w:\ReSharper\Psi.Features\Core\Services\_Core\Src\Refactorings\Impl\FunctionWrapper.cs:line 49
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary) in w:\ReSharper\Platform\UIInteractive\Shell\SrcView\Progress\UITaskExecutorRun.cs:line 382
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState) in w:\ReSharper\Platform\UIInteractive\Shell\SrcView\Progress\UITaskExecutorRun.cs:line 161
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.Run(TaskThreadAffinity taskThreadAffinity, Action`1 task, Func`3 FAttachUi, ProgressIndicator indicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState) in w:\ReSharper\Platform\UIInteractive\Shell\SrcView\Progress\UITaskExecutorRun.cs:line 50
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.RefactoringsTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task) in w:\ReSharper\Psi.Features\UIInteractive\Refactorings\Src\RefactoringsTaskExecutor.cs:line 51
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.RunWithProgress[TResult](Func`2 action, String taskName, TResult& result) in w:\ReSharper\Psi.Features\Core\Services\_Core\Src\Refactorings\Impl\WorkflowExecuter.cs:line 497
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.InitPage(IRefactoringPage page) in w:\ReSharper\Psi.Features\Core\Services\_Core\Src\Refactorings\Impl\WorkflowExecuter.cs:line 419
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.NextPage(IRefactoringPage currentPage) in w:\ReSharper\Psi.Features\Core\Services\_Core\Src\Refactorings\Impl\WorkflowExecuter.cs:line 370
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.MoveToNextPage() in w:\ReSharper\Psi.Features\Core\Services\_Core\Src\Refactorings\Impl\WorkflowExecuter.cs:line 228
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.WorkflowHostWithWizardForm.<NextClick>b__5() in w:\ReSharper\Psi.Features\UIInteractive\Refactorings\Src\CommonUI\WorkflowHostWithWizardForm.cs:line 176
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 293
 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority) in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 388
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.WorkflowHostWithWizardForm.NextClick(Object sender, EventArgs e) in w:\ReSharper\Psi.Features\UIInteractive\Refactorings\Src\CommonUI\WorkflowHostWithWizardForm.cs:line 177
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.RefactoringWizardForm.myContinueButton_Click(Object sender, EventArgs e) in w:\ReSharper\Psi.Features\UIInteractive\Refactorings\Src\CommonUI\RefactoringWizardForm.cs:line 796
 at System.Windows.Forms.Control.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
 at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ButtonBase.WndProc(Message& m)
 at System.Windows.Forms.Button.WndProc(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

RSRP-470951: Waiting in FireOutgoing more than 30000 ms. Possible livelock. Breaking

$
0
0
Reporter Miguel Pinto (enchoir) Miguel Pinto (enchoir)
Created Jul 3, 2018 6:28:05 PM
Updated Oct 22, 2018 4:35:04 PM
Subsystem External Sources
Assignee Nikita Raba (nikita.raba)
Priority Show-stopper
State Open
Type Exception
Fix version No Fix versions
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 182 Hive _b33d9532 — JetBrains ReSharper Ultimate 2018.2 EAP 1 Build 182.0.20180628.124316-eap01

JetBrains dotTrace 182 Build 182.0.20180628.132215-eap01
JetBrains ReSharper 182 Build 182.0.20180628.125556-eap01
JetBrains TeamCity Add-in 182 Build 182.0.20180628.125617-eap01

Waiting in FireOutgoing more than 30000 ms. Possible livelock. Breaking

— EXCEPTION #1/1 [LoggerException]
Message = “Waiting in FireOutgoing more than 30000 ms. Possible livelock. Breaking”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = FileSystemTrackerCommit
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.2 EAP 1 Build 182.0.20180628.124316-eap01”
Data.SubProducts.#0 = “JetBrains dotTrace 182 Build 182.0.20180628.132215-eap01”
Data.SubProducts.#1 = “JetBrains TeamCity Add-in 182 Build 182.0.20180628.125617-eap01”
Data.SubProducts.#2 = “JetBrains ReSharper 182 Build 182.0.20180628.125556-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182-eap1::389b2b0a5d2b33c46224f8f1850bc61276990d1e


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

Data.VsVersion = 15.7.27703.2035
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Application.Threading.Tasks.FreeThreadedGroupingEvent.FireOutgoing(Boolean waitIfAlreadyFiring, Boolean fireIfNoIncoming)
 at JetBrains.Application.Threading.Tasks.FreeThreadedGroupingEvent.FireOutgoing(Boolean waitIfAlreadyFiring, Boolean fireIfNoIncoming)
 at JetBrains.Application.Threading.Tasks.FreeThreadedGroupingEvent.WaitAndPumpUntilNoIncoming()
 at JetBrains.ReSharper.Feature.Services.ExternalSources.Pdb.Cache.PdbCacheInvalidator.OnPossibleCacheFileChanged(ICollection`1 names)
 at JetBrains.ReSharper.Feature.Services.ExternalSources.Pdb.Cache.PdbCacheInvalidator.OnFileSystemChange(FileSystemChange change)
 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.Application.FileSystemTracker.FileSystemTrackerImpl.DispatchChange(FileSystemChange change)
 at JetBrains.Application.FileSystemTracker.FileSystemTrackerImpl.DoCommit(FileSystemPath[] paths)
 at JetBrains.Application.FileSystemTracker.FileSystemTrackerImpl.AsyncCommitThread.<CommitChanges>b__11_0()
 at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass0_1.<Queue>b__3()
 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__DisplayClass18_0.<BeginInvokeCore>b__0()
 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)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run()
 at JetBrains.Threading.JetDispatcher.<>c__DisplayClass22_1.<CreateDispatcherThread>b__1()
 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()

RSRP-80754: OutOfMemoryException

$
0
0
Reporter Ilya Ryzhenkov (orangy) Ilya Ryzhenkov (orangy)
Created Sep 16, 2008 10:30:37 AM
Updated Oct 22, 2018 4:41:15 PM
Subsystem Crash
Assignee Sergey Shkredov (serjic.shkredov)
Priority Critical
State Reopened
Type Exception
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-459217: MSTest's custom category isn't recognized if test's code is opened

$
0
0
Reporter Alexandra Kuks (Asia.Rudenko) Alexandra Kuks (Asia.Rudenko)
Created Jun 10, 2016 9:03:02 PM
Updated Oct 22, 2018 4:56:29 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Reopened
Type Bug
Fix version 2018.3
Affected versions 2016.3.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
1. open the attached solution, clean it, don't open any files in code editor
2. run all tests from solution
3. group unit test session's tree by category - the only test is in 'CustomCategory'
4. double-click on the test - its code is opened, and 'CustomCategory' node turns into '<Uncategorized>'
If at some point it becomes unreproducible, clean solution once again and restart Studio.

RSRP-471941: Code formating works even if "Keep existing arrangement of initializers" ticked

$
0
0
Reporter Sofia Byzova (Sofia.Byzova) Sofia Byzova (Sofia.Byzova)
Created Oct 22, 2018 4:58:21 PM
Updated Oct 22, 2018 4:58:21 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Repro:
  • File | Settings | Editor | Code Style | C# -> Arrangement of Initializers/Wrap object and collection initializer=Chop always
  • "Keep existing arrangement of initializers" ticked
save
insert var a = new C1 {K = 1, B = 2, C = 3}; => nothing happend and formatting is the same.
insert
A f = new A
{
g = 1, h = 1, j = 1, k = 1, lg = 1
};

after insertion you will see the following result
var f = new A
{
g = 1,
h = 1,
j = 1,
k = 1,
lg = 1
};

In the last case formatting should not be applyed until "Keep existing arrangement of initializers" unticked

RSRP-465850: MsTest TestCategories attribute is not always recognized

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Aug 14, 2017 2:30:05 PM
Updated Oct 22, 2018 5:07:35 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Reopened
Type Bug
Fix version 2018.3
Affected versions 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have a solution written in VB.NET, including 2 test projects with over 3000 tests. The solution was migrated over from VS10 to VS12 to VS15 for now. I wanted to start with one test project to switch from "the old" MSTest (Microsoft.VisualStudio.QualityTools.UnitTestFramework) to MSTest V2 (Microsoft.VisualStudio.TestPlatform.TestFramework) to be able to use Row Tests and the ability to place the TestCategory attribute at class or assembly level.

By changing one project to target MSTest V2 I saw the followng things:
  • the attributes I placed at class level are not discoverd by Resharper TestExplorer, though they are by VS TestExplorer (grouping in both by categories.)

  • after the rebuild all tests are discovered as uncategorized
  • openeing a file that is categorized at class level and changing the grouping to Project and Namespaces and back to Categories updates the test explorer and displays the, but only the opened file(s) as correctly categorized
  • when openeing a file where the category is placed at the method definition I do not have to change the grouping in test explorer. The tests in that file are immediately corretly displayed in test explorer, but also only when opened

(- reference to another issue that also occurs during this actions
-> after rebuild it happens frequently, that not all tests are discovered by resharper as mentioned here (RSRP-462731 Test runner not recognizing MSTest tests), but the refresh button is a workarouond for that most of the times)


I created a little sample solution with two test projects. One targeting MSTestV1, the other MSTestV2. The solution was created in VS 2015. I used the "Add new item" dialog and added the Unit test Project template from that. For the MSTestV2 Project, I removed the reference to the TestFramework V1, added the V2 and the Testadapter with Nuget and last added the proper references to the project.
The V2 project includes two TestClasses in separate files, one with the TestCategory-attribute (named "IntegrationTest") at class level, the othe has none.
If you now "rebuild all" the first time Resharper TestExplorer Shows everything correct.
Now remove the Attribute,
rebuild,
R# test explorer does not update.
Change "Group by:" to anything else and back,
everything is fine.

RSRP-471942: Exception while commit project level transaction: Sequence contains no elements

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 22, 2018 5:01:29 PM
Updated Oct 22, 2018 5:07:51 PM
Subsystem Platform - VS Integration
Assignee Alexander Ulitin (alexander.ulitin)
Priority Critical
State Submitted
Type Exception
Fix version No Fix versions
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 183 — JetBrains ReSharper Ultimate 2018.3 EAP 4 D Build 183.0.20181021.131310-eap04d

JetBrains dotCover 2018.3 EAP 4 D Build 2018.3.20181021.132707-eap04d
JetBrains dotMemory 2018.3 EAP 4 D Build 2018.3.20181021.210038-eap04d
JetBrains dotTrace 2018.3 EAP 4 D Build 2018.3.20181021.132715-eap04d
JetBrains ReSharper 2018.3 EAP 4 D Build 2018.3.20181021.132858-eap04d
JetBrains ReSharper C++ 2018.3 EAP 4 D Build 2018.3.20181021.210040-eap04d
JetBrains TeamCity Add-in 2018.3 EAP 4 D Build 2018.3.20181021.210045-eap04d

SubProducts.0 = JetBrains dotCover 2018.3 EAP 4 D Build 2018.3.20181021.132707-eap04d
SubProducts.1 = JetBrains dotTrace 2018.3 EAP 4 D Build 2018.3.20181021.132715-eap04d
SubProducts.2 = JetBrains ReSharper C++ 2018.3 EAP 4 D Build 2018.3.20181021.210040-eap04d
SubProducts.3 = JetBrains TeamCity Add-in 2018.3 EAP 4 D Build 2018.3.20181021.210045-eap04d
SubProducts.4 = JetBrains ReSharper 2018.3 EAP 4 D Build 2018.3.20181021.132858-eap04d
SubProducts.5 = JetBrains dotMemory 2018.3 EAP 4 D Build 2018.3.20181021.210038-eap04d

Exception while commit project level transaction: Sequence contains no elements

— EXCEPTION #1/2 [InvalidOperationException]
Message = “Sequence contains no elements”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = System.Core
StackTraceString = “
 at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocumentsNuget.Thin.NugetServicesWrapper.<>c__DisplayClass8_0.<PublishServices>g__FindExtProject|28(FileSystemPath projectFilePath)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocumentsNuget.Thin.NugetServicesWrapper.<>c__DisplayClass8_0.<PublishServices>b__26(Lifetime lifetime, ValueTuple`3 tuple)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocumentsNuget.Thin.NugetServicesWrapper.<>c__DisplayClass8_0.<PublishServices>b__26(Lifetime lifetime, ValueTuple`3 tuple)
 at JetBrains.Platform.RdFramework.Tasks.InprocRpc`2.Start(TReq request, IScheduler responseScheduler)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.NugetComPackageManager.UninstallPackage(IProject ownerModule, String id)
 at JetBrains.VsIntegration.ProjectDocuments.Transactions.Actions.VsRemovePackageAction.Commit()
 at JetBrains.DocumentManagers.Transactions.SolutionProjectDocumentTransaction.DoCommit(IDictionary`2 dirtyDocuments, IProgressIndicator pi)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Exception while commit project level transaction: Sequence contains no elements”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 4 D Build 183.0.20181021.131310-eap04d”
Data.SubProducts.#0 = “JetBrains dotCover 2018.3 EAP 4 D Build 2018.3.20181021.132707-eap04d”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.3 EAP 4 D Build 2018.3.20181021.132715-eap04d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.3 EAP 4 D Build 2018.3.20181021.210040-eap04d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.3 EAP 4 D Build 2018.3.20181021.210045-eap04d”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.3 EAP 4 D Build 2018.3.20181021.132858-eap04d”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.3 EAP 4 D Build 2018.3.20181021.210038-eap04d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183::4afbfc19f7b5ad8edd9ba3ff5254742c3e365774


Platform\VisualStudio:
    git::refs/heads/183::28ad33b6d365122f4838fc904b61bd7b3ad80821

Data.VsVersion = 14.0.25431.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.DocumentManagers.Transactions.SolutionProjectDocumentTransaction.DoCommit(IDictionary`2 dirtyDocuments, IProgressIndicator pi)
 at JetBrains.DocumentManagers.Transactions.SolutionProjectDocumentTransaction.DoCommit(IDictionary`2 dirtyDocuments, IProgressIndicator pi)
 at JetBrains.DocumentModel.Transactions.DocumentTransaction.Commit(IProgressIndicator pi)
 at JetBrains.DocumentModel.Transactions.DocumentTransactionManager.CommitTransaction(IUndoRedoHandler undoRedoHandler, IProgressIndicator pi)
 at JetBrains.DocumentModel.Transactions.DocumentTransactionManager.CommitTransaction(IProgressIndicator pi)
 at JetBrains.DocumentModel.Transactions.DocumentTransactionCookie.Commit(IProgressIndicator pi)
 at JetBrains.DocumentManagers.Transactions.ProjectModelTransactionFactory.ProjectModelTransactionCookie.Commit(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.<>c__DisplayClass42_3.<InitPage>b__2(IProjectModelTransactionCookie c)
 at JetBrains.Util.Special.GeneralUtil.IfNotNull[TInput,TResult](TInput object, Func`2 functor, TResult default)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.<>c__DisplayClass42_2.<InitPage>b__1(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.Run(TaskThreadAffinity taskThreadAffinity, Action`1 task, Func`3 FAttachUi, ProgressIndicator indicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.RefactoringsTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.RunWithProgress[TResult](Func`2 action, String taskName, TResult& result)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.InitPage(IRefactoringPage page)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.NextPage(IRefactoringPage currentPage)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.MoveToNextPage()
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.WorkflowHostWithWizardForm.<NextClick>b__18_0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.WorkflowHostWithWizardForm.NextClick(Object sender, EventArgs e)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.RefactoringWizardForm.myContinueButton_Click(Object sender, EventArgs e)
 at System.Windows.Forms.Control.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
 at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ButtonBase.WndProc(Message& m)
 at System.Windows.Forms.Button.WndProc(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

RSRP-471318: Refactor -> Adjust Namespace ignore "Namespace provider= False"

$
0
0
Reporter Julien Grossrieder (jgrossriederpro) Julien Grossrieder (jgrossriederpro)
Created Aug 30, 2018 2:21:21 PM
Updated Oct 22, 2018 5:13:26 PM
Resolved Sep 19, 2018 3:42:57 PM
Subsystem Refactorings
Assignee Lilia Shamsutdinova (Lilia.Shamsutdinova)
Priority Normal
State Incomplete
Type Bug
Fix version No Fix versions
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.6

We were using a lot the "Refactor -> Adjust namespace" when we were moving classes in the solution.

I started to notice that when adjusting the namespace, it was not taking in account the NamespaceProvider = false that I set in the 2 folders (parent and parent of the parent) properties. It still adds those two folder to the new namespace.

RSRP-471943: Namespace Provider's "False" value isn't respected for newly created subfolders until the solution is reopened

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Oct 22, 2018 5:12:31 PM
Updated Oct 22, 2018 5:36:49 PM
Subsystem Platform - Project Model
Assignee Sergey Kuks (coox)
Priority Normal
State Submitted
Type Bug
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
1st scenario
resharper will often ignore the value and apply a namespace even when the value is set to false. I have to restart VS to get it to work properly.

  • Choose a root folder (in my case a project folder named Code with Namespace Provider = False)
  • Alt-Ins -> New Folder
  • name folder "test"
  • with "test" folder selected, Alt-Ins Class
  • name class "testclass"
  • class will have namespace <ProjectName>.test
  • change value of NamespaceProvider to False on test folder, which will have defaulted to True
  • right click "test" folder and choose Refactor -> Adjust Namespaces
  • refactoring fails to detect that "test" namespace should now be removed from testclass


2nd scenario
Create few domain folders (namespace = true), fe. BusinessLogic, Configuration, Reporting. Then you create a few subfolders (namespace = false), fe. Entities, Enums, Helpers, Services, Interfaces. Try create a few new files / Try move files between folders. / Try create new folders and move files in. / Try create another subfolders of Entities where namespace provider is also disabled. The base idea is to keep the same namespace for many files within the same "domain", for example


Reproduced with 2018.3 EAP

RSRP-447320: v9.2 hides suppression code fixes in VS 2015 RTM

$
0
0
Reporter Hans van Bakel (Hans.van.Bakel) Hans van Bakel (Hans.van.Bakel)
Created Aug 21, 2015 10:22:45 PM
Updated Oct 22, 2018 5:49:16 PM
Resolved Oct 22, 2018 5:49:16 PM
Subsystem Quick Fixes
Assignee Lilia Shamsutdinova (Lilia.Shamsutdinova)
Priority Normal
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions 9.2
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
This is a follow up on RSRP-445665, this is not fixed in v9.2

Steps to reproduce:
Open VS2015 RTM
Create new project
Import: https://www.nuget.org/packages/Microsoft.CodeAnalysis.FxCopAnalyzers

Create a class with the following code:
using System;

namespace ClassLibrary1
{
public class Class1
{
public Class1()
{
try
{

}
catch (Exception ex)
{
throw ex;
}
}
}
}

When I load VS2015 RTM with Resharper disabled I get code fixes (Suppress in code with a pragma or attribute, or Suppress in separate file).

When Resharpers is enabled, the only available fix is to Rethrow the exception. But the option of suppressing this warning is gone.

See also the attached images in the previous issue.

To be complete:
JetBrains ReSharper Ultimate 2015.2 Build 103.0.20150818.200216
ReSharper 9.2.20150819.164145

Application Packages:
JetBrains Fake VisualStudio VsPackageAssembly build 14.0.0.0 on 2015-08-20 17:29:04Z.
JetBrains Platform Core Ide build 103.0.20150818.200216 on 2015-08-18 20:02:16Z.
JetBrains Platform Core Shell build 103.0.20150818.190618 on 2015-08-18 19:06:18Z.
JetBrains Platform Core Text build 103.0.20150818.200216 on 2015-08-18 20:02:16Z.
JetBrains Platform Installer build 103.0.20150818.200216 on 2015-08-18 20:02:16Z.
JetBrains Platform Interop dotMemoryUnit.Interop build 103.0.20150818.200216 on 2015-08-18 20:02:16Z.
JetBrains Platform Symbols build 103.0.20150818.200216 on 2015-08-18 20:02:16Z.
JetBrains Platform VisualStudio build 103.0.20150818.200216 on 2015-08-18 20:02:16Z.
JetBrains Psi.Features Core build 103.0.20150819.145501 on 2015-08-19 14:55:02Z.
JetBrains Psi.Features SolutionBuilder build 103.0.20150819.145501 on 2015-08-19 14:55:02Z.
JetBrains Psi.Features src build 103.0.20150819.145501 on 2015-08-19 14:55:02Z.
JetBrains Psi.Features Tasks build 103.0.20150819.145501 on 2015-08-19 14:55:02Z.
JetBrains Psi.Features UnitTesting build 103.0.20150819.145501 on 2015-08-19 14:55:02Z.
JetBrains Psi.Features VisualStudio build 103.0.20150819.145501 on 2015-08-19 14:55:02Z.
JetBrains ReSharper src build 103.0.20150819.164145 on 2015-08-19 16:41:48Z.

ReSharper 9.2 Licensed to *****.
Visual Studio 14.0.23107.0.

Copyright © 2015 JetBrains. All rights reserved.

RSRP-470170: R# Inspector reports phantom issues

$
0
0
Reporter Milan Gardian (mgardian) Milan Gardian (mgardian)
Created Jun 13, 2018 10:33:40 PM
Updated Oct 22, 2018 5:51:07 PM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Alexandra Kuks (Asia.Rudenko)
Priority Normal
State Waiting for Info
Type Bug
Fix version Backlog
Affected versions 2018.1.2
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.6

We have a large solution with 50+ projects that started reporting phantom issues in TeamCity as of R# 2018.1.2. By phantom issues I mean issues that are not reported by R# in Visual Studio (or by command-line inspection runner after clearing its cache). The problem is that clearing the cache increases the inspection time from <5 minutes to ~25 minutes.

  • R# 2018.1.2 analysis in Visual Studio 2017 finds no issues (below our severity threshold)
  • R# 2018.1.2 analysis on TeamCity 2017.2.4 when inspection cache is cleared finds no issues (below our severity threshold) - same sources as Visual Studio case above
  • R# 2018.1.2 analysis on TeamCity 2017.2.4 when inspection cache is present from previous build: reports random issues. It seems like inspection crashes for some files which leaves them incompletely analyzed which results in incorrect issue reporting.

Example crash from TeamCity build log:

[12:52:32] :	 [Step 3/3] ERROR! Invisible analysis failed with exception: c8677f85-f274-492b-b930-dcc117fb44fb(LandWorks.GIS.ToolSet.PET)-71CF9FBC[.NETFramework,Version=v4.6.1]/d:Utilities/f:LWMetesAndBoundsUtils.cs
[12:52:32]W:	 [Step 3/3] One or more errors occurred. Index was outside the bounds of the array.
[12:52:32]W:	 [Step 3/3] 
[12:52:32]W:	 [Step 3/3] --- EXCEPTION #1/3 [IndexOutOfRangeException]
[12:52:32]W:	 [Step 3/3] Message = "Index was outside the bounds of the array."
[12:52:32]W:	 [Step 3/3] ExceptionPath.1 = Root.InnerException.InnerException
[12:52:32]W:	 [Step 3/3] ExceptionPath.2 = Root.InnerException.InnerExceptions.#0
[12:52:32]W:	 [Step 3/3] ClassName = System.IndexOutOfRangeException
[12:52:32]W:	 [Step 3/3] HResult = COR_E_INDEXOUTOFRANGE=80131508
[12:52:32]W:	 [Step 3/3] Source = JetBrains.Platform.Core
[12:52:32]W:	 [Step 3/3] StackTraceString = "
[12:52:32]W:	 [Step 3/3]   at JetBrains.Text.StringBuffer.get_Item(Int32 index)
[12:52:32]W:	 [Step 3/3]      at JetBrains.Text.ProjectedBuffer.get_Item(Int32 index)
[12:52:32]W:	 [Step 3/3]      at JetBrains.Util.StringSearcher.Find(IBuffer buffer, Int32 startOffset, Int32 endOffset)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Psi.Impl.Shared.InjectedPsi.LiteralsInjectedFileContext.LiteralsInjectedElementCollector.InteriorShouldBeProcessed(ITreeNode element, HashSet`1 context)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants[TContext](ITreeNode root, IRecursiveElementProcessor`1 processor, TContext context)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessThisAndDescendants[TContext](ITreeNode root, IRecursiveElementProcessor`1 processor, TContext context)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Psi.Impl.Shared.InjectedPsi.IndependentInjectedFileContext.CollectInjectedNodes()
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Psi.Impl.Shared.InjectedPsi.IndependentInjectedFileContext.GetAllInjects()
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Psi.Files.PsiFiles.AppendInjectedFiles(IFile originalFile, Type toLanguage, IReadOnlyCollection`1 providersToBuild, LocalList`1& results)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Psi.Files.PsiFiles.<>c__DisplayClass37_1.<AppendInjectFiles>b__1(IFile domFile)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Psi.CachedPsiValue`1.GetValue[TNode](TNode element, Func`2 calculator)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Psi.Files.PsiFiles.AppendInjectFiles(IPsiSourceFile sourceFile, Type injectedLanguageType, DocumentRange range, LocalList`1& files)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles(IPsiSourceFile sourceFile, Type languageType, DocumentRange range, PsiLanguageCategories categories)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles[TLanguage](IPsiSourceFile sourceFile, PsiLanguageCategories categories)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Daemon.Css.Impl.CssDaemonStageBase.CreateProcess(IDaemonProcess process, IContextBoundSettingsStore settings, DaemonProcessKind processKind)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.RunStage(IDaemonStage stage, DaemonProcessKind processKind, Action`2 commiter, IContextBoundSettingsStore contextBoundSettingsStore, JetHashSet`1 disabledStages)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass44_2.<DoHighlighting>g__Stage4(IDaemonStage stage)
[12:52:32]W:	 [Step 3/3]      at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass22_0.<EnqueueDependentJobs>b__2()
[12:52:32]W:	 [Step 3/3]      at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
[12:52:32]W:	 [Step 3/3]      at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass33_0.<Create>b__1(Object state)
[12:52:32]W:	 [Step 3/3]      at System.Threading.Tasks.Task.Execute()
[12:52:32]W:	 [Step 3/3] "
[12:52:32]W:	 [Step 3/3] 
[12:52:32]W:	 [Step 3/3] --- Outer ---
[12:52:32]W:	 [Step 3/3] 
[12:52:32]W:	 [Step 3/3] --- EXCEPTION #2/3 [AggregateException]
[12:52:32]W:	 [Step 3/3] Message = "One or more errors occurred."
[12:52:32]W:	 [Step 3/3] ExceptionPath = Root.InnerException
[12:52:32]W:	 [Step 3/3] ClassName = System.AggregateException
[12:52:32]W:	 [Step 3/3] InnerException = "Exception #1 at Root.InnerException.InnerException"
[12:52:32]W:	 [Step 3/3] HResult = COR_E_EXCEPTION=80131500
[12:52:32]W:	 [Step 3/3] Source = JetBrains.Platform.Core
[12:52:32]W:	 [Step 3/3] InnerExceptions.#0 = "Exception #1 at Root.InnerException.InnerException"
[12:52:32]W:	 [Step 3/3] StackTraceString = "
[12:52:32]W:	 [Step 3/3]   at JetBrains.Application.Threading.Tasks.TaskBarrier.DisposeUnmanagedResources()
[12:52:32]W:	 [Step 3/3]      at JetBrains.Util.SafeDisposable.DisposeInternal()
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass44_1.<DoHighlighting>b__2()
[12:52:32]W:	 [Step 3/3]      at JetBrains.Application.Notifications.PerformanceUserNotifications.WithPerformanceNotification(TimeSpan performanceThreshold, String title, String body, Action action)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.DoHighlighting(DaemonProcessKind processKind, Action`1 commiter, IContextBoundSettingsStore contextBoundSettingsStore, Action onFastStagesCompleted)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.DoHighlighting(DaemonProcessKind processKind, Action`1 commiter, Action onFastStagesCompleted)
[12:52:32]W:	 [Step 3/3]      at JetBrains.ReSharper.Daemon.SolutionAnalysis.SolutionAnalysisServiceImpl.AnalyzeInvisibleFile(IPsiSourceFile file)
[12:52:32]W:	 [Step 3/3]      at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.<>c__DisplayClass17_0.<ExecuteSWEAUnderProgress>b__1()
[12:52:32]W:	 [Step 3/3]      at JetBrains.Util.Logging.Logger.CatchButOperationCanceledException(Action action)
[12:52:32]W:	 [Step 3/3] "
[12:52:32]W:	 [Step 3/3] 
[12:52:32]W:	 [Step 3/3] --- Outer ---
[12:52:32]W:	 [Step 3/3] 
[12:52:32]W:	 [Step 3/3] --- EXCEPTION #3/3 [LoggerException]
[12:52:32]W:	 [Step 3/3] Message = "One or more errors occurred."
[12:52:32]W:	 [Step 3/3] ExceptionPath = Root
[12:52:32]W:	 [Step 3/3] ClassName = JetBrains.Util.LoggerException
[12:52:32]W:	 [Step 3/3] InnerException = "Exception #2 at Root.InnerException"
[12:52:32]W:	 [Step 3/3] HResult = COR_E_APPLICATION=80131600
[12:52:32]W:	 [Step 3/3] StackTraceString = "
[12:52:32]W:	 [Step 3/3]   at JetBrains.Util.Logging.Logger.LogException(Exception ex)
[12:52:32]W:	 [Step 3/3]      at JetBrains.Util.Logging.Logger.CatchButOperationCanceledException(Action action)
[12:52:32]W:	 [Step 3/3]      at JetBrains.Application.Progress.ProgressIndicatorExtensions.StartStop(IProgressIndicator progress, Int32 totalWorkUnits, String taskName, Action action)
[12:52:32]W:	 [Step 3/3]      at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.ExecuteSWEAUnderProgress(IProgressIndicator progress)
[12:52:32]W:	 [Step 3/3]      at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.<ExecuteSWEA>b__16_2(IProgressIndicator indicator)
[12:52:32]W:	 [Step 3/3]      at JetBrains.Threading.ReentrancyGuard.Execute[TState,TResult](String name, TState state, Func`2 func)
[12:52:32]W:	 [Step 3/3]      at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.<>c__DisplayClass16_0.<ExecuteSWEA>b__1(IProgressIndicator progress)
[12:52:32]W:	 [Step 3/3]      at JetBrains.CommandLine.Common.Console.BatchTool.Progress.ToolTaskExecutor.ExecuteTask(String taskName, TaskCancelable cancelable, Action`1 task)
[12:52:32]W:	 [Step 3/3]      at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.ExecuteSWEA()
[12:52:32]W:	 [Step 3/3]      at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.Run(IEnumerable`1 inspectScope, IProjectFile[] files, InspectCodeOutputFormat format, Boolean useAbsolutePaths, FileSystemPath outputFile)
[12:52:32]W:	 [Step 3/3]      at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.Main(Lifetime lifetime, IThreading invocator, IComponentContainer container, IShellLocks shellLocks, ILogger logger, IInspectCodeSettings settings, IProductCommandLineArguments argumentsRaw)
[12:52:32]W:	 [Step 3/3]      at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
[12:52:32]W:	 [Step 3/3]      at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
[12:52:32]W:	 [Step 3/3]      at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[12:52:32]W:	 [Step 3/3]      at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass0_0.<.ctor>b__0()
[12:52:32]W:	 [Step 3/3]      at JetBrains.Util.Logging.Logger.Catch(Action action)
[12:52:32]W:	 [Step 3/3]      at JetBrains.Threading.JetDispatcher.Closure.Execute()
[12:52:32]W:	 [Step 3/3]      at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
[12:52:32]W:	 [Step 3/3]      at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
[12:52:32]W:	 [Step 3/3]      at System.Windows.Threading.DispatcherOperation.InvokeImpl()
[12:52:32]W:	 [Step 3/3]      at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[12:52:32]W:	 [Step 3/3]      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[12:52:32]W:	 [Step 3/3]      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[12:52:32]W:	 [Step 3/3]      at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
[12:52:32]W:	 [Step 3/3]      at System.Windows.Threading.DispatcherOperation.Invoke()
[12:52:32]W:	 [Step 3/3]      at System.Windows.Threading.Dispatcher.ProcessQueue()
[12:52:32]W:	 [Step 3/3]      at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[12:52:32]W:	 [Step 3/3]      at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[12:52:32]W:	 [Step 3/3]      at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
[12:52:32]W:	 [Step 3/3]      at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
[12:52:32]W:	 [Step 3/3]      at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[12:52:32]W:	 [Step 3/3]      at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
[12:52:32]W:	 [Step 3/3]      at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
[12:52:32]W:	 [Step 3/3]      at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
[12:52:32]W:	 [Step 3/3]      at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
[12:52:32]W:	 [Step 3/3]      at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
[12:52:32]W:	 [Step 3/3]      at JetBrains.DataFlow.Lifetimes.Using(Action`1 ?)
[12:52:32]W:	 [Step 3/3]      at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv)
[12:52:32]W:	 [Step 3/3]      at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv)
[12:52:32]W:	 [Step 3/3]      at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv)
[12:52:32]W:	 [Step 3/3]      at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams)
[12:52:32]W:	 [Step 3/3]      at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.Main(Assembly assembly, Type environmentZoneType, HostInfo hostInfo, IProductInfo productInfo, String[] args)
[12:52:32]W:	 [Step 3/3]      at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.Run[TZone,TProductInfo](String productHostShortName, String[] args)
[12:52:32]W:	 [Step 3/3]      at JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(String[] args)
[12:52:32]W:	 [Step 3/3] "

RSRP-149456: Refactoring control event handler to Inline corrupts Form Designer view

$
0
0
Reporter Arno Tolmeijer (atolmeijer) Arno Tolmeijer (atolmeijer)
Created Jan 21, 2010 10:32:11 PM
Updated Oct 22, 2018 6:13:44 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Refactoring control event handler to Inline corrupts Form Designer view. Apparently the generated code of the form designer can not be refactored the way ReSharper does.

RSRP-163872: Are helpers like "Invert if" really necessary in Debug mode?

$
0
0
Reporter Egor Malyshev (megor) Egor Malyshev (megor)
Created Feb 24, 2010 3:07:32 PM
Updated Oct 22, 2018 6:17:28 PM
Resolved Oct 22, 2018 6:17:28 PM
Subsystem Context Actions
Assignee Lilia Shamsutdinova (Lilia.Shamsutdinova)
Priority Normal
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
When a breakpoint is hit, I'm stepping into code, and this isn't probably the best time to ask if I want to invert ifs, or do anything else that distracts me from what I'm doing, right?

RSRP-461938: Runaway thread after canceling task

$
0
0
Reporter Sam Rueby (Sam.Rueby) Sam Rueby (Sam.Rueby)
Created Nov 28, 2016 4:47:02 PM
Updated Oct 22, 2018 6:19:38 PM
Resolved Oct 22, 2018 6:01:25 PM
Subsystem Refactorings
Assignee Lilia Shamsutdinova (Lilia.Shamsutdinova)
Priority Normal
State Fixed
Type Performance Problem
Fix version Unidentified prior version
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I moved a static method and R# asked me if I would like to perform automatic move refactoring which I accidentally said yes-to. But I knew nowhere uses the static method so this would be pointless, I canceled the refactor by clicking the "X" of the progress Window. You can tell the thread is still doing the work though, because Visual Studio isn't responding. It took minutes for it to finish (and the machine is not starved for resources).

JetBrains ReSharper Ultimate 2016.3 EAP 10 Build 107.0.20161124.90154-eap10
This pre-release version will expire in 26 days
dotCover 2016.3.20161124.92818-eap10
dotTrace 2016.3.20161124.93157-eap10
ReSharper 2016.3.20161124.91320-eap10
dotMemory 2016.3.20161124.92804-eap10

RSRP-174411: Refactoring External Docs

$
0
0
Reporter Hadi Hariri (hadihariri) Hadi Hariri (hadihariri)
Created Mar 29, 2010 10:29:59 AM
Updated Oct 22, 2018 6:26:11 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
When documenting API using external files, when refactoring, it should rename the external reference. Currently it only references the path in the comment:


/// <include file='xml.doc' path='MyDocs/MyMembers[@name="Test"]/*' />
class Test
{
static void Main()
{
}
}

/// <include file='xml.doc' path='MyDocs/MyMembers[@name="Test2"]/*' />
class Test2
{
public void Test()
{
}
}

If I include xml.doc in the project:

<?xml version="1.0" encoding="utf-8" ?>
<MyDocs>

<MyMembers name="Test">
<summary>
The summary for this type.
</summary>
</MyMembers>

<MyMembers name="Test2">
<summary>
The summary for this other type.
</summary>
</MyMembers>

</MyDocs>


when renaming Test in the source, it only renames the comment, not the reference in the XML doc. If it did, it would make external documentation useful!
Viewing all 106942 articles
Browse latest View live


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