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

RSRP-475472: Invalid path Invalid drive letter char location in path

$
0
0
Reporter Tatiana Kapustina (Tatiana.Kapustina) Tatiana Kapustina (Tatiana.Kapustina)
Created Jul 12, 2019, 1:48:07 PM
Updated Aug 8, 2019, 5:42:24 PM
Subsystem ASP.NET
Assignee Slava Trenogin (derigel)
Priority Normal
State Open
Type Exception
Fix version 2019.2.1
Affected versions 2019.1.3
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

ReSharperPlatformVs16 Wave 191 Hive _759a6885 — JetBrains ReSharper Ultimate 2019.1.3 Build 191.0.20190704.212735

JetBrains dotCover 2019.1.3 Build 2019.1.20190709.203515
JetBrains dotMemory 2019.1.3 Build 2019.1.20190709.203538
JetBrains dotTrace 2019.1.3 Build 2019.1.20190709.203521
JetBrains ReSharper 2019.1.3 Build 2019.1.20190704.215325
JetBrains ReSharper C++ 2019.1.3 Build 2019.1.20190704.215334
JetBrains TeamCity Add-in 2019.1.3 Build 2019.1.20190704.215325

SubProducts.0 = JetBrains dotCover 2019.1.3 Build 2019.1.20190709.203515
SubProducts.1 = JetBrains dotTrace 2019.1.3 Build 2019.1.20190709.203521
SubProducts.2 = JetBrains ReSharper C++ 2019.1.3 Build 2019.1.20190704.215334
SubProducts.3 = JetBrains TeamCity Add-in 2019.1.3 Build 2019.1.20190704.215325
SubProducts.4 = JetBrains ReSharper 2019.1.3 Build 2019.1.20190704.215325
SubProducts.5 = JetBrains dotMemory 2019.1.3 Build 2019.1.20190709.203538

Invalid path Invalid drive letter char location in path

--- EXCEPTION #1/2 [InvalidPathException]
Message = “Invalid path Invalid drive letter char location in path”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.InvalidPathException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.Core
StackTraceString = “
at JetBrains.Util.FileSystemPathParser.CanBeProvenNormalizedFast(String path, Boolean unrestrictedRelativePath)
at JetBrains.Util.FileSystemPathParser.Normalize(String path, Boolean unrestrictedRelativePath)
at JetBrains.Util.FileSystemPath.GetCanonicalPath(String path)
at JetBrains.Util.FileSystemPath.<>c.<.cctor>b__141_0(String key, Boolean canonical)
at JetBrains.Util.FileSystemPathInternByConcurrentDictionary.<>c__DisplayClass2_0.<GetOrCreate>b__0(String s)
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory)
at JetBrains.Util.FileSystemPathInternByConcurrentDictionary.GetOrCreate(String path, Boolean isPathAlreadyCanonical, Func3 createDelegate) at JetBrains.Util.FileSystemPath.Create(String path, Boolean isPathAlreadyCanonical, FileSystemPathInternStrategy internStrategy) at JetBrains.Util.FileSystemPath.Parse(String path, FileSystemPathInternStrategy internStrategy) at JetBrains.ReSharper.Feature.Services.Asp.CustomReferences.MvcViewReference.ProcessAbsoluteView(IPsiServices psiServices, String view, IProject sourceProject, IProject targetProject, ISymbolTable& symbolTableForProject) at JetBrains.ReSharper.Feature.Services.Asp.CustomReferences.MvcViewReference.GetReferenceSymbolTable(IPsiServices psiServices, String area, String controller, String view, MvcKind mvcKind, IPsiModule psiModule, Version version, FileSystemPath baseLocation) at JetBrains.ReSharper.Feature.Services.Asp.CustomReferences.MvcViewReference.GetReferenceSymbolTable(IPsiServices myPsiServices, MvcCache myCache, ITreeNode myOwner, IEnumerable1 myNames, MvcKind myMvcKind, Version Version, String name, Boolean useReferenceName)
at JetBrains.ReSharper.Feature.Services.Asp.CustomReferences.MvcViewReference2.GetReferenceSymbolTable(Boolean useReferenceName) at JetBrains.ReSharper.Feature.Services.Asp.CustomReferences.MvcUtil.ResolveWithoutCache(IMvcReference reference, Func2 resolveFilter)
at JetBrains.ReSharper.Feature.Services.Asp.CustomReferences.MvcViewReference2.ResolveWithoutCache() at JetBrains.ReSharper.Feature.Services.Razor.Mvc.Razor4LayoutReference2.ResolveWithoutCache()
at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.TreeReferenceBase1.ResolveWithoutCache(TreeReferenceBase1 reference)
at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.ResolveWithCache[T](T reference, Func2 resolveWithoutCache) at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.TreeReferenceBase1.Resolve()
at JetBrains.ReSharper.Feature.Services.Util.TextControlToPsi.GetDeclaredElements(ISolution solution, DocumentOffset documentOffset, SourceFilesMask mask, Boolean& hasPsiFilesWithOffset)
at JetBrains.ReSharper.Features.Internal.Zones.Actions.DumpZonesCacheAction.IsAvailable(IUserDataHolder cache)
at JetBrains.ReSharper.Feature.Services.ContextActions.ContextActionTableImpl.InstantiateAvailableActions(IPsiSourceFile sourceFile, IDictionary`2 providersCache, IUserDataHolder dataHolder)

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Invalid path Invalid drive letter char location in path”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool(S) #2”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2019.1.3 Build 191.0.20190704.212735”
Data.SubProducts.#0 = “JetBrains dotCover 2019.1.3 Build 2019.1.20190709.203515”
Data.SubProducts.#1 = “JetBrains dotTrace 2019.1.3 Build 2019.1.20190709.203521”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2019.1.3 Build 2019.1.20190704.215334”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2019.1.3 Build 2019.1.20190704.215325”
Data.SubProducts.#4 = “JetBrains ReSharper 2019.1.3 Build 2019.1.20190704.215325”
Data.SubProducts.#5 = “JetBrains dotMemory 2019.1.3 Build 2019.1.20190709.203538”
Data.SccRevisionEnv = “
Platform\Core\Shell:
git::refs/heads/191-eap11-rtm-2019.1.3::bd55e805e530e79025e9cb891933aba40655e5b0

Platform\VisualStudio:
git::refs/heads/191-eap11-rtm-2019.1.3::a634851eed02e22e63d63bb1f9e61e8d848c7e87

Data.VsVersion = 16.2.29021.104
Data.VsPreview = True
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.ReSharper.Feature.Services.ContextActions.ContextActionTableImpl.InstantiateAvailableActions(IPsiSourceFile sourceFile, IDictionary`2 providersCache, IUserDataHolder dataHolder)
at JetBrains.ReSharper.Intentions.Bulbs.ContextActionsProvider.CollectActions(IntentionsBulbItems intentionsBulbItems, BulbItemsCache bulbItemsCache, ITextControl textControl, Lifetime caretPositionLifetime, IPsiSourceFile psiSourceFile, Object precalculatedData)
at JetBrains.ReSharper.Intentions.Bulbs.BulbItems.<>c__DisplayClass21_0.<BuildAvailableActionsList>b__1()
at JetBrains.Application.Threading.InterruptableReadActivityThe.Work()
at JetBrains.Application.Threading.InterruptableReadActivity.DoWork()
at JetBrains.Application.Threading.InterruptableReadActivity.WorkerThreadProc()
at JetBrains.Util.Logging.Logger.Catch(Action action)
at JetBrains.Application.Threading.Tasks.TaskHostEx.<>c__DisplayClass2_0.<RunSafe>b__0()
at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass39_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 #8.JetPool(S) #2(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-473976: Accepting code completion in Razor file incorrectly formats Razor text blocks

$
0
0
Reporter Julia Anderson (jca2715) Julia Anderson (jca2715)
Created Feb 15, 2019, 4:50:59 AM
Updated Aug 8, 2019, 5:42:41 PM
Subsystem ASP.NET - Razor
Assignee Slava Trenogin (derigel)
Priority Major
State Open
Type Bug
Fix version 2019.2.1
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

Video: https://www.screencast.com/t/hPXhoj2pe

This:

...
.Selection(sel => sel.ShowCheckBoxesMode(G))
.OnSelectionChanged(@<text>
  function(e) {
	  e.component.collapseAll(-1);
	  
	  if (e.currentSelectedRowKeys.length === 1) {
		e.component.expandRow(e.currentSelectedRowKeys[0]);
	  }
  }
</text>)

is changed to this (invalid) mess:

...
.Selection(sel => sel.ShowCheckBoxesMode(GridSelectionShowCheckBoxesMode.Always))
.OnSelectionChanged(item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(System.IO.TextWriter __razor_template_writer)=>{
<text>function(e) {
  e.component.collapseAll(-1);
  
  if (e.currentSelectedRowKeys.length === 1) {
	e.component.expandRow(e.currentSelectedRowKeys[0]);
  }
}</text>
}))

It only seems to happen if you request autocomplete hints (Ctrl + Space) when you have only entered a few letters of the symbol.

Version: RD-183.5619.41
Timezone: America/New_York
Evaluation: false
Environment: RD-183.5619.41, JRE 1.8.0_152-release-1343-b26x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 2560x1440
Logs: https://dotnet-ea.services.jetbrains.com/files/so-attachments/74a51b12-1f65-42cf-aa84-b5c212783f1a/rider-logs-attachment.tar.xz

RSRP-474249: Unable to resolve views from Razor Class Libraries in .NET Core 2.1

$
0
0
Reporter Neil Martin (nmartin) Neil Martin (nmartin)
Created Dec 12, 2018, 3:40:42 PM
Updated Aug 8, 2019, 5:42:55 PM
Subsystem ASP.NET - MVC
Assignee Slava Trenogin (derigel)
Priority Normal
State Submitted
Type Bug
Fix version 2019.2.1
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

If a View or a Controller Action is defined in a Razor Class Library then the reference in the referencing Razor file (.cshtml) is flagged as an error.

For example, if I define an AccountController in a Razor Class Library with a UserIdentity action and then reference that Controller/Action from my web application code e.g.

<a asp-area="" asp-controller="Account" asp-action="UserIdentity">@User.GetFullName()</a>

Rider emits the following error Cannot resolve action 'UserIdentity'

Similarly, if I try and reference a view in my web application code that has been defined in the Razor Class Library e.g.

@{
    Layout = "_Layout";
}

Rider emits the error Cannot resolve sumbol '_Layout'. Connected to this issue, if the Razor Class Library defined layout defines one or more sections e.g.

@section Scripts {
 }

These emit the error Cannot resolve section 'Scripts' (presumably because Rider is unable to resolve the parent view).

RSRP-473924: ViewComponent `return View();` gets marked as error in an Razor UI Lib

$
0
0
Reporter Albert Weinert (der-albert.com) Albert Weinert (der-albert.com)
Created Mar 16, 2019, 8:27:29 PM
Updated Aug 8, 2019, 5:43:06 PM
Subsystem ASP.NET - Razor
Assignee Slava Trenogin (derigel)
Priority Normal
State Submitted
Type Bug
Fix version 2019.2.1
Affected versions 2018.3.4
Fixed In EAP Undefined
VsVersion VS 2017
Branch No branch
When a ViewComponent is in a SDK.Razor Project, then return View(); within the InvokeAsync() is marked es "Could not resolve view component view Default" which is a) wrong and the application is b) running fine ;) attached a screenshot.

This is also in the 2019.1 EAP 1

RSRP-33101: Add a "To Virtual" quick fix to the modifier popup.

$
0
0
Reporter Sebastian Müller (sebastian) Sebastian Müller (sebastian)
Created Dec 7, 2006, 3:59:06 PM
Updated Aug 8, 2019, 5:43:51 PM
Resolved Aug 8, 2019, 5:43:51 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Fixed
Type Feature
Fix version 2019.2
Affected versions 2018.1
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch
Almost all of my methods have the "virtual" modifier, however I always have to add it by hand, I would love to see the "to virtual" option in the action list of the modifier popup.

Either add a "to public virtual" and "to protected virtual" action or simply add a "to virtual" action, if the method is not private.

Likewise remove the "virtual" if it exists after a call to "to private".

Others would like to see a "to non-virtual", too, however I almost never see the need to remove a "virtual".

RSRP-475337: Exception analyzer window cannot show submission error

$
0
0
Reporter Igor Akhmetov (Igor.Akhmetov) Igor Akhmetov (Igor.Akhmetov)
Created Jul 5, 2019, 7:35:56 PM
Updated Aug 8, 2019, 5:44:56 PM
Subsystem Exception submitter
Assignee Arseny Chernyaev (Arseny.Chernyaev)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

Exception analyzer shows "There is an error in XML document":

19:31:16.966 |V|                               | :41                | Exception analyzer request: <request protocol="5.0"><body><RequestBody xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Product>ANY</Product><ProductVersion>192</ProductVersion><UserName>igor.akhmetov</UserName><Password>-PASSWORD-</Password><AccessToken /><Actions><RequestAction><Type>Submit</Type><Guid>fd9a7ba0-7237-483a-ab99-522a523a85b2</Guid><Parameters><RequestParameter xsi:type="ExceptionParameterWithAttachments"><Guid>6b7b3124-6942-4982-be81-14bfb3ceb43f</Guid><Summary>out of bound</Summary><Description>ReSharperPlatformVs16 Wave 192 Hive _e758ca56ReSharper — JetBrains ReSharper Ultimate 2019.2 EAP 3 D Build 192.0.20190701.0-eap03d

JetBrains ReSharper 2019.2 EAP 3 D Build 2019.2.20190701.0-eap03d
JetBrains ReSharper C++ 2019.2 EAP 3 D Build 2019.2.20190701.0-eap03d

out of bound

--- EXCEPTION #1/1 [LoggerException]
Message = “out of bound”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool(L) #2”
Data.LastExtension = “&lt;No Extension&gt;”
Data.SccRevisionShell = “&lt;there are no packages matching the criteria&gt;”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2019.2 EAP 3 D Build 192.0.20190701.0-eap03d”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 2019.2 EAP 3 D Build 2019.2.20190701.0-eap03d”
Data.SubProducts.#1 = “JetBrains ReSharper 2019.2 EAP 3 D Build 2019.2.20190701.0-eap03d”
Data.SccRevisionEnv = “
  Platform\Core\Shell,
  Platform\VisualStudio:
  	git::refs/heads/192-cpp::64e7f5ef5aa3441e2105517668124c3b9b8d12ab
”
Data.VsVersion = 16.2.29021.104
Data.VsPreview = True
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
     at JetBrains.Diagnostics.LogEx.Error(ILog this, String message)
     at JetBrains.Util.Logging.Logger.LogError(String message)
     at JetBrains.ReSharper.Psi.Cpp.CppList&lt;JetBrains::ReSharper::Psi::Cpp::Symbols::ICppFunctionOrVariableDeclaratorResolveEntity ^&gt;.set_Item(Int32 A_0, ICppFunctionOrVariableDeclaratorResolveEntity A_1) in c:\src\dotnet\psi.features\cpp\src\core\psi\src\util\containers\cpplist.h:line 285
     at JetBrains.ReSharper.Psi.Cpp.Symbols.CppUserProvidedDeductionGuide.GetUngroupedDeclarators() in c:\src\dotnet\psi.features\cpp\src\core\psi\src\symbols\cppuserprovideddeductionguide.h:line 59
     at JetBrains.ReSharper.Psi.Cpp.Daemon.CppDeclaratorAnalyzer.HighlightRedefinitionOfDefaultArgument(ICppNonAbstractDeclaratorNode declaratorNode, Declaration declarationNode, ICppDeclaratorResolveEntity entity, IHighlightingConsumer consumer) in c:\src\dotnet\psi.features\cpp\src\core\psi\src\daemon\stages\analysis\cppdeclaratoranalyzer.cpp:line 494
     at JetBrains.ReSharper.Psi.Cpp.Daemon.CppDeclaratorAnalyzer.Run(ITreeNode node, ElementProblemAnalyzerData data, IHighlightingConsumer context) in c:\src\dotnet\psi.features\cpp\src\core\psi\src\daemon\stages\analysis\cppdeclaratoranalyzer.cpp:line 315
     at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer)
     at JetBrains.ReSharper.Psi.Cpp.Daemon.CppDaemonStageProcess.VisitNode(ITreeNode element, IHighlightingConsumer consumer) in c:\src\dotnet\psi.features\cpp\src\core\psi\src\daemon\cppdaemonstage.cpp:line 129
     at JetBrains.ReSharper.Psi.Cpp.Daemon.CppFastDaemonStageProcess.VisitNode(ITreeNode element, IHighlightingConsumer consumer) in c:\src\dotnet\psi.features\cpp\src\core\psi\src\daemon\cppdaemonstage.cpp:line 220
     at JetBrains.ReSharper.Psi.Cpp.Daemon.CppDaemonStageProcessBase.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer context) in c:\src\dotnet\psi.features\cpp\src\core\psi\src\daemon\cppdaemonstagebase.cpp:line 167
     at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants[TContext](ITreeNode root, IRecursiveElementProcessor`1 processor, TContext context)
     at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessThisAndDescendants[TContext](ITreeNode root, IRecursiveElementProcessor`1 processor, TContext context)
     at JetBrains.ReSharper.Psi.Cpp.Daemon.CppDaemonStageProcess.CppProcessNodeWithDaemon.Process() in c:\src\dotnet\psi.features\cpp\src\core\psi\src\daemon\cppdaemonstage.cpp:line 44
     at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
     at JetBrains.Application.Threading.Tasks.TaskHost.&lt;&gt;c__DisplayClass39_0.&lt;Create&gt;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&amp; 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 #8.JetPool(L) #2(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.&lt;Start&gt;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()
”
</Description><Comment /><Private>false</Private><AttachmentUrls /></RequestParameter><RequestParameter xsi:type="TagParameter"><Tag>2019.2EAP3D</Tag></RequestParameter></Parameters></RequestAction></Actions><SubmitAnonymously>false</SubmitAnonymously></RequestBody></body></request>
19:31:18.544 |V| VsFloatingWindowMonitorJustVs16| :1                 | VS window activated. Handle=2E0728. “Microsoft.VisualStudio.PlatformUI.MainWindow, Microsoft.VisualStudio.Shell.UI.Internal, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”
19:31:18.573 |V|                               | :41                | Exception analyzer returned: <result protocol="2.0" value="failure"><body><ResponseBody xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ActionResults /><Errors><string>Unexpected failure: Response is not success: <result protocol="5.0" value="failure"><body><ResponseBody xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><ActionResults /><Errors><string>Failed to login to tracker. Status code BadRequest System.Net.Http.StreamContent</string></Errors></ResponseBody></body></result></string><string>Unexpected failure: {"error":"2fa_required","error_code":403,"error_description":"Resource owner OAuth 2.0 flow is possible only with application passwords for users who have two-factor authentication enabled","error_uri":"https://www.jetbrains.com/help/hub/2019.1/OAuth-2.0-Errors.html#token.2fa_required"}</string></Errors></ResponseBody></body></result>

RSRP-475791: Resharper causing Visual Studio 2019 hang

$
0
0
Reporter Adam Riddick (Adam.Riddick) Adam Riddick (Adam.Riddick)
Created Aug 6, 2019, 12:57:32 PM
Updated Aug 8, 2019, 5:49:55 PM
Resolved Aug 6, 2019, 2:48:47 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Answered
Type Performance Problem
Fix version No Fix versions
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

Visual Studio 2019 16.2.0
ReSharper Ultimate 2019.1.3 191.0.20190709

I see this issue across all the solutions I am working on, which range in size from 1 project up to ~250 and technologies from classic ASP through to .Net Core 2.2.

Is there anything I can do to resolve this on my end?

Please let me know if I can provide any additional info to help with this, thanks.

RSRP-34224: Recognizing text files during refactoring...

$
0
0
Reporter Ilya Ryzhenkov (orangy) Ilya Ryzhenkov (orangy)
Created Jan 9, 2007, 7:03:49 PM
Updated Aug 8, 2019, 5:51:01 PM
Subsystem Refactorings
Assignee Lilia Shamsutdinova (Lilia.Shamsutdinova)
Priority Normal
State To Reproduce
Type Feature
Fix version Backlog
Affected versions 2018.1
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch
This issue has been created from an NNTP article.
----

Hi,

is there a way to recognize text files (e.g. XML or any other text file belonging to my solution - I would be glad to manually define which extension is a text file, like it is possible in IDEA) during refactoring? For example when I change a class name I would love to see ReSharper check also all text file for a textual occurence of this string (like IDEA does...). So far I couldn't get it to run...
I believe in times where much classname show up in XML files this would be an important thing to do...

Of course doing an additional "Find in Files" would help but would be very annoying and error prone....

Thanks,
Sven

RSRP-474388: Review of Structural Navigation, or A Modern Solution to Code Navigation

$
0
0
Reporter Nicolas Martel (teoxysoft) Nicolas Martel (teoxysoft)
Created Apr 4, 2019, 4:30:38 PM
Updated Aug 8, 2019, 5:55:54 PM
Subsystem Navigation - Contextual
Assignee Andrey Dyatlov (Andrey.Dyatlov)
Priority Normal
State Open
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

I've been thinking a lot recently that there should be better and faster ways to navigate code with a keyboard in 2019. Vim works but it's also 'dumb' so to speak, and requires a massive commitment to learn effectively. I recently played with Structural Navigation in Rider and while I think this is a real step in the right direction, I think we shouldn't stop there. The thing I love in particular about structural navigation is that, in a sense, it uses a different 'cursor' for its movement space: it is a block selection cursor instead of a column caret cursor, meaning that each stop can cover TWO caret stops. This makes it an excellent all-purpose navigation tool because you can cover more ground, simply pressing left/right to select which 'auxiliary caret stop' to move to and begin inserting some text. The stops are also highly meaningful because the navigation works on the structure of the code (hence the name) unlike word-by-word navigation.


Seeing how useful Tab/Shift-Tab became, I got the idea to experiment by mapping Structural Navigation to ALT-LEFT/RIGHT, increasing its accessibility and usage-pattern to the same as word-by-word movement.

UPDATE: RIDER-25679 has been fixed in 2019.2, meaning it is now possible to bind dedicate actions for Structural Navigation without altering the behavior of TAB.
This required some weird rebinds (see RIDER-25679) and can be achieved this way:

- ALT-LEFT Unindent Line or Selection
- ALT-RIGHT Tab

With the following settings...

That will make ALT-LEFT/RIGHT functionally equivalent to the classic CTRL word-by-word caret navigation. After a bit of getting used to, it feels completely natural to me and works well in synergy with the other arrow key shortcuts. I also have CTRL-UP/DOWN bound to move up/down a paragraph which lets me cover medium vertical ground a bit faster, although I often use the awesome AceJump plugin for large jumps.


Now the question is what comes next for Structural Navigation?
Even though it can be done already by remapping the shortcuts, it's clear that Structural Navigation does one thing and nothing else so to speak. I think by moving structural navigation to the arrow keys and overusing it, we can notice its shortcomings by looking at how our expectations change as we use it. This is why I opened this issue, so that others may try it themselves and potentially find new directions to take it in or improvements to make in order to create a more fluid navigation tool.

For example, when stepping out of a block to only then select the whole block, it can be confusing or create this jerk motion because the user is expecting the selection to move left or right. (Although it is extremely useful, it is highlighting a problem) My brain got accustomed to the added dimension of direction with the LEFT/RIGHT arrow keys and which is missing with TAB and SHIFT. Another example: I realized this morning that ALT-LEFT/RIGHT would not stop at an error where it would have been likely for the user to enter text at:

public int Foo =>

Structural Navigation does not stop after the => even though it is pretty likely for someone to insert text and finish the statement. It could technically makes sense within the sense of "Structural Navigation" (I don't know how the structure is parsed and what are considered for structural units), or perhaps it is in fact a bug. Either way, the point is that I expected Structural Navigation to take me there, meaning that my expectations around it are slowly changing as I use it more and more aggressively. In the past I may have used my shortcut to jump between errors, but it's possible I already had my hand hovering the arrow keys. In those situations you don't really think, your hands have already pressed the keys to get you there, it's that muscle memory is fuelled by assumptions based on our expectations.

Overall I am simply pitching to Jetbrains and other users the idea of using ALT-LR as a potential modern and effective movement mechanic and to reconsider everything about Structural Navigation, or even code navigation as a whole. Perhaps the design philosophy around structural navigation should be shifted so that the "structural" part is only one aspect of a new modern style of navigation.

The "structure navigation" part itself could be more fleshed out. Currently the code is walked using a static level of granularity, unchangeable. Instead we could have access to varying levels of granularity structures, e.g. a broad structure for fast navigation and a fine-grained one such as the one currently powering Structural Navigation. This would require a predictable and intuitive switching system in order for the user to tab through the different levels of granularity without juggling and having to dedicate mental power to keeping track.

Ultimately, I think that the ultimate cover-all solution for a new navigation system could potentially completely eliminate the need for word-by-word movement. Perhaps the user may have even configured a fine-grained structure which provides stops for every camel hump part. Just imagine what is possible. Rider (and probably most Jetbrains IDEs) obviously have really strong inner representation of the source code, so why not make full use of that to create a sophisticated never seen before code navigation tool?

I've summarized my overall starting ideas below, the ball is now in your court.

1- Promote Structural Navigation to a new all-purpose code navigator.
2- Reposition the navigator to the arrow keys as a result of its promotion.
3- The navigator should identify "likely edit locations". Pay attention when Structural Navigation doesn't allow you to navigate to a location of the code you would like to type at and study how the navigator should be designed in order to allow it to move there.
4- The IDE has a very strong understanding of C# code, so it should be able to stop at every meaningful locations and not miss any, if I ever need it to.
5- Open your creativity and start to think about new ways to innovate in the realm of code navigation!

In the next few comments, I will describe my own vision of the code navigator as a starting ground along with any additional feature which could be useful.

RSRP-35296: Do not provide "Remove parameter" quick fix for last parameter of struct .ctor

$
0
0
Reporter Ilya Ryzhenkov (orangy) Ilya Ryzhenkov (orangy)
Created Feb 6, 2007, 7:10:06 PM
Updated Aug 8, 2019, 5:56:03 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Bug
Fix version Backlog
Affected versions 2018.2
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

RSRP-35910: 'Create local variable' and similar quick fixes should detect the type of the variable

$
0
0
Reporter Andrew Serebryansky (marcus23) Andrew Serebryansky (marcus23)
Created Feb 19, 2007, 1:42:04 PM
Updated Aug 8, 2019, 6:08:06 PM
Subsystem Quick Fixes - Create From Usage
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Feature
Fix version Backlog
Affected versions 2018.2
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch
Alt+Enter > Create Local Variable and friends are not as smart as Change All. If I had code like this:

g.PixelOffsetMode = PixelOffsetMode.Half;

Change All will correctly figure out that it should only suggest symbols that have a type of Graphics, because they're the only things that have a PixelOffsetMode property. But Create Local Variable isn't that smart; it just declares "object g;".

So, my request: Make Create Variable and friends be smart enough to suggest "Graphics g;" in the above code, instead of "object g;".

RSRP-472766: Unable to run xUnit tests with MS Fakes

$
0
0
Reporter Alexey Korotaev (akorotaev) Alexey Korotaev (akorotaev)
Created Dec 18, 2018, 6:24:29 PM
Updated Aug 8, 2019, 6:35:40 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.2.3
Fixed In EAP Undefined
VsVersion VS 2017
Branch No branch

An attempt to run a xUnit test with MS Fakes from ReSharper Ultimate 2018.2.3 ends up with the error "Failed to resolve profiler path from COR_PROFILER_PATH and COR_PROFILER environment variables.". The same test running from Visual Studio runner completes with no error.

Stack trace:

Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationException
Failed to resolve profiler path from COR_PROFILER_PATH and COR_PROFILER environment variables.
   at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.IntelliTraceInstrumentationProvider.ResolveProfilerPath()
   at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.IntelliTraceInstrumentationProvider.Initialize()
   at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationRuntime.InitializeUnitTestIsolationInstrumentationProvider()
   at Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.CreateContext()
   at xUnitAndFakes.UnitTest.Test() in c:\Projects\Pet\Tests\xUnitAndFakes\xUnitAndFakes\Class1.cs:line 17

Visual Studio:

Microsoft Visual Studio Enterprise 2017  (2)
Version 15.9.4
VisualStudio.15.Release/15.9.4+28307.222
Microsoft .NET Framework
Version 4.7.03056

Installed Version: Enterprise

ReSharper Version info:

JetBrains ReSharper Ultimate 2018.2.3 Build 182.0.20180912.70621
ReSharper 2018.2.20180912.160227

Application Packages:
JetBrains Platform Core Ide build 182.0.20180912.70621 on 2018-09-12 07:06:38Z rev git::refs/heads/182-eap12-2018.2.3::291c1135b6b287764887c208c7a13422c38434a8
.
JetBrains Platform Core MsBuild build 182.0.20180912.70621 on 2018-09-12 07:06:38Z rev git::refs/heads/182-eap12-2018.2.3::291c1135b6b287764887c208c7a13422c38434a8
.
JetBrains Platform Core Shell build 182.0.20180912.70144 on 2018-09-12 07:02:35Z rev git::refs/heads/182-eap12-2018.2.3::5568ce45a9672dd8997819ab37f68ac707581ebd
.
JetBrains Platform Core Text build 182.0.20180912.70621 on 2018-09-12 07:06:38Z rev git::refs/heads/182-eap12-2018.2.3::291c1135b6b287764887c208c7a13422c38434a8
.
JetBrains Platform Installer build 182.0.20180912.70621 on 2018-09-12 07:06:38Z rev git::refs/heads/182-eap12-2018.2.3::291c1135b6b287764887c208c7a13422c38434a8
.
JetBrains Platform Interop CommandLine build 182.0.20180912.70621 on 2018-09-12 07:06:38Z rev git::refs/heads/182-eap12-2018.2.3::291c1135b6b287764887c208c7a13422c38434a8
.
JetBrains Platform Interop dotMemoryUnit Framework build 182.0.20180912.70621 on 2018-09-12 07:06:38Z rev git::refs/heads/182-eap12-2018.2.3::291c1135b6b287764887c208c7a13422c38434a8
.
JetBrains Platform Interop dotMemoryUnit Interop.Console build 182.0.20180912.70621 on 2018-09-12 07:06:38Z rev git::refs/heads/182-eap12-2018.2.3::291c1135b6b287764887c208c7a13422c38434a8
.
JetBrains Platform Interop dotMemoryUnit Interop.Ide build 182.0.20180912.70621 on 2018-09-12 07:06:38Z rev git::refs/heads/182-eap12-2018.2.3::291c1135b6b287764887c208c7a13422c38434a8
.
JetBrains Platform RdProtocol build 182.0.20180912.70621 on 2018-09-12 07:06:38Z rev git::refs/heads/182-eap12-2018.2.3::291c1135b6b287764887c208c7a13422c38434a8
.
JetBrains Platform UIInteractive Ide build 182.0.20180912.70621 on 2018-09-12 07:06:38Z rev git::refs/heads/182-eap12-2018.2.3::291c1135b6b287764887c208c7a13422c38434a8
.
JetBrains Platform UIInteractive Shell build 182.0.20180912.70621 on 2018-09-12 07:06:38Z rev git::refs/heads/182-eap12-2018.2.3::291c1135b6b287764887c208c7a13422c38434a8
.
JetBrains Platform UIInteractive Text build 182.0.20180912.70621 on 2018-09-12 07:06:38Z rev git::refs/heads/182-eap12-2018.2.3::291c1135b6b287764887c208c7a13422c38434a8
.
JetBrains Platform VisualStudio build 182.0.20180912.70621 on 2018-09-12 07:06:38Z rev git::refs/heads/182-eap12-2018.2.3::291c1135b6b287764887c208c7a13422c38434a8
.
JetBrains Psi.Features Core build 182.0.20180912.155441 on 2018-09-12 15:55:04Z rev git::refs/heads/182-eap12-2018.2.3.
JetBrains Psi.Features Diagramming build 182.0.20180912.155441 on 2018-09-12 15:55:04Z rev git::refs/heads/182-eap12-2018.2.3.
JetBrains Psi.Features SolutionBuilder build 182.0.20180912.155441 on 2018-09-12 15:55:04Z rev git::refs/heads/182-eap12-2018.2.3.
JetBrains Psi.Features src build 182.0.20180912.155441 on 2018-09-12 15:55:04Z rev git::refs/heads/182-eap12-2018.2.3.
JetBrains Psi.Features Tasks build 182.0.20180912.155441 on 2018-09-12 15:55:04Z rev git::refs/heads/182-eap12-2018.2.3.
JetBrains Psi.Features UIInteractive Core build 182.0.20180912.155441 on 2018-09-12 15:55:04Z rev git::refs/heads/182-eap12-2018.2.3.
JetBrains Psi.Features UIInteractive Features build 182.0.20180912.155441 on 2018-09-12 15:55:04Z rev git::refs/heads/182-eap12-2018.2.3.
JetBrains Psi.Features UIInteractive LiveTemplates build 182.0.20180912.155441 on 2018-09-12 15:55:04Z rev git::refs/heads/182-eap12-2018.2.3.
JetBrains Psi.Features UIInteractive Refactorings build 182.0.20180912.155441 on 2018-09-12 15:55:04Z rev git::refs/heads/182-eap12-2018.2.3.
JetBrains Psi.Features UIInteractive SolutionAnalysis build 182.0.20180912.155441 on 2018-09-12 15:55:04Z rev git::refs/heads/182-eap12-2018.2.3.
JetBrains Psi.Features UIInteractive SolutionBuilder build 182.0.20180912.155441 on 2018-09-12 15:55:04Z rev git::refs/heads/182-eap12-2018.2.3.
JetBrains Psi.Features UnitTesting build 182.0.20180912.155441 on 2018-09-12 15:55:04Z rev git::refs/heads/182-eap12-2018.2.3.
JetBrains Psi.Features VisualStudio build 182.0.20180912.155441 on 2018-09-12 15:55:04Z rev git::refs/heads/182-eap12-2018.2.3.
JetBrains ReSharper Plugins ReSharperTutorials build 182.0.20180912.160227 on 2018-09-12 16:03:01Z rev git::refs/heads/182-eap12-2018.2.3::4dad29f9973cce36dfec8be3fe28edb6e17c2c31
.
JetBrains ReSharper src build 182.0.20180912.160227 on 2018-09-12 16:03:01Z rev git::refs/heads/182-eap12-2018.2.3::4dad29f9973cce36dfec8be3fe28edb6e17c2c31
.

ReSharper 2018.2.3 Free trial period is running. 10 days left
Deployment Packaging Identity: 182.0.20180912.163904
Visual Studio Enterprise 2017 (Version 15.9.28307.222, InstanceID b73bc137).
DevEnv InstallDir: “C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE”
DevEnv LocalAppData: “C:\...\AppData\Local\Microsoft\VisualStudio\15.0_b73bc137”

Copyright © 2000–2018 JetBrains. All rights reserved.

RSRP-475848: Broken resolution of types from C++/CX libs in UWP project

$
0
0
Reporter Martin Suchan (Martin.Suchan) Martin Suchan (Martin.Suchan)
Created Aug 8, 2019, 5:59:17 PM
Updated Aug 8, 2019, 6:37:02 PM
Subsystem Platform - Project Model
Assignee Sergey Kuks (coox)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2019.2
Fixed In EAP Undefined
VsVersion VS 2019 Release (16.2.0)
Branch No branch

We have large C# UWP project that consumes one big C++/CX Windows Runtime component project with hundreds of types.
With the latest ReSharper 2019.2 update resolution of types from this C++/CX project no longer works even when I rebuild the project or restart Visual Studio.
This is a major breaking bug for, because we use types from the C++/CX project in dozens of viewmodels and service files, basically everywhere.

I've attached simple repro. Just build it and open the App.xaml.cs file. You can see that the using MaingLib is displaying red, even though building the project works just fine.
Another screenshot is from our project, how it looks like with the latest ReSharper update. Those red lines are all namespaces and types from our C++/CX library.

Using Windows 10 1903, VS2019 16.2.1, ReSharper 2019.2, both ReSharper and ReSharper C++ installed.

RSRP-474260: Unable to run MSTest v2 with MS Fakes in VS 2019 Enterprise RTM

$
0
0
Reporter Rene Riedinger (rene_r) Rene Riedinger (rene_r)
Created Apr 11, 2019, 9:43:06 AM
Updated Aug 8, 2019, 6:52:10 PM
Resolved May 24, 2019, 1:12:31 AM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Fixed
Type Bug
Fix version 2019.1.2
Affected versions 2019.1, 2019.1.1
Fixed In EAP Undefined
VsVersion All Versions
Branch 191-ut-mstest-fakes

Running MSTest v2 tests with MS Fakes using the R# testrunner (R# 2019.1 EAP 5) causes the following error (red test):
With VS testrunner everything is fine!

Using VS 2017 and R# 2018.3.4 MSTest v2 tests with MS Fakes working fine with R# testrunner.

The same issue exists in VS 2017:https://youtrack.jetbrains.com/issue/RSRP-467796 and VS 2013: https://youtrack.jetbrains.com/issue/RSRP-467796 (and maybe in VS 2015 as well)

Please fix.

Error from executed test:

Initialization method MyCompany.Core.Common.Test.Utilities.Web.HttpModuleResolvingHttpModuleBehaviour.Initialize threw exception. Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationException: Failed to resolve profiler path from COR_PROFILER_PATH and COR_PROFILER environment variables..
TestCleanup method MyCompany.Core.Common.Test.Utilities.Web.HttpModuleResolvingHttpModuleBehaviour.Cleanup threw exception. System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object..
at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.IntelliTraceInstrumentationProvider.ResolveProfilerPath()
at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.IntelliTraceInstrumentationProvider.Initialize()
at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationRuntime.InitializeUnitTestIsolationInstrumentationProvider()
at Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.CreateContext()
at Microsoft.QualityTools.Testing.Fakes.ShimsContext.Create()
at MyCompany.Core.Common.Test.Utilities.Web.HttpModuleResolvingHttpModuleBehaviour.Initialize() in C:\Dev\Vie\CoreExtensions\Src\CE\v\3.11\MyCompany.Core.Common.Test\Utilities\Web\HttpModuleResolvingHttpModuleBehaviour.cs:line 61

TestCleanup Stack Trace
at Upper.Core.Common.Test.Utilities.Web.HttpModuleResolvingHttpModuleBehaviour.Cleanup() in C:\Dev\Vie\CoreExtensions\Src\CE\v\3.11\Upper.Core.Common.Test\Utilities\Web\HttpModuleResolvingHttpModuleBehaviour.cs:line 84

RSRP-44435: Suggestion for parameter names in 'Change signature' dialog (based on their types, similar to local variable declarations)

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Jun 28, 2007, 5:37:25 PM
Updated Aug 8, 2019, 7:10:35 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Feature
Fix version Backlog
Affected versions 2018.1.1
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

RSRP-475424: Failed to evaluate the data rule. Sequence contains more than one element

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jul 2, 2019, 5:44:41 PM
Updated Aug 8, 2019, 7:18:19 PM
Subsystem Platform - Project Model
Assignee Nikita Popov (poksh)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

ReSharperPlatformVs16 Wave 192 Hive _5d86f86b — JetBrains ReSharper Ultimate 2019.2 EAP 1 Build 192.0.20190627.123019-eap01

JetBrains dotCover 2019.2 EAP 1 Build 2019.2.20190629.74242-eap01
JetBrains dotMemory 2019.2 EAP 1 Build 2019.2.20190629.74304-eap01
JetBrains dotTrace 2019.2 EAP 1 Build 2019.2.20190629.74308-eap01
JetBrains ReSharper 2019.2 EAP 1 Build 2019.2.20190627.125954-eap01

SubProducts.0 = JetBrains dotCover 2019.2 EAP 1 Build 2019.2.20190629.74242-eap01
SubProducts.1 = JetBrains dotTrace 2019.2 EAP 1 Build 2019.2.20190629.74308-eap01
SubProducts.2 = JetBrains ReSharper 2019.2 EAP 1 Build 2019.2.20190627.125954-eap01
SubProducts.3 = JetBrains dotMemory 2019.2 EAP 1 Build 2019.2.20190629.74304-eap01

Failed to evaluate the data rule. Sequence contains more than one element

--- EXCEPTION #1/3 [InvalidOperationException]
Message = “Sequence contains more than one element”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.InvalidOperationException
Data.ThreadLocalDebugInfo = PriorityCommandTargetExec
HResult = COR_E_INVALIDOPERATION=80131509
Source = System.Core
StackTraceString = “
at System.Linq.Enumerable.Single[TSource](IEnumerable1 source) at JetBrains.ProjectModel.Interop.ProjectModelDescriptorDataRules.ProjectModelElementSearchDescriptorToProjectModelElement(IDataContext context) at JetBrains.Application.DataContext.DataRule1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context)
at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator)

--- Outer ---

--- EXCEPTION #2/3 [InvalidOperationException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.DataConstant = ProjectModelElement
Data.DataConstantType = “JetBrains.ProjectModel.IProjectModelElement, JetBrains.Platform.ProjectModel, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”
Data.DataRuleObject = JetBrains.Application.DataContext.DataRule`1[JetBrains.ProjectModel.IProjectModelElement]
Data.DataRulePriority = 0
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_INVALIDOPERATION=80131509

--- Outer ---

--- EXCEPTION #3/3 [LoggerException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = json
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2019.2 EAP 1 Build 192.0.20190627.123019-eap01”
Data.SubProducts.#0 = “JetBrains dotCover 2019.2 EAP 1 Build 2019.2.20190629.74242-eap01”
Data.SubProducts.#1 = “JetBrains dotTrace 2019.2 EAP 1 Build 2019.2.20190629.74308-eap01”
Data.SubProducts.#2 = “JetBrains ReSharper 2019.2 EAP 1 Build 2019.2.20190627.125954-eap01”
Data.SubProducts.#3 = “JetBrains dotMemory 2019.2 EAP 1 Build 2019.2.20190629.74304-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
git::refs/heads/192-eap1::4019dc49608e1e4a3686b5ec76cfa2b284254195

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

Data.VsVersion = 16.1.29020.237
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Diagnostics.LogEx.Error(ILog this, Exception ex, String message)
at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator)
at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant)
at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant1 dataConstant) at JetBrains.ProjectModel.DataContext.ProjectModelDataRules.ProjectElementToProjectElementsRule(IDataContext context) at JetBrains.Application.DataContext.DataRule1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context)
at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator)
at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant)
at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant1 dataConstant) at JetBrains.ProjectModel.DataContext.ProjectModelDataRules.ProjectElementsToSolution(IDataContext ctx) at JetBrains.Application.DataContext.DataRule1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context)
at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator)
at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant)
at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant1 dataConstant) at JetBrains.ProjectModel.DataContext.ProjectModelPerSolutionDataRules.<>c__DisplayClass0_0.<.ctor>b__1(IDataContext dc) at JetBrains.Application.DataContext.DataRule1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context)
at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator)
at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant)
at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant1 dataConstant) at JetBrains.Application.DataContext.ApplicationDataConstantsExtensions.TryGetComponent[T](IDataContext dataContext) at JetBrains.ReSharper.Feature.Services.Actions.ServicesActionEvaluator.Evaluate(IAction handler, EvaluatedAction result, IDataContext context) at JetBrains.Application.UI.ActionsRevised.Handlers.BoundAction.Evaluate(IDataContext context) at JetBrains.Application.UI.ActionsRevised.Handlers.ActionHandlers.Evaluate(IActionDefWithId action, IDataContext context) at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClass21_0.<Evaluate>b__0(Lifetime lifetime) at JetBrains.Lifetimes.Lifetime.Using[T](Func2 action)
at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.Evaluate(IActionDefWithId actionDef)
at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClass14_0.<PriorityCommandTargetExec>b__0()
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.PriorityCommandTargetExec(CommandID commandid, OLECMDEXECOPT cmdExecOpt)
at JetBrains.VsIntegration.Shell.Actions.Revised.VsActionManagerPriorityCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)

RSRP-475638: Collection was modified; enumeration operation may not execute.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jun 27, 2019, 7:29:12 PM
Updated Aug 8, 2019, 7:19:16 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

ReSharperPlatformVs15 Wave 192 Hive _458e6156 — JetBrains ReSharper Ultimate 2019.2 EAP 1 D Build 192.0.20190625.33341-eap01d

JetBrains ReSharper 2019.2 EAP 1 D Build 2019.2.20190625.34653-eap01d

SubProducts.0 = JetBrains ReSharper 2019.2 EAP 1 D Build 2019.2.20190625.34653-eap01d

Collection was modified; enumeration operation may not execute.

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “Collection was modified; enumeration operation may not execute.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = System.Core
StackTraceString = “
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at JetBrains.ReSharper.UnitTestFramework.DotNetCore.DotNetVsTest.LevelDbDotNetVsTestCaseMap.RemoveStaleRecords(ArtifactExplorationStarted evt) at JetBrains.Util.EventBus.Impl.EventRef1.<>c__DisplayClass3_0.<Subscribe>b__0(EventId id, TEventArgs args)
at JetBrains.Util.EventBus.Execution.SimpleExecutionMode.Execute[T](Action2 action, EventId eventId, T argument) at JetBrains.Util.EventBus.Impl.EventSubscribtionImpl1.Invoke(EventId eventId, T eventArgs)
at JetBrains.Util.EventBus.Impl.EventSubscribtionImpl`1.JetBrains.Util.EventBus.IEventSubscribtion.Invoke(EventId eventId, Object eventArgs)
at JetBrains.Util.EventBus.Impl.EventBusImpl.InvokeEventNow(EventId eventId, Object eventArgs)

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Collection was modified; enumeration operation may not execute.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool(S) #3”
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2019.2 EAP 1 D Build 192.0.20190625.33341-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2019.2 EAP 1 D Build 2019.2.20190625.34653-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
git::refs/heads/192::570c2a113c8e48dbddec733867cc01272b61a9c5

Platform\VisualStudio:
git::refs/heads/192::3efb1095ada01b03f1c7cebe66b88900af296e37

Data.VsVersion = 15.9.28307.145
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.EventBus.Impl.EventBusImpl.InvokeEventNow(EventId eventId, Object eventArgs)
at JetBrains.Util.EventBus.Impl.EventBusImpl.Invoke[T](EventId1 eventId, T args) at JetBrains.Application.EventBus.EventBusComponent.Invoke[T](EventId1 eventId, T args)
at JetBrains.Util.EventBus.EventBusExtensions.Fire[T](EventId1 eventId, IEventContext context, T args) at JetBrains.ReSharper.UnitTestFramework.Exploration.UnitTestArtifactExplorationRunner.<>c__DisplayClass9_0.<ProcessProjectCore>b__2() at JetBrains.DataFlow.Disposable.NonFinalizableDisposable.Open(Action opening) at JetBrains.DataFlow.Disposable.NonFinalizableDisposable..ctor(String id, Action opening, Action closing, Boolean bTrapExceptions, Boolean bForceCtorCallStack) at JetBrains.ReSharper.UnitTestFramework.Exploration.UnitTestArtifactExplorationRunner.<ProcessProjectCore>d__9.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at JetBrains.ReSharper.UnitTestFramework.Exploration.UnitTestArtifactExplorationRunner.ProcessProjectCore(IProject project, TargetFrameworkId targetFrameworkId, CancellationToken token) at JetBrains.ReSharper.UnitTestFramework.Exploration.UnitTestArtifactExplorationRunner.<>c__DisplayClass8_0.<ProcessProject>b__0() at System.Threading.Tasks.Task1.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 #3.JetPool(S) #3(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-475850: Unit testing output performance issue

$
0
0
Reporter Artem Bukhonov (Artem.Bukhonov) Artem Bukhonov (Artem.Bukhonov)
Created Aug 8, 2019, 7:22:44 PM
Updated Aug 8, 2019, 7:23:27 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Performance Problem
Fix version No Fix versions
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

Try to create NUnit 3 test fixture with ~30-50 tests with a 3k lines output per each test. Output must be done live via TestContext.Progress.WriteLine
UT tree processes test result very slow

Snapshot
https://drive.google.com/open?id=1DMk0rtDRJgBZJm0ZwFbdGhABHmTBod9y

RSRP-474502: "Cannot resolve symbol" error analyzing TypeScript files (Resharper 2019.1)

$
0
0
Reporter Pedro Almeida (pealmeid) Pedro Almeida (pealmeid)
Created Apr 30, 2019, 4:51:11 PM
Updated Aug 8, 2019, 7:25:32 PM
Subsystem TypeScript
Assignee Nikolay Glushakov (Nikolay.Glushakov)
Priority Normal
State To be discussed
Type Bug
Fix version No Fix versions
Affected versions 2019.1
Fixed In EAP Undefined
VsVersion VS 2017
Branch No branch

This is a copy of issue RSRP-468051 which was marked as "fixed" but I'm still getting errors. I have also updated issue RSRP-468051 with this information.

I have updated to Resharper 2019.1 but I'm still getting "cannot resolve symbol" errors when Resharper analyzes TypeScript files. I have updated the minified project at https://github.com/pealmeid/rs-test to show the error. To replicate the issue:

  • clone the repo;
  • open RSTest.sln in Visual Studio (I'm using version 15.9.11 and Resharper 2019.1);
  • let Visual Studio restore the packages;
  • open component.tsx in the text editor.

I have attached the screen I get when I do these steps. Please note that connect is not resolved, even though it is imported correctly from react-redux. As before, TypeScript is able to compile the file and the solution runs without any issues. The error only appears when Resharper analyzes the TypeScript files.

Once again, thanks for all the help.

screen capture

RSRP-47589: "There Is No Suitable Method To Override" Error: New QFix "Chose Something to Override"

$
0
0
Reporter Serge Baltic (baltic) Serge Baltic (baltic)
Created Aug 18, 2007, 3:37:45 PM
Updated Aug 8, 2019, 7:27:38 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Feature
Fix version Backlog
Affected versions 2018.2
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch
Use case: moving in a member from another class that has something to override in the base, but has a wrong name/signature. Eg in another hierarchy the same thing to override had a different name. I'd like to chose some overridable member from the base class.
Viewing all 106942 articles
Browse latest View live