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

RSRP-467718: Need separate option for using continuous indent inside initializers braces

$
0
0
Reporter Steven Coco (steevcoco) Steven Coco (steevcoco)
Created Dec 21, 2017 9:34:34 PM
Updated Oct 13, 2018 10:42:09 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Major
State Fixed In Branch
Type Usability Problem
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

The option:

Code Editing / C# / Formatting Style / Tabs, Indents, Alignments
Use Continuous line indent inside parenthesis

Does not apply to parenthesis, but DOES apply to braces in object initializers.

My desire is to use the continuous indent (2) inside wrapped parenthesis, but use one indent inside object initializers. If I turn the above option OFF, then I seem to get that behavior, but it is unclear.


RSRP-469247: Unexpected code autoformat on applying Remove braces

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Apr 12, 2018 10:45:09 PM
Updated Oct 13, 2018 11:56:09 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Submitted
Type Bug
Fix version Backlog
Affected versions 2017.3.5
Fixed In Version ReSharper Undefined
VsVersion All Versions
I've been making a small change in one method. Removed a line with if statement and it's braces with remove braces action. R# has auto-formatted the entire method for some reason.

I think this is unexpected behavior, because it produced changes in lines I didn't touch which makes tracing changes in source control reeally hard.

RSRP-427896: Code analysis is single threading (uses single core only)

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Nov 19, 2014 5:11:37 PM
Updated Oct 14, 2018 2:22:28 AM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Mikhail Senkov (micha)
Priority Major
State Fixed In Branch
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Multithreading would definitely provide a major performance improvement. Especially at continuous integration servers like the ones we’re using, featuring 24 cores and code inspections taking more than 10 minutes after cache has been build.

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

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jul 4, 2018 11:52:42 AM
Updated Oct 14, 2018 5:46:07 AM
Subsystem Context Actions
Assignee Alexander Shvedov (shvedov)
Priority Critical
State Submitted
Type Exception
Fix version 2018.3
Affected versions No Affected versions
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

SubProducts.0 = JetBrains dotTrace 182 Build 182.0.20180628.132215-eap01
SubProducts.1 = JetBrains ReSharper 182 Build 182.0.20180628.125556-eap01
SubProducts.2 = JetBrains dotMemory 182 Build 182.0.20180628.132247-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.ReSharper.Intentions.CSharp
StackTraceString = “
 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.IfToGuardClauseAction.GetSwitchSectionByTopLevelStatement(IIfStatement ifStatement)
 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.IfToGuardClauseAction.GetSwitchSectionByTopLevelStatement(IIfStatement ifStatement)
 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.IfToGuardClauseAction.IsAvailable(IUserDataHolder cache)
 at JetBrains.ReSharper.Feature.Services.ContextActions.ContextActionTableImpl.InstantiateAvailableActions(IPsiSourceFile sourceFile, IDictionary`2 providersCache, IUserDataHolder dataHolder)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
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 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.ReSharper.Feature.Services.ContextActions.ContextActionTableImpl.InstantiateAvailableActions(IPsiSourceFile sourceFile, IDictionary`2 providersCache, IUserDataHolder dataHolder)
 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__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 #2.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__19_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-471833: The execution context must be guarded from reentrancy in order to execute this action.

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Oct 14, 2018 11:09:46 AM
Updated Oct 14, 2018 11:19:16 AM
Subsystem No Subsystem
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Submitted
Type Exception
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _a49c12b7ReSharper — JetBrains ReSharper Ultimate 2018.3 EAP 3 D Build 183.0.20181010.0-eap03d

JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d
JetBrains TeamCity Add-in 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d

The execution context must be guarded from reentrancy in order to execute this action.

— EXCEPTION #1/2 [InvalidOperationException]
Message = “The execution context must be guarded from reentrancy in order to execute this action.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.IsExecuting = False
Data.CurrentActionName = <null>
Data.CanExecuteNow = True
Data.IsEmpty = True
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.Core
StackTraceString = “
 at JetBrains.Threading.ReentrancyGuard.AssertGuarded()
 at JetBrains.Threading.ReentrancyGuard.AssertGuarded()
 at JetBrains.Application.Shell.AssertShellLocksAreGuarded.<>c__DisplayClass0_1.<.ctor>b__0()
 at JetBrains.Application.Threading.ContentModelReadWriteLock.FireBeforeAcquiringReadLock()


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “The execution context must be guarded from reentrancy in order to execute this action.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 3 D Build 183.0.20181010.0-eap03d”
Data.SubProducts.#0 = “JetBrains TeamCity Add-in 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d”
Data.SubProducts.#1 = “JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/183::0b3e89e5377324113aad05d001883c846e4a6040

Data.VsVersion = 15.8.28010.2041
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message)
 at JetBrains.Util.Logging.Logger.LogException(Exception ex)
 at JetBrains.Application.Threading.ContentModelReadWriteLock.FireBeforeAcquiringReadLock()
 at JetBrains.Application.Threading.ContentModelReadWriteLock.AcquireReadLock()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.ReSharper.Resources.Shell.ReadLockCookie.Execute(Action action)
 at JetBrains.ReSharper.Feature.Services.UI.CompletionPicker.DeclaredElementChooser.<InitCompletion>b__23_1(InOutEventArgs`2 args)
 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.PsiFeatures.UIInteractive.Core.CompletionPicker.CompletionPickerEdit.ExecuteCompletionListItem(JetPopupMenuItem item)
 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.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.UI.Controls.JetPopupMenu.Detail.JetPopupMenuDoc.ExecuteSelectedItem()
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuMainpartView.OnMouseUp(MouseEventArgs e)
 at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuMainpartView.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)
 at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
 at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
 at System.Windows.Window.ShowHelper(Object booleanBox)
 at System.Windows.Window.Show()
 at System.Windows.Window.ShowDialog()
 at JetBrains.Application.UI.WindowManagement.ShellWindowUtil.ShowDialog(Window window, IWin32Window ownerwin)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.Placeholders.PlaceholderEditorManager.CreatePlaceholder(ISolution solution, IEnumerable`1 placeholders, PsiLanguageType language, IWin32Window owner)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.PlaceholdersCollection.AddPlaceholder()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.PlaceholdersCollection.<InitView>b__23_0(Object o, EventArgs args)
 at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
 at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
 at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
 at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
 at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
 at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
 at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
 at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
 at System.Windows.Forms.ToolStrip.WndProc(Message& m)
 at JetBrains.UI.Controls.StripEx.ToolStripEx.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-471837: Build in Rider fails (works fine with dotnet build), if a ProjectReference points to a project that's not listed in the solution

$
0
0
Reporter Felix Berman (felixberman76gmailcom) Felix Berman (felixberman76gmailcom)
Created Oct 13, 2018 2:59:58 PM
Updated Oct 14, 2018 11:33:32 AM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Major
State Submitted
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Version: RD-182.4231.496
Timezone: Asia/Jerusalem
Evaluation: false
Environment: RD-182.4231.496, JRE 1.8.0_152-release-1248-b8x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920x1080

RSRP-471838: Call in VB is not found when it is chained to ctor creation

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Oct 14, 2018 12:03:44 PM
Updated Oct 14, 2018 12:03:44 PM
Subsystem Structured Patterns (SSR)
Assignee Vadim Lomshakov (Vadim.Lomshakov)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Imports ConsoleApp2

Module Module1
Sub Main()
Call New Foo().ObsoleteMethod(4) ' not found by SSR
End Sub
End Module

Imports ConsoleApp2

Module Module1
Sub Main()
Dim foo = New Foo()
Call foo.ObsoleteMethod(4) ' found
End Sub
End Module

C# Source
namespace ConsoleApp2
{
public class Foo
{
public int ObsoleteMethod(int x)
{
return 42 + x;
}

public int ModernMethod()
{
return 42;
}
}
}

RSRP-471834: The given span is on an invalid buffer.Spans must be generated against the view model's edit buffer Parameter name: span

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Oct 14, 2018 11:12:51 AM
Updated Oct 14, 2018 12:13:33 PM
Subsystem Platform - VS Integration
Assignee Denis Korneev (Denis.Korneev)
Priority Show-stopper
State Submitted
Type Exception
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _a49c12b7ReSharper — JetBrains ReSharper Ultimate 2018.3 EAP 3 D Build 183.0.20181010.0-eap03d

JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d
JetBrains TeamCity Add-in 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d

The given span is on an invalid buffer.Spans must be generated against the view model's edit buffer Parameter name: span

— EXCEPTION #1/2 [ArgumentException]
Message = “The given span is on an invalid buffer.Spans must be generated against the view model's edit buffer”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentException
HResult = E_INVALIDARG=COR_E_ARGUMENT=80070057
Source = Microsoft.VisualStudio.Platform.VSEditor
ParamName = span
StackTraceString = “
 at Microsoft.VisualStudio.Text.Outlining.OutliningManager.EnsureValid(SnapshotSpan span)
 at Microsoft.VisualStudio.Text.Outlining.OutliningManager.EnsureValid(SnapshotSpan span)
 at Microsoft.VisualStudio.Text.Outlining.OutliningManager.ExpandAllInternal(Boolean removalPending, SnapshotSpan span, Predicate`1 match)
 at Microsoft.VisualStudio.Text.Outlining.OutliningManager.ExpandAll(SnapshotSpan span, Predicate`1 match)
 at JetBrains.Platform.VisualStudio.SinceVs10.Interop.Extension.TextControl.IWpfTextViewEx.EnsureOutliningExpanded(IWpfTextView view, SnapshotSpan span, IOutliningManagerService outliningManagerService)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.VsTextControlScrollingDevTen.<>c__DisplayClass9_1.<JetBrains.TextControl.ITextControlScrolling.ScrollTo>b__0()
 at JetBrains.Util.Logging.Logger.Catch(Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “
The given span is on an invalid buffer.Spans must be generated against the view model's edit buffer
Parameter name: span

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 3 D Build 183.0.20181010.0-eap03d”
Data.SubProducts.#0 = “JetBrains TeamCity Add-in 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d”
Data.SubProducts.#1 = “JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/183::0b3e89e5377324113aad05d001883c846e4a6040

Data.VsVersion = 15.8.28010.2041
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message)
 at JetBrains.Util.Logging.Logger.LogException(Exception ex)
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.VsTextControlScrollingDevTen.JetBrains.TextControl.ITextControlScrolling.ScrollTo(ITextControlPos position, TextControlScrollType scrolltype)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchForm.set_Pattern(IStructuralSearchPattern value)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchForm.InitializeData(Boolean showRecentSearch)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchForm..ctor(Lifetime lifetime, ISolution solution, ISearchDomainContext searchDomainContext, StructuralSearchEngine engine, PsiProjectFileTypeCoordinator psiProjectFileTypeCoordinator, IWin32Window ownerwin, IWindowBranding windowBranding, IThreading invocator, FormValidators formValidators, IWindowsHookManager windowsHookManager, IDocumentMarkupManager documentMarkupManager, PlaceholderEditorManager placeholderEditorManager, IUIApplication environment, ILanguages languages, LanguageManager languageManager, Boolean showRecentSearch, Boolean isShownFromOptions)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchActionManager.SearchAction(IDataContext context)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchSearchAction.Execute(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExecutableActionEvaluator.Execute(IAction action, IReadOnlyCollection`1 allActions, IDataContext dataContext)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements()
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_1.<PrepareRequirementsAsync>b__0()
 at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute()
 at JetBrains.ReSharper.Features.Navigation.Core.Occurrences.ActionOccurrence.<>c__DisplayClass16_0.<Navigate>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ)
 at JetBrains.ReSharper.Features.Navigation.Core.Occurrences.ActionOccurrence.Navigate(ISolution solution, PopupWindowContextSource windowContext, Boolean transferFocus, TabOptions tabOptions)
 at JetBrains.ReSharper.Feature.Services.Navigation.Goto.Controllers.GotoActionController.<>c__DisplayClass11_0.<ExecuteItem>b__0()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Application.Threading.IShellLocksEx.<>c__DisplayClass5_0.<ExecuteOrQueueReadLock>b__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)

RSRP-471836: The supplied SnapshotPoint is on an incorrect snapshot.

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Oct 14, 2018 11:12:56 AM
Updated Oct 14, 2018 12:13:43 PM
Subsystem Platform - VS Integration
Assignee Denis Korneev (Denis.Korneev)
Priority Show-stopper
State Submitted
Type Exception
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _a49c12b7ReSharper — JetBrains ReSharper Ultimate 2018.3 EAP 3 D Build 183.0.20181010.0-eap03d

JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d
JetBrains TeamCity Add-in 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d

The supplied SnapshotPoint is on an incorrect snapshot.

— EXCEPTION #1/2 [ArgumentException]
Message = “The supplied SnapshotPoint is on an incorrect snapshot.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentException
HResult = E_INVALIDARG=COR_E_ARGUMENT=80070057
Source = Microsoft.VisualStudio.Platform.VSEditor
StackTraceString = “
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.ValidateBufferPosition(SnapshotPoint bufferPosition)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.ValidateBufferPosition(SnapshotPoint bufferPosition)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.DisplayTextLineContainingBufferPosition(SnapshotPoint bufferPosition, Double verticalDistance, ViewRelativePosition relativeTo, Nullable`1 viewportWidthOverride, Nullable`1 viewportHeightOverride)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.DisplayTextLineContainingBufferPosition(SnapshotPoint bufferPosition, Double verticalDistance, ViewRelativePosition relativeTo)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.VsTextControlScrollingDevTen.JetBrains.TextControl.ITextControlScrolling.ScrollTo(ITextControlPos position, TextControlScrollType scrolltype)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “The supplied SnapshotPoint is on an incorrect snapshot.”
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 3 D Build 183.0.20181010.0-eap03d”
Data.SubProducts.#0 = “JetBrains TeamCity Add-in 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d”
Data.SubProducts.#1 = “JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/183::0b3e89e5377324113aad05d001883c846e4a6040

Data.VsVersion = 15.8.28010.2041
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message)
 at JetBrains.Util.Logging.Logger.LogException(Exception ex)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.VsTextControlScrollingDevTen.JetBrains.TextControl.ITextControlScrolling.ScrollTo(ITextControlPos position, TextControlScrollType scrolltype)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchForm.set_Pattern(IStructuralSearchPattern value)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchForm.InitializeData(Boolean showRecentSearch)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchForm..ctor(Lifetime lifetime, ISolution solution, ISearchDomainContext searchDomainContext, StructuralSearchEngine engine, PsiProjectFileTypeCoordinator psiProjectFileTypeCoordinator, IWin32Window ownerwin, IWindowBranding windowBranding, IThreading invocator, FormValidators formValidators, IWindowsHookManager windowsHookManager, IDocumentMarkupManager documentMarkupManager, PlaceholderEditorManager placeholderEditorManager, IUIApplication environment, ILanguages languages, LanguageManager languageManager, Boolean showRecentSearch, Boolean isShownFromOptions)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchActionManager.SearchAction(IDataContext context)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchSearchAction.Execute(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExecutableActionEvaluator.Execute(IAction action, IReadOnlyCollection`1 allActions, IDataContext dataContext)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements()
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_1.<PrepareRequirementsAsync>b__0()
 at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute()
 at JetBrains.ReSharper.Features.Navigation.Core.Occurrences.ActionOccurrence.<>c__DisplayClass16_0.<Navigate>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ)
 at JetBrains.ReSharper.Features.Navigation.Core.Occurrences.ActionOccurrence.Navigate(ISolution solution, PopupWindowContextSource windowContext, Boolean transferFocus, TabOptions tabOptions)
 at JetBrains.ReSharper.Feature.Services.Navigation.Goto.Controllers.GotoActionController.<>c__DisplayClass11_0.<ExecuteItem>b__0()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Application.Threading.IShellLocksEx.<>c__DisplayClass5_0.<ExecuteOrQueueReadLock>b__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)

RSRP-471835: span is not of the ITextView's TextSnapshot

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Oct 14, 2018 11:13:01 AM
Updated Oct 14, 2018 12:13:56 PM
Subsystem Platform - VS Integration
Assignee Denis Korneev (Denis.Korneev)
Priority Show-stopper
State Submitted
Type Exception
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _a49c12b7ReSharper — JetBrains ReSharper Ultimate 2018.3 EAP 3 D Build 183.0.20181010.0-eap03d

JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d
JetBrains TeamCity Add-in 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d

span is not of the ITextView's TextSnapshot

— EXCEPTION #1/2 [ArgumentException]
Message = “span is not of the ITextView's TextSnapshot”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentException
HResult = E_INVALIDARG=COR_E_ARGUMENT=80070057
Source = Microsoft.VisualStudio.Platform.VSEditor
StackTraceString = “
 at Microsoft.VisualStudio.Text.Editor.Implementation.DefaultViewScroller.EnsureSpanVisible(VirtualSnapshotSpan span, EnsureSpanVisibleOptions options)
 at Microsoft.VisualStudio.Text.Editor.Implementation.DefaultViewScroller.EnsureSpanVisible(VirtualSnapshotSpan span, EnsureSpanVisibleOptions options)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.VsTextControlScrollingDevTen.<>c__DisplayClass9_2.<JetBrains.TextControl.ITextControlScrolling.ScrollTo>b__8()
 at JetBrains.Util.Logging.Logger.Catch(Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “span is not of the ITextView's TextSnapshot”
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 3 D Build 183.0.20181010.0-eap03d”
Data.SubProducts.#0 = “JetBrains TeamCity Add-in 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d”
Data.SubProducts.#1 = “JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/183::0b3e89e5377324113aad05d001883c846e4a6040

Data.VsVersion = 15.8.28010.2041
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message)
 at JetBrains.Util.Logging.Logger.LogException(Exception ex)
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.VsTextControlScrollingDevTen.<>c__DisplayClass9_1.<JetBrains.TextControl.ITextControlScrolling.ScrollTo>b__1(EnsureSpanVisibleOptions opt)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.VsTextControlScrollingDevTen.JetBrains.TextControl.ITextControlScrolling.ScrollTo(ITextControlPos position, TextControlScrollType scrolltype)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchForm.set_Pattern(IStructuralSearchPattern value)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchForm.InitializeData(Boolean showRecentSearch)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchForm..ctor(Lifetime lifetime, ISolution solution, ISearchDomainContext searchDomainContext, StructuralSearchEngine engine, PsiProjectFileTypeCoordinator psiProjectFileTypeCoordinator, IWin32Window ownerwin, IWindowBranding windowBranding, IThreading invocator, FormValidators formValidators, IWindowsHookManager windowsHookManager, IDocumentMarkupManager documentMarkupManager, PlaceholderEditorManager placeholderEditorManager, IUIApplication environment, ILanguages languages, LanguageManager languageManager, Boolean showRecentSearch, Boolean isShownFromOptions)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchActionManager.SearchAction(IDataContext context)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchSearchAction.Execute(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExecutableActionEvaluator.Execute(IAction action, IReadOnlyCollection`1 allActions, IDataContext dataContext)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements()
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_1.<PrepareRequirementsAsync>b__0()
 at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute()
 at JetBrains.ReSharper.Features.Navigation.Core.Occurrences.ActionOccurrence.<>c__DisplayClass16_0.<Navigate>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ)
 at JetBrains.ReSharper.Features.Navigation.Core.Occurrences.ActionOccurrence.Navigate(ISolution solution, PopupWindowContextSource windowContext, Boolean transferFocus, TabOptions tabOptions)
 at JetBrains.ReSharper.Feature.Services.Navigation.Goto.Controllers.GotoActionController.<>c__DisplayClass11_0.<ExecuteItem>b__0()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Application.Threading.IShellLocksEx.<>c__DisplayClass5_0.<ExecuteOrQueueReadLock>b__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)

RSRP-471839: Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

$
0
0
Reporter Ivan Serduk (IvanSerduk) Ivan Serduk (IvanSerduk)
Created May 14, 2018 11:36:40 AM
Updated Oct 14, 2018 2:51:09 PM
Subsystem Structured Patterns (SSR)
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Submitted
Type Exception
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 182 Hive _138bc0bdReSharper — JetBrains ReSharper Ultimate 2018.2 EAP 0 D Build 182.0.20180514.73246-eap00d

JetBrains ReSharper 2018.2 EAP 0 D Build 2018.2.20180514.73246-eap00d

Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

— EXCEPTION #1/1 [LoggerException]
Message = “Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie”
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.2 EAP 0 D Build 182.0.20180514.73246-eap00d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.2 EAP 0 D Build 2018.2.20180514.73246-eap00d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/182-duke-bugfix::103473c68ddff7bf3f421e12d001575cd56dde96

Data.VsVersion = 15.7.27703.2000
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.Logging.LogEx.Error(ILog this, String message)
 at JetBrains.Util.Logging.Logger.LogError(String message)
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.Util.Logging.Logger.Assert(Boolean condition, String message)
 at JetBrains.ReSharper.Psi.CompilationContextCookie.GetContext()
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.StructuralSearchActionManager.DoSearch(StructuralSearchRequest request)
 at JetBrains.PsiFeatures.UIInteractive.Features.StructuralSearch.Daemon.CustomPatternsView.SearchNowButtonClick(Object sender, RoutedEventArgs e)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
 at System.Windows.Controls.Primitives.ButtonBase.OnClick()
 at System.Windows.Controls.Button.OnClick()
 at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
 at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
 at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
 at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
 at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
 at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
 at System.Windows.Input.InputManager.ProcessStagingArea()
 at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
 at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
 at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
 at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
 at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
 at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
 at System.Windows.Window.ShowHelper(Object booleanBox)
 at System.Windows.Window.Show()
 at System.Windows.Window.ShowDialog()
 at JetBrains.Application.UI.WindowManagement.ShellWindowUtil.ShowDialog(Window window, IWin32Window ownerwin)
 at JetBrains.UI.Extensions.WindowUtil.<>c__DisplayClass15_2.<ShowDialogWithGuardedCreation>b__5()
 at JetBrains.Application.UI.Components.UIApplication.ApplicationModalStateEx.<>c__DisplayClass0_0`1.<WithModalState>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
 at JetBrains.Application.UI.Components.UIApplication.ApplicationModalStateEx.WithModalState[T](IApplicationModalState appModalState, Func`1 modalAction)
 at JetBrains.UI.Extensions.WindowUtil.ShowDialogWithGuardedCreation(Lifetime lifetime, WindowModality modality, Func`3 FCreateView, IThreading threading, Object ownerwindow, IApplicationModalState applicationModalState)
 at JetBrains.UI.Extensions.WindowUtil.<>c__DisplayClass15_0.<ShowDialogWithGuardedCreation>b__1()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Application.Threading.IThreadingEx.<>c__DisplayClass13_1.<ExecuteOrQueueWhenNotGuarded>b__4()
 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)

RSRP-471840: Runtime Error

$
0
0
Reporter NN __ (NN) NN __ (NN)
Created Oct 14, 2018 3:15:13 PM
Updated Oct 14, 2018 3:23:19 PM
Resolved Oct 14, 2018 3:23:19 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Duplicate
Type Bug
Fix version No Fix versions
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
---------------------------
ReSharper – Runtime Error – Technical Data
---------------------------
JetBrains ReSharper has encountered a runtime error.
Technical data follows.
Hint: Ctrl+C copies the text of system message boxes to Clipboard.
________________________________________________________________

The lifetime has already been terminated. Object name: 'Lifetime'.



--- EXCEPTION #1/2 [ObjectDisposedException]

Message = “The lifetime has already been terminated.”

ExceptionPath = Root.InnerException

ClassName = System.ObjectDisposedException

HResult = COR_E_OBJECTDISPOSED=80131622

Source = JetBrains.Platform.RdCore

ObjectName = Lifetime

StackTraceString = “

at JetBrains.DataFlow.Lifetime.ReportTerminatedLifetime(String sAnotherLifetimeRelation)

at JetBrains.DataFlow.Lifetime.AttachNested(LifetimeDefinition defNested, Boolean isPossiblyAlreadyTerminated)

at JetBrains.DataFlow.Lifetimes.CreateIntersection2(ILog logger, Lifetime[] lifetimes)

at JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(Lifetime lifetimeQueue, String name, Action F)

at JetBrains.VsIntegration.TextControl.VsTextControlCommon.SyncToVsUnguarded()

at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.VsTextControlScrollingDevTen.<>c__DisplayClass7_0.<InitEvents>b__0(Object sender, EventArgs args)

at System.EventHandler.Invoke(Object sender, EventArgs e)

at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.OnSizeChanged(Object sender, SizeChangedEventArgs e)

at System.Windows.SizeChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)

at System.Windows.FrameworkElement.OnRenderSizeChanged(SizeChangedInfo sizeInfo)

at System.Windows.ContextLayoutManager.fireSizeChangedEvents()

at System.Windows.ContextLayoutManager.UpdateLayout()

at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)

at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()

at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()

at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)

at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)

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)





--- Outer ---



--- EXCEPTION #2/2 [LoggerException]

Message = “

The lifetime has already been terminated.

Object name: 'Lifetime'.



ExceptionPath = Root

ClassName = JetBrains.Util.LoggerException

Data.ManagedThreadName = <NULL>

InnerException = “Exception #1 at Root.InnerException”

HResult = COR_E_APPLICATION=80131600

StackTraceString = “

at JetBrains.Application.Environment.HostParameters.InitStdWindowsAppFxHostMixin.<>c__DisplayClass0_0.<JetBrains.Application.Environment.HostParameters.IInitAppHostMixin.InitHost>b__0(Object sender, DispatcherUnhandledExceptionEventArgs args)

at System.Windows.Threading.DispatcherUnhandledExceptionEventHandler.Invoke(Object sender, DispatcherUnhandledExceptionEventArgs e)

at System.Windows.Threading.Dispatcher.CatchException(Exception e)

at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)

at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)

at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

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)




---------------------------
OK
---------------------------

RSRP-471841: Resharper test runner changes ServicePointManager.SecurityProtocol to non-default value

$
0
0
Reporter Oskar Berggren (Oskar.Berggren) Oskar Berggren (Oskar.Berggren)
Created Oct 14, 2018 4:04:00 PM
Updated Oct 14, 2018 4:04:00 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 Version ReSharper Undefined
VsVersion All Versions

Environment

Windows 7 with .Net 4.7.2 installed. The registry settings to enable strong crypto and TLS 1.1 and TLS 1.2 by default have not been set. Per MS documentation, we therefore expect the default enabled security protocols be SSL3 and TLS 1.0.

Problem

It seems the Resharper test runner will change the value of ServicePointManager.SecurityProtocol to include TLS 1.2 even on systems where that was not included by default. This can cause test failures that doesn't occur when using NUnit's own test runner which doesn't modify ServicePointManager.SecurityProtocol.

I was able to run these test cases on 2018-07-17 with the Reshaper I had at the time, which was a fairly recent version but might not have been the absolute latest version.

When testing this week, with Resharper 2018.2.3, it suddenly fails and after FAR too many hours spent investigating why it fails, and why it doesn't behave as MS documentation seems too indicate (regarding default values), it seems that the culprit is Resharper's test runner.

To avoid confusion, I think Resharper should not adjust ServicePointManager.SecurityProtocol in processes used to run the developer's own code, such as test cases.

Background

I have system tests that target .Net 4.0 that needs to talk to a third-party server over SSL/TLS. The server agrees to use TLS 1.2 if the connecting client suggests it, but it has a really old certificate that uses MD5 as signature algorithm. The vendor is currently not able to replace this, and it's in any case only used for testing purposes and not widely available so the relative insecurity doesn't matter much.

However, if the .Net-based client test case is allowed to attempt use of TLS 1.2, the server will agree but then the client will abort the connection. This is because .Net uses sChannel, and sChannel will, at least in some circumstances, reject MD5 signed server certificates when TLS 1.2 is in use. This behaviour also occurs in IE11, since that also uses sChannel. IE11 will, however, then retry with TLS 1.0 which .Net will not do on it's own.

For an application targeting .Net 4.0 we observe:

  • When run as console application, or in NUnit's test runner (v2.6.4), the default value of ServicePointManager.SecurityProtocol will be 0x0F0, which means SSL 3 and TLS 1.0.
    It will successfully connect to the server using TLS 1.0. If we manually enable TLS 1.2 in ServicePointManager.SecurityProtocol, it will attempt to use TLS 1.2 and fail.

  • The same application run in Resharper's test runner will indicate the initial value of ServicePointManager.SecurityProtocol as 0xFC0, which means TLS 1.0, 1.1 and 1.2.
    Therefore the application will attempt to use TLS 1.2 and fail.

If we compile the same application for targeting .Net 4.7.2 (and NUnit 3.11) we observe

  • When run as console application, the default value of ServicePointManager.SecurityProtocol will be 0x000, which means "System default".
    Because we haven't enabled TLS 1.2 in the registry, we expect this to effectively mean SSL 3 and TLS 1.0, which seems to be confirmed by the fact that the test
    succeeds. Again, if we manually set ServicePointManager.SecurityProtocol to something involving TLS 1.2, it will attempt to use TLS 1.2 and fail.

  • When run in Resharper's test runner it will also indicate the initial value of ServicePointManager.SecurityProtocol as 0x000, which means "System default". The test
    then effectively uses TLS 1.0 and succeeds.

Reproducing

The following test case can be used to print the value of ServicePointManager.SecurityProtocol as soon as control is handed to the actual test code:

[TestFixture]
public class SslTests
{
    [Test]
    public void PrintAllowedSecurityProtocols()
    {
        Console.WriteLine("Allowed security protocols: {0} ({1:X})",
            ServicePointManager.SecurityProtocol,
            (int)ServicePointManager.SecurityProtocol);
    }
}

Output I get:

.Net 4.0 target, NUnit 2.6.4, NUnit test runner: Allowed security protocols: Ssl3, Tls (F0)
.Net 4.0 target, NUnit 2.6.4, Reshaper test runner: Allowed security protocols: Tls, Tls11, Tls12 (FC0)

RSRP-463124: Unit test session window is not keyboard-friendly

$
0
0
Reporter Andrey Dyatlov (Andrey.Dyatlov) Andrey Dyatlov (Andrey.Dyatlov)
Created Feb 16, 2017 7:13:32 PM
Updated Oct 15, 2018 1:07:05 AM
Subsystem UI
Assignee Daniel Degtyarev (daniel.degtyarev)
Priority Normal
State Submitted
Type Usability Problem
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I'm unable to explore it with 'tab' since control panel isn't focusable (and even if it is, there are multiple controls which handle tab anyway) and it doesn't have hotkeys for basic actions like toggling 'show failed'

RSRP-470946: Cannot Advance beyond TotalWorkUnits.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jul 11, 2018 8:09:10 AM
Updated Oct 15, 2018 2:00:18 AM
Subsystem External Sources
Assignee Nikita Raba (nikita.raba)
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 182 Hive _c4e60166 — JetBrains ReSharper Ultimate 2018.2 EAP 2 Build 182.0.20180706.95810-eap02

JetBrains ReSharper 182 Build 182.0.20180706.100921-eap02

Cannot Advance beyond TotalWorkUnits.

— EXCEPTION #1/2 [InvalidOperationException]
Message = “Cannot Advance beyond TotalWorkUnits.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.Units = 1
HResult = COR_E_INVALIDOPERATION=80131509

— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Cannot Advance beyond TotalWorkUnits.”
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.2 EAP 2 Build 182.0.20180706.95810-eap02”
Data.SubProducts.#0 = “JetBrains ReSharper 182 Build 182.0.20180706.100921-eap02”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182-eap2

Platform\VisualStudio:
    git::refs/heads/182-eap2::9f014d91e51bc72e022f44cb319e1913fc745c28

Data.VsVersion = 15.7.27703.2035
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Application.Progress.ProgressIndicatorBase.Advance(Double units)
 at JetBrains.Application.Progress.ProgressIndicatorBase.Advance(Double units)
 at JetBrains.Application.Progress.SubProgressIndicator.Advance(Double units)
 at JetBrains.Application.Progress.SubProgressIndicator.Advance(Double units)
 at JetBrains.Application.Progress.SubProgressIndicator.Advance(Double units)
 at JetBrains.Application.Progress.ProgressIndicatorBase.Stop()
 at JetBrains.Application.Progress.ProgressIndicatorBase.Dispose()
 at JetBrains.Symbols.Downloader.HttpDownloader.DelegatingIndicator.Dispose()
 at JetBrains.Symbols.Downloader.HttpDownloader.DownloadThread(IProgressIndicator indicator, String taskName)
 at JetBrains.Symbols.Downloader.HttpDownloader.SafeDownloadThread(IProgressIndicator indicator, String taskName)
 at JetBrains.Symbols.Downloader.HttpDownloader.<>c__DisplayClass3_1.<Execute>b__1()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Symbols.Downloader.HttpDownloader.<>c__DisplayClass3_1.<Execute>b__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-471842: Support Better Multi-line ValueTuple Formatting

$
0
0
Reporter Mackenzie Zastrow (Mackenzie.Zastrow) Mackenzie Zastrow (Mackenzie.Zastrow)
Created Oct 15, 2018 4:58:06 AM
Updated Oct 15, 2018 4:59:51 AM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.6
Multi-line ValueTuple formatting seems a bit off. The first element seems to be un-indented compared to the following elements:

public static void TestFormatting()
{
int caret = 19;
int index = 199;

// right here, index and distance are aligned different from caret
var aTupleFormatting = (
caret: caret,
index: index,
distance: caret
);

MethodFormatting(caret,
index,
caret);

MethodFormatting(
caret,
index,
caret);

var anonData = new
{
caret = caret,
index = index,
distance = caret
};
}

public static void MethodFormatting(params object[] args)
{
}

I'd expect tuple formatting to follow the method call syntax (always align the later elements with the first element).

Note: The "Align Multiline Constructs > Tuple Components" option doesn't seem to affect this at all (I toggle it on/off and see no difference).

RSRP-470138: Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Jun 9, 2018 2:29:03 PM
Updated Oct 15, 2018 9:37:59 AM
Subsystem External Sources
Assignee Nikita Raba (nikita.raba)
Priority Major
State Submitted
Type Exception
Fix version Backlog
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 182 Hive _3f3919c0 — JetBrains ReSharper Ultimate 2018.2 EAP 0 D Build 182.0.20180608.131001-eap00d

JetBrains dotCover 182 Build 182.0.20180608.201415-eap00d
JetBrains dotMemory 182 Build 182.0.20180608.214431-eap00d
JetBrains dotTrace 182 Build 182.0.20180608.214446-eap00d
JetBrains ReSharper 182 Build 182.0.20180608.202422-eap00d
JetBrains ReSharper C++ 182 Build 182.0.20180608.214427-eap00d
JetBrains TeamCity Add-in 182 Build 182.0.20180608.214439-eap00d

Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

— EXCEPTION #1/1 [LoggerException]
Message = “Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie”
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 0 D Build 182.0.20180608.131001-eap00d”
Data.SubProducts.#0 = “JetBrains dotCover 182 Build 182.0.20180608.201415-eap00d”
Data.SubProducts.#1 = “JetBrains dotTrace 182 Build 182.0.20180608.214446-eap00d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 182 Build 182.0.20180608.214427-eap00d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 182 Build 182.0.20180608.214439-eap00d”
Data.SubProducts.#4 = “JetBrains ReSharper 182 Build 182.0.20180608.202422-eap00d”
Data.SubProducts.#5 = “JetBrains dotMemory 182 Build 182.0.20180608.214431-eap00d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182

Platform\VisualStudio:
    git::refs/heads/182::5b674ab0e210b1ed77a8260ce2bdbbb7531d8548

Data.VsVersion = 15.7.27703.2026
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.ReSharper.Psi.CompilationContextCookie.GetContext()
 at JetBrains.ReSharper.Feature.Services.ExternalSources.CSharp.AssemblyExport.AssemblyExporter.DecompileToTempFolder()
 at JetBrains.ReSharper.Feature.Services.ExternalSources.CSharp.AssemblyExport.AssemblyExporter.Export(IAssemblyExportParameters assemblyExportParameters)
 at JetBrains.ReSharper.Feature.Services.ExternalSources.CSharp.AssemblyExport.AssemblyExportManagerBase.Export(IAssemblyExportParameters assemblyExportParameters, IProgressIndicator progressIndicator)
 at JetBrains.ReSharper.Feature.Services.ExternalSources.CSharp.AssemblyExport.AssemblyExportManagerBase.Export(Int32 parametersIndex)
 at JetBrains.ReSharper.Feature.Services.ExternalSources.CSharp.SymbolServer.PdbManager.GeneratePdb(Int32 parametersIndex, IAssemblyFile assemblyFile, IList`1 debugInfos, FileSystemPath rootFolderForPresentation)
 at JetBrains.ReSharper.Feature.Services.ExternalSources.CSharp.SymbolServer.PdbManager.GeneratePdbsForAssembly(Int32 parametersIndex, IAssemblyFile assemblyFile, FileSystemPath rootFolderForPresentation)
 at JetBrains.ReSharper.Feature.Services.ExternalSources.CSharp.SymbolServer.PdbManager.PutPdbsForAssemblyIntoFolder(IAssemblyFile assemblyFile, FileSystemPath rootFolder, Action successContinuation)
 at JetBrains.ReSharper.ExternalSources.Generation.NonexistentPdbGenerator.Generate(IList`1 assemblies, Action`1 loadSymbolsForAssembly)
 at JetBrains.ReSharper.ExternalSources.Generation.NonexistentPdbGenerator.EnableDebuggingForAssemblies(IEnumerable`1 assemblies, IDebugProgram program)
 at JetBrains.ReSharper.ExternalSources.Generation.NonexistentPdbGenerator.<>c__DisplayClass18_0.<EnableDebuggingForDecompiledSource>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F, TaskPriority priority)
 at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueueEx(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F)
 at JetBrains.Application.Threading.IThreadingEx.ExecuteOrQueueEx(IThreading thіs, Lifetime lifetime, String name, Action action)
 at JetBrains.ReSharper.ExternalSources.Generation.EnableDebuggingFeatureSuggester.<>c__DisplayClass11_0.<SuggestEnableDebugging>b__0()
 at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass0_0`1.<Advise>b__0(TValue value)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.ReSharper.Feature.Services.FeatureSuggestion.SuggestionNotification.Accept()
 at JetBrains.Application.UI.Commands.DelegateCommand.<>c__DisplayClass3_0.<.ctor>b__0(Object o)
 at JetBrains.Application.UI.Commands.DelegateCommand.Execute(Object parameter)
 at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
 at System.Windows.Documents.Hyperlink.OnClick()
 at System.Windows.Documents.Hyperlink.DispatchNavigation(Object sender)
 at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender)
 at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e)
 at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(MouseButtonEventArgs e)
 at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
 at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
 at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
 at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
 at System.Windows.Input.InputManager.ProcessStagingArea()
 at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
 at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
 at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
 at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

RSRP-471843: Sometimes high CPU usage plus memory leak while analyzing TypeScript files.

$
0
0
Reporter Dmitrii Levchenko (dlxeon) Dmitrii Levchenko (dlxeon)
Created Oct 8, 2018 12:51:34 AM
Updated Oct 15, 2018 10:46:34 AM
Subsystem TypeScript
Assignee Nikita Popov (poksh)
Priority Normal
State Submitted
Type Performance Problem
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Sometimes when working on my Asp.net/C#/AngularJS/Typescript project, I got Rider 2018.2.3 to consume 100% of single CPU core and having continuously high memory usage (and growing) until I restart it. Perfview trace shows error somewhere in Typescript analyzer. Memory dump on attached screenshot was taken when process memory was slightly bigger, than 4Gb, while Task manager screenshot was taken later.

RSRP-471844: Inconsistent availability of "Replace 'if' statement with respective branch"

$
0
0
Reporter Tobias Brohl (tobrohl) Tobias Brohl (tobrohl)
Created Oct 14, 2018 1:26:39 PM
Updated Oct 15, 2018 10:57:37 AM
Subsystem Context Actions
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
When you write
if (!false) {
//Do something
}
Rider will offer you to "Replace 'if' statement with respective branch".
When you write
if (true) {
//Do something
}
it won't. That seems unintentional.

Tested in 183.3226.206

RSRP-191636: VB.NET: SmartFix (Lightbulb) for "Operation '=' is not defined for types XXX and XXX"

$
0
0
Reporter Denis Abramov (sparky2708) Denis Abramov (sparky2708)
Created Sep 29, 2010 6:16:27 PM
Updated Oct 15, 2018 11:02:46 AM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
SmartFix (Lightbulb) for "Operation '=' is not defined for types XXX and XXX" to create:

Public Shared Operator =(...)
End Operator
Viewing all 106942 articles
Browse latest View live


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