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

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 23, 2018 4:04:05 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-471933: List.BinarySearch value parameter marked incorrectly as NotNull

$
0
0
Reporter NN __ (NN) NN __ (NN)
Created Oct 22, 2018 11:47:07 AM
Updated Oct 23, 2018 4:10:05 AM
Subsystem Code Analysis - Annotations
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
List.BinarySearch accepts null values:
https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1.binarysearch?view=netframework-4.7.2#System_Collections_Generic_List_1_BinarySearch__0_

        void f()
        {
            List<object> l = new List<object>();
            l.BinarySearch(null); // Should be ok according to docs
        }

RSRP-471932: Type.GetInterfaces not marked as ItemNotNull

$
0
0
Reporter NN __ (NN) NN __ (NN)
Created Oct 22, 2018 11:41:47 AM
Updated Oct 23, 2018 4:10:26 AM
Subsystem Code Analysis - Annotations
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Type.GetInterfaces returns array of interfaces without null values.

https://docs.microsoft.com/en-us/dotnet/api/system.type.getinterfaces?view=netframework-4.7.2#System_Type_GetInterfaces

var e = typeof(object).GetInterfaces()[0].Assembly; // Possible NullReferenceException

RSRP-471931: SemaphoreSlim.WaitAsync incorrectly annotated

$
0
0
Reporter NN __ (NN) NN __ (NN)
Created Oct 22, 2018 11:32:57 AM
Updated Oct 23, 2018 4:10:41 AM
Subsystem Code Analysis - Annotations
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
WaitAsync never returns null: https://docs.microsoft.com/en-us/dotnet/api/system.threading.semaphoreslim.waitasync?view=netframework-4.7.2#System_Threading_SemaphoreSlim_WaitAsync_System_TimeSpan_

var e = new SemaphoreSlim(1).WaitAsync(TimeSpan.MaxValue).Result; // Possible NullReferenceException

RSRP-471922: Incorrect refactoring "To property with backing field"

$
0
0
Reporter Maxim (mogikanin) Maxim (mogikanin)
Created Oct 20, 2018 10:12:19 AM
Updated Oct 23, 2018 4:12:44 AM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

It's produces non equivalent code for private properties.

before refactoring

    class Foo
    {
        private object Property { get; set; }
    }

after refactoring

    class Foo
    {
        private readonly object _property;  // <- Why field is readonly??? 

        private object Property => _property;  // missing setter
    }

======
JetBrains ReSharper Ultimate 2018.2.3 Build 182.0.20180912.70621
ReSharper 2018.2.20180912.160227

RSRP-471921: Contract Selection Does Not Work as Expected after Selecting Containing Declaration

$
0
0
Reporter Michael DeMond (Mike-EEE76) Michael DeMond (Mike-EEE76)
Created Oct 20, 2018 8:39:49 AM
Updated Oct 23, 2018 4:13:33 AM
Subsystem Extend_Shrink Selection
Assignee Sergey Kuks (coox)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

If I extend selection by hitting CTRL-W repeatedly, then contract selection by hitting CTRL-SHIFT-W repeatedly, everything works as expected.

However, if I select the containing declaration with CTRL-SHIFT-[ and then hit CTRL-SHIFT-W to contract the selection, nothing happens.

RSRP-471860: TextView has disconnected from TextControl on TextViewDataChanged.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Oct 9, 2018 6:07:02 PM
Updated Oct 23, 2018 8:39:05 AM
Subsystem No Subsystem
Assignee Denis Korneev (Denis.Korneev)
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 183 Hive _c04239a4 — JetBrains ReSharper Ultimate 2018.3 EAP 1 Build 183.0.20181005.161021-eap01

JetBrains dotCover 2018.3 EAP 1 Build 2018.3.20181005.162547-eap01
JetBrains dotMemory 2018.3 EAP 1 Build 2018.3.20181005.162416-eap01
JetBrains dotTrace 2018.3 EAP 1 Build 2018.3.20181005.162553-eap01
JetBrains ReSharper 2018.3 EAP 1 Build 2018.3.20181005.162249-eap01

TextView has disconnected from TextControl on TextViewDataChanged.

— EXCEPTION #1/1 [LoggerException]
Message = “TextView has disconnected from TextControl on TextViewDataChanged.”
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 1 Build 183.0.20181005.161021-eap01”
Data.SubProducts.#0 = “JetBrains dotCover 2018.3 EAP 1 Build 2018.3.20181005.162547-eap01”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.3 EAP 1 Build 2018.3.20181005.162553-eap01”
Data.SubProducts.#2 = “JetBrains ReSharper 2018.3 EAP 1 Build 2018.3.20181005.162249-eap01”
Data.SubProducts.#3 = “JetBrains dotMemory 2018.3 EAP 1 Build 2018.3.20181005.162416-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183-eap1::0eb0065d062c9bfc4eb1590bcaf200021b887a20


Platform\VisualStudio:
    git::refs/heads/183-eap1::e3ef340faae02e8bc8af03a0370466b734b63622

Data.VsVersion = 15.8.28010.2041
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.VsTextViewDataForTextControlCollectorDevTen.<>c__DisplayClass0_1.<.ctor>b__6(EventArgs`1 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.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.TrackVsTextViewDataForTextControlChangesEx.<>c__DisplayClass0_0.<FireTextViewDataChanged>b__0()
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.TrackVsTextViewDataForTextControlChangesEx.FireTextViewDataChangedImpl(ITrackVsTextViewDataForTextControlChanges trackVsTextViewDataForTextControlChanges, Lifetime lifetime, IShellLocks locks, Action action)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.TrackVsTextViewDataForTextControlChangesEx.FireTextViewDataChanged(ITrackVsTextViewDataForTextControlChanges trackVsTextViewDataForTextControlChanges, Lifetime lifetime, IShellLocks locks, Func`1 isEventStillActual, IWpfTextView wpfTextView)
 at JetBrains.Platform.VisualStudio.SinceVs10.IDE.VsDocumentManagerWhidbey_TrackVsTextViewDataForTextControlChanges.<>c__DisplayClass0_0.<.ctor>b__2()
 at JetBrains.UI.Application.LocalReentrancyGuard.TryExecute(Action action)
 at JetBrains.Platform.VisualStudio.SinceVs10.IDE.VsDocumentManagerWhidbey_TrackVsTextViewDataForTextControlChanges.<>c__DisplayClass0_1.<.ctor>b__0(EventArgs`1 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.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.OnRegisterTextBuffer(VsTextBufferData textBufferData, Boolean forceReregisterEventProjectFileIsTheSame)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.<>c__DisplayClass26_0.<OnRdtAfterFirstDocumentLock>b__0()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.<>c__DisplayClass23_0.<ExecuteOrQueueOrMergeUnguardedCallbackWithLog>b__0()
 at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass8_1.<ExecuteOrQueueOrMerge>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.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(Lifetime lifetimeQueue, String name, Action F)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.ExecuteOrQueueOrMergeUnguardedCallbackWithLog(String eventName, VSCOOKIE docCookie, Action action)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.OnRdtAfterFirstDocumentLock(EventArgs`1 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.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.<>c__DisplayClass4_0.<OnAfterFirstDocumentLock>b__0()
 at JetBrains.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.<>c__DisplayClass3_0.<FireSignalWithLog>b__0()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.FireSignalWithLog(Action fireAction, String format, Object[] args)
 at JetBrains.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.OnAfterFirstDocumentLock(UInt32 docCookie, UInt32 dwRdtLockType, UInt32 dwReadLocksRemaining, UInt32 dwEditLocksRemaining)
 at JetBrains.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnAfterFirstDocumentLock(UInt32 docCookie, UInt32 dwRdtLockType, UInt32 dwReadLocksRemaining, UInt32 dwEditLocksRemaining)
 at Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable2.FindOrRegisterAndLockDocument(UInt32 grfRDTLockType, String pszMkDocument, IVsHierarchy pHierPreferred, UInt32 itemidPreferred, IntPtr punkDocData, IVsHierarchy& ppHierActual, UInt32& pitemidActual, IntPtr& ppunkDocDataActual, UInt32& pdwCookie)
 at Microsoft.VisualStudio.Platform.WindowManagement.Rdt.FindOrRegisterAndLockDocument(RdtFlags flags, String moniker, IVsHierarchy hier, UInt32 itemID, IntPtr punkDocData, RdtLock& rdtLock)
 at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.RegisterAndLockDocData(String lpstrMkDoc, RdtFlags rdtLockType, Object docData)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.set_DocumentSite(DocumentObjectSite value)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateContentPane(FrameMoniker frameMoniker, Boolean isDocument, String lpstrMkDoc, UInt32 eCreateWindowFlags, Object punkView, Object punkData, IServiceProvider pServiceProvider, IVsUIHierarchy pUIHierarchy, UInt32 vsid, Guid rguidCmdUI, ViewGroup parent, IVsWindowFrame& ppWindowFrame)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateContentPane(String pszName, Int32 fDockViewOn, Int32 fDocument, String lpstrMkDoc, UInt32 eCreateWindowFlags, UInt32 dwToolWinId, Object punkView, Object punkData, IServiceProvider pServiceProvider, IVsUIHierarchy pUIHierarchy, UInt32 vsid, Int32& pfDefaultPosition, Guid& rguidCmdUI, IVsWindowFrame& ppWindowFrame)
 at Microsoft.VisualStudio.Shell.Interop.IVsProject2.ReopenItem(UInt32 itemid, Guid& rguidEditorType, String pszPhysicalView, Guid& rguidLogicalView, IntPtr punkDocDataExisting, IVsWindowFrame& ppWindowFrame)
 at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.ReopenDocumentFrame(WindowManagerService windowManager, StubWindowInfo stubInfo, ReopenDocumentOptions options, DocumentGroup docGroup, Int32& hr)
 at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.ReopenDocumentFrame(IWindowManagerPrivate windowManager, StubWindowInfo stubInfo, ReopenDocumentOptions options, DocumentGroup docGroup, Int32& hr)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.EnsureStubFrameInitialized(Boolean show, StubWindowInitializationReason reason)
 at Microsoft.VisualStudio.Platform.WindowManagement.StubWindowInfo.Microsoft.Internal.VisualStudio.Shell.Interop.IVsStubWindowPrivate.EnsureLoaded()
 at Microsoft.Internal.VisualStudio.Shell.Interop.IVsRunningDocumentTablePrivate.NotifyOnBeforeShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame)
 at Microsoft.VisualStudio.Platform.WindowManagement.Rdt.NotifyOnBeforeShow(UInt32 cookie, Boolean firstShow, IVsWindowFrame frame)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.NotifyFrameShowing(UInt32 cookie, Boolean firstShow)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.EnsureContentConstructed()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(Object sender, ActiveViewChangedEventArgs e)
 at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
 at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(View view, ActivationType type)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.ActivateViewFromTabControl(TabControl tabControl, ActivationType type)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.OnTabControlSelectionChanged(Object sender, SelectionChangedEventArgs args)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.<>c.<.cctor>b__23_27(Object sender, SelectionChangedEventArgs args)
 at System.Windows.Controls.SelectionChangedEventArgs.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.Controls.TabControl.OnSelectionChanged(SelectionChangedEventArgs e)
 at Microsoft.VisualStudio.PlatformUI.LayoutSynchronizedTabControl.OnSelectionChanged(SelectionChangedEventArgs e)
 at System.Windows.Controls.Primitives.Selector.InvokeSelectionChanged(List`1 unselectedInfos, List`1 selectedInfos)
 at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()
 at System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info, Boolean assumeInItemsCollection)
 at System.Windows.Controls.Primitives.Selector.OnSelectedItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
 at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
 at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
 at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
 at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
 at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
 at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
 at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
 at System.Windows.Data.BindingExpression.ScheduleTransfer(Boolean isASubPropertyChange)
 at MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean dependencySourcesChanged, Boolean initialValue, Boolean isASubPropertyChange)
 at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
 at MS.Internal.Data.PropertyPathWorker.OnDependencyPropertyChanged(DependencyObject d, DependencyProperty dp, Boolean isASubPropertyChange)
 at MS.Internal.Data.ClrBindingWorker.OnSourceInvalidation(DependencyObject d, DependencyProperty dp, Boolean isASubPropertyChange)
 at System.Windows.Data.BindingExpression.HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
 at System.Windows.Data.BindingExpressionBase.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
 at System.Windows.Data.BindingExpression.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
 at System.Windows.DependentList.InvalidateDependents(DependencyObject source, DependencyPropertyChangedEventArgs sourceArgs)
 at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
 at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
 at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
 at Microsoft.VisualStudio.PlatformUI.Shell.NestedGroup.UpdateSelectionCore(Int32 oldIndex)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewGroup.UpdateSelection(Int32 previousSelectionIndex)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewGroup.OnChildVisibilityChanged(ViewElement item)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewElement.OnIsVisibleChanged()
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewElement.OnIsVisibleChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
 at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
 at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
 at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
 at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
 at Microsoft.VisualStudio.PlatformUI.Shell.View.Hide()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Hide>b__480_0()
 at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method, Boolean reportError, Boolean setShellErrorInfo)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Hide()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.DisposeManagedResources()
 at Microsoft.VisualStudio.PlatformUI.DisposableObject.Dispose(Boolean disposing)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<>c__DisplayClass452_0.<CloseFrame>b__0()
 at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method, Boolean reportError, Boolean setShellErrorInfo)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.CloseFrame(__FRAMECLOSE frameClose)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.frameView_Hiding(Object sender, CancelEventArgs e)
 at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent(CancelEventHandler eventHandler, Object source, CancelEventArgs args)
 at Microsoft.VisualStudio.PlatformUI.Shell.View.RaiseHiding()
 at Microsoft.VisualStudio.PlatformUI.Shell.View.Hide()
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.OnHideViewCore(ViewElement closingViewElement, Boolean hideOnlyActiveView)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.OnHideView(Object sender, ExecutedRoutedEventArgs args)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.<>c.<.cctor>b__23_9(Object sender, ExecutedRoutedEventArgs args)
 at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
 at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
 at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
 at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
 at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
 at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
 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 args, Boolean trusted)
 at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
 at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
 at Microsoft.VisualStudio.Platform.WindowManagement.DocumentTabItemStyle.OnMouseDown(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)

RSRP-471926: declaredType.IsValid()

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jul 6, 2018 1:15:24 PM
Updated Oct 23, 2018 10:56:20 AM
Subsystem Parameter Info
Assignee Sergey Kuks (coox)
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

declaredType.IsValid()

— EXCEPTION #1/2 [AssertionException]
Message = declaredType.IsValid()
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi
StackTraceString = “
 at JetBrains.ReSharper.Psi.Impl.Types.DeclaredTypeBase.Equals(IType type, IEqualityComparer`1 childrenComparer)
 at JetBrains.ReSharper.Psi.Impl.Types.DeclaredTypeBase.Equals(IType type, IEqualityComparer`1 childrenComparer)
 at JetBrains.ReSharper.Psi.TypeEqualityComparer.VisitType(IType type, IType otherType)
 at JetBrains.ReSharper.Psi.TypeEqualityComparer.VisitDeclaredType(IDeclaredType declaredType, IType otherType)
 at JetBrains.ReSharper.Psi.Impl.Types.DeclaredTypeBase.Accept[TContext,TResult](TypeVisitor`2 typeVisitor, TContext context)
 at JetBrains.ReSharper.Psi.TypeEqualityComparer.Equals(IType x, IType y)
 at JetBrains.ReSharper.Psi.DeclaredElementInstance.Compare(DeclaredElementInstance lhs, DeclaredElementInstance rhs, IEqualityComparer`1 typeComparer)
 at JetBrains.ReSharper.Psi.DeclaredElementInstance.Equals(Object obj)
 at JetBrains.ReSharper.Feature.Services.ParameterInfo.ParameterInfoCandidate.Equals(Object obj)
 at JetBrains.ReSharper.Feature.Services.ParameterInfo.ParameterInfoContextBase.Equals(Object obj)
 at System.Object.Equals(Object objA, Object objB)
 at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)
 at JetBrains.DataFlow.Property`1.set_Value(TValue value)
 at JetBrains.ReSharper.Feature.Services.ParameterInfo.EditorParameterInfoHandler.SetContextActivity.Finish()
 at JetBrains.Application.Threading.InterruptableReadActivity.FinishingProc()


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = declaredType.IsValid()
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 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.Application.Threading.InterruptableReadActivity.FinishingProc()
 at JetBrains.Application.Threading.InterruptableReadActivity.FinishingProc()
 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 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-470793: Object reference not set to an instance of an object.

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

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

Object reference not set to an instance of an object.

— EXCEPTION #1/2 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = E_POINTER=COR_E_NULLREFERENCE=80004003
Source = JetBrains.PsiFeatures.VisualStudio.Debugger
StackTraceString = “
 at JetBrains.PsiFeatures.VisualStudio.Debugger.Breakpoints.VsBreakpointsSynchronizer.Synchronize()
 at JetBrains.PsiFeatures.VisualStudio.Debugger.Breakpoints.VsBreakpointsSynchronizer.Synchronize()
 at JetBrains.PsiFeatures.VisualStudio.Debugger.Breakpoints.VsBreakpointsSynchronizer.<.ctor>b__26_0()
 at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass0_0`1.<Advise>b__0(TValue value)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.2 EAP 1 Build 182.0.20180628.124316-eap01”
Data.SubProducts.#0 = “JetBrains dotTrace 182 Build 182.0.20180628.132215-eap01”
Data.SubProducts.#1 = “JetBrains ReSharper 182 Build 182.0.20180628.125556-eap01”
Data.SubProducts.#2 = “JetBrains dotMemory 182 Build 182.0.20180628.132247-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182-eap1::389b2b0a5d2b33c46224f8f1850bc61276990d1e


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

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

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

$
0
0
Reporter Maltseva Ekaterina (Maltseva.Ekaterina) Maltseva Ekaterina (Maltseva.Ekaterina)
Created Aug 3, 2018 4:25:53 PM
Updated Oct 23, 2018 11:38:32 AM
Subsystem UI
Assignee Mikhail Senkov (micha)
Priority Normal
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 _8ca9bb57 — JetBrains ReSharper Ultimate 2018.2 EAP 7 D Build 182.0.20180803.15757-eap07d

JetBrains dotCover 182 Build 182.0.20180803.23824-eap07d
JetBrains dotMemory 182 Build 182.0.20180803.40054-eap07d
JetBrains dotTrace 182 Build 182.0.20180803.23825-eap07d
JetBrains ReSharper 182 Build 182.0.20180803.24105-eap07d
JetBrains ReSharper C++ 182 Build 182.0.20180803.40054-eap07d

Object reference not set to an instance of an object.

— EXCEPTION #1/2 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = E_POINTER=COR_E_NULLREFERENCE=80004003
Source = JetBrains.PsiFeatures.UIInteractive.Core
StackTraceString = “
 at JetBrains.PsiFeatures.UIInteractive.Core.Tree.CodePreview.CodePanel.DisplayNew(CodePanelDisplayData newData)
 at JetBrains.PsiFeatures.UIInteractive.Core.Tree.CodePreview.CodePanel.DisplayNew(CodePanelDisplayData newData)
 at JetBrains.PsiFeatures.UIInteractive.Core.Tree.CodePreview.CodePanel.DisplayNew(ICollection`1 originalRanges, OneToListMap`2 originalHighlightingMap, DocumentRange scrollRange)
 at JetBrains.PsiFeatures.UIInteractive.Core.Tree.CodePreview.CodePanel.ShowDefaultMessage()
 at JetBrains.ReSharper.Feature.Services.Tree.TreeModeBrowserDescriptorWithPreview.PreviewUpdate(IPreviewControl previewControl, TreeModelNode modelNode)
 at JetBrains.Platform.UIInteractive.Ide.TreeGridBrowser.Revised.TreeModelBrowserView.SynchronizePreview()
 at JetBrains.Threading.GroupingEvent.Execute()


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.2 EAP 7 D Build 182.0.20180803.15757-eap07d”
Data.SubProducts.#0 = “JetBrains dotCover 182 Build 182.0.20180803.23824-eap07d”
Data.SubProducts.#1 = “JetBrains dotTrace 182 Build 182.0.20180803.23825-eap07d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 182 Build 182.0.20180803.40054-eap07d”
Data.SubProducts.#3 = “JetBrains ReSharper 182 Build 182.0.20180803.24105-eap07d”
Data.SubProducts.#4 = “JetBrains dotMemory 182 Build 182.0.20180803.40054-eap07d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/182::ee1cb1004091454dd670e2de63841aa12962ddc4

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

RSRP-469405: Code inspection and Unreachable assemblies

$
0
0
Reporter Pavel Stefanov (stefanovp) Pavel Stefanov (stefanovp)
Created Apr 25, 2018 6:59:07 PM
Updated Oct 23, 2018 11:40:34 AM
Subsystem Code Analysis - C#
Assignee Alexandra Kuks (Asia.Rudenko)
Priority Critical
State Waiting for Info
Type Bug
Fix version 2018.2
Affected versions 2017.3.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

Hi guys

I have simple class library and depending on references I get strange behavior of inspectcode.exe. If my project has reference to Microsoft.EntityFrameworkCore.Design so I get CSharpWarnings::CS1574. If I remove the reference then no error. Although in both cases the projects build successfully.

I ran code inspection with debug and found that in case of error there are unreachable assemblies.

Please look at my attached files. I attached custom profile, two varian of project, configs for code inspection, reports of code inspection and debug logs.

I hope you can reproduce it and you will help me solve the problem.

Environment:
Windows Server 2008 R2 Datacenter
JetBrains ReSharper Command Line Tools - 2017.3.2
.NET Core:
Product Information:
Version: 2.1.4
Commit SHA-1 hash: 5e8add2190

Runtime Environment:
OS Name: Windows
OS Version: 6.1.7601
OS Platform: Windows
RID: win7-x64
Base Path: C:\Program Files\dotnet\sdk\2.1.4\

Microsoft .NET Core Shared Framework Host

Version : 2.0.5
Build : 17373eb129b3b05aa18ece963f8795d65ef8ea54

RSRP-128104: error CS0853: An expression tree may not contain a named argument specification

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Oct 30, 2009 11:21:21 PM
Updated Oct 23, 2018 11:49:00 AM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
using System;
using System.Linq.Expressions;


class A
{
public static void Foo(int y, int x = 1)
{
Console.WriteLine(x);
}

private static void Main()
{
Expression<Action<int>> a = x => Foo(x, x: 1); // error CS0853: An expression tree may not contain a named argument specification
}
}

RSRP-470931: Handling output assembly for valid project

$
0
0
Reporter Thomas Stocker (thomas.stocker) Thomas Stocker (thomas.stocker)
Created Jul 10, 2018 4:51:10 PM
Updated Oct 23, 2018 12:05:45 PM
Subsystem Psi - Caches
Assignee Dmitry Ivanov (daivanov)
Priority Critical
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 _cb16f37c — JetBrains ReSharper Ultimate 2018.2 EAP 2 Build 182.0.20180706.95810-eap02

JetBrains dotTrace 182 Build 182.0.20180706.103326-eap02
JetBrains ReSharper 182 Build 182.0.20180706.100921-eap02

SubProducts.0 = JetBrains dotTrace 182 Build 182.0.20180706.103326-eap02
SubProducts.1 = JetBrains ReSharper 182 Build 182.0.20180706.100921-eap02

Handling output assembly for valid project

— EXCEPTION #1/2 [AssertionException]
Message = “Handling output assembly for valid project”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.Util
StackTraceString = “
 at JetBrains.Util.AssertionWithSensitiveData.Fail(String message, Pair`2[] sensitiveData)
 at JetBrains.Util.AssertionWithSensitiveData.Fail(String message, Pair`2[] sensitiveData)
 at JetBrains.ReSharper.Psi.Caches.PsiCaches.ProcessAssemblyChanges(PsiModuleChange psiModuleChange, Boolean forceSyncUpdate)
 at JetBrains.ReSharper.Psi.Caches.PsiCaches.OnPsiModulesChange(PsiModuleChange psiModuleChange, Boolean forceSyncUpdate, HashSet`1 filesToRemove, HashSet`1 filesToAdd)
 at JetBrains.ReSharper.Psi.Caches.PsiCaches.Execute(IChangeMap changeMap)
 at JetBrains.Application.changes.ChangeManagerImpl.<>c__DisplayClass21_0.<InvokeOrderedDependentProviders>b__0(IProgressIndicator pro)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Handling output assembly for valid project”
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 2 Build 182.0.20180706.95810-eap02”
Data.SubProducts.#0 = “JetBrains dotTrace 182 Build 182.0.20180706.103326-eap02”
Data.SubProducts.#1 = “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.8.27825.0
Data.VsPreview = True
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Application.changes.ChangeManagerImpl.<>c__DisplayClass21_0.<InvokeOrderedDependentProviders>b__0(IProgressIndicator pro)
 at JetBrains.Application.changes.ChangeManagerImpl.<>c__DisplayClass21_0.<InvokeOrderedDependentProviders>b__0(IProgressIndicator pro)
 at JetBrains.Application.Progress.SimpleTaskExecutor.ExecuteTaskTrivial(Action`1 task)
 at JetBrains.Application.Progress.SimpleTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
 at JetBrains.Application.changes.ChangeManagerImpl.InvokeOrderedDependentProviders(ITaskExecutor executor, IEnumerable`1 dependentProviders, ChangeMap changeMap)
 at JetBrains.Application.changes.ChangeManagerImpl.OnProviderChanged(IChangeProvider changeProvider, Object change, ITaskExecutor executor)
 at JetBrains.ProjectModel.Transaction.ProjectModelBatchChangeManager.<>c__DisplayClass8_1.<EndTransaction>b__0()
 at JetBrains.Application.changes.ChangeManagerImpl.ExecuteAfterChange(Action action)
 at JetBrains.ProjectModel.Transaction.ProjectModelBatchChangeManager.EndTransaction(ProjectModelBatchChange projectModelBatchChange, ITaskExecutor executor)
 at JetBrains.ProjectModel.Impl.ProjectModelBatchChange.Commit(ITaskExecutor executor)
 at JetBrains.ProjectModel.Transaction.ProjectModelBatchChangeCookie.Dispose()
 at JetBrains.ProjectModel.Assemblies.Impl.ModuleReferenceResolveSync.ApplyExternalAssemblyChanges(List`1 assemblyFiles, List`1 assemblyReferences)
 at JetBrains.ProjectModel.Impl.ExternalChangeProcessor.<>c__DisplayClass26_0.<ProcessElementsAffectedByExternalChange>b__0()
 at JetBrains.Application.changes.ChangeManagerImpl.ExecuteAfterChange(Action action)
 at JetBrains.ProjectModel.Impl.ExternalChangeProcessor.ProcessElementsAffectedByExternalChange(IEnumerable`1 affectedElements, Boolean sync)
 at JetBrains.ProjectModel.Impl.ExternalChangeProcessor.ProcessExternalChangeActivity.<Finish>b__13_2()
 at JetBrains.Util.Logging.Logger.Catch[TValue](Func`1 func)
 at JetBrains.ProjectModel.Impl.ExternalChangeProcessor.ProcessExternalChangeActivity.<>c__DisplayClass13_0.<Finish>b__1()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithWriteLockWhenAvailable(IShellLocks thіs, Lifetime lifetime, String name, Action F, Boolean gentleAcquire, Int32 retryCount)
 at JetBrains.ProjectModel.Impl.ExternalChangeProcessor.ProcessExternalChangeActivity.Finish()
 at JetBrains.Application.Threading.InterruptableReadActivity.FinishingProc()
 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-471033: FieldInfo.GetRawConstantValue() may return null, but is marked as [NotNull]

$
0
0
Reporter Arsène von Wyss (avonwyss) Arsène von Wyss (avonwyss)
Created Aug 13, 2018 2:22:58 PM
Updated Oct 23, 2018 12:09:41 PM
Subsystem Code Analysis - Annotations
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-471930: AssertionCondition is not working as before

$
0
0
Reporter NN __ (NN) NN __ (NN)
Created Oct 22, 2018 11:21:10 AM
Updated Oct 23, 2018 12:12:34 PM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Works well in 2018.2, but not in 2018.3:

class Code
{
[DebuggerHidden, MethodImpl(AggressiveInlining)]
[AssertionMethod]
public static void NotNull<T>(
[CanBeNull, NoEnumeration, AssertionCondition(AssertionConditionType.IS_NOT_NULL)] T arg,
[NotNull, InvokerParameterName] string argName) where T : class
{
if (arg == null)
throw CodeExceptions.ArgumentNull(argName);
}
}

class T
{
static void g([CanBeNull][ItemNotNull] List<object> l)
{
Code.NotNull(l,"a");

var o = l[0].ToString(); // Possible NullReferenceException in 2018.3, no problem in 2018.2
}
}

RSRP-471929: Bad annotated Marshal.PtrToStructure

RSRP-470747: [Performance Report] Slow slow solution wide analysis

$
0
0
Reporter Дмитрий Бабушкин (Дмитрий.Бабушкин) Дмитрий Бабушкин (Дмитрий.Бабушкин)
Created Jul 25, 2018 12:32:47 PM
Updated Oct 23, 2018 12:13:13 PM
Resolved Aug 13, 2018 8:18:33 PM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Show-stopper
State Fixed
Type Performance Problem
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: True
OS Version: Microsoft Windows NT 10.0.16299.0
Product: ReSharper, Version: 182.0.20180719.140920-eap04
Time Zone: Russia TZ 2 Standard Time

Description

Приветствую! На последних EAP'ах заметил снижение производительности при анализе всего решения на наличие ошибок.

Из-за коррапта данных пришлось снести кэш решарпера, после чего началась обработка 33540 файлов. За 30 минут R# осилил 19 240.

При этом ресурсы CPU используются только на 70%. В аттаче трейсы.
В сравнении с предыдущими версиями, где этот процесс занимал минут 20, создаётся ощущение, что где-то мы висим в процессе синхронизации тредов и бездельничаем. :(

Или сам анализ стал значительно тяжеловестнее.

RSRP-471923: Null checking pattern for throw expression is missing throw

$
0
0
Reporter millenium bug (milleniumbug) millenium bug (milleniumbug)
Created Oct 21, 2018 3:27:58 PM
Updated Oct 23, 2018 12:14:19 PM
Subsystem Context Actions
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
In Options => Code Editing => C# => Null checking, the "Throw expression (C# 7.0+)" pattern is visible in the example as arg ?? new ArgumentNullException(nameof(arg)) and in pattern as $EXPR$ ?? new System.ArgumentNullException($NAME$).

It should be $EXPR$ ?? throw new System.ArgumentNullException($NAME$)

RSRP-53369: 'Create Field' quick fix should treat unsafe constructs properly

$
0
0
Reporter Andrew Serebryansky (marcus23) Andrew Serebryansky (marcus23)
Created Nov 24, 2007 6:53:27 PM
Updated Oct 23, 2018 12:24:11 PM
Subsystem Quick Fixes - Create From Usage
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Bug
Fix version Backlog
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
If you will try to quick-fix line 12 in Program.cs and select "create field '_foo'"
resharper will create the field declaration:
private static byte* _foo;

This is an error (as resharper it self detects...) and should be instead:
private static unsafe byte* _foo;

RSRP-175429: Generated code should include 'unsafe' modifier if the code is unsafe and is not already under another 'unsafe' modifier

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Apr 2, 2010 7:10:58 PM
Updated Oct 23, 2018 12:24:11 PM
Subsystem Generate
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Open
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
class A<T>
{
public virtual void Foo(T x = default(T)) { }
}

unsafe class B : A<int*[]> { }

class C : B
{
// Generate overriding members
}

Actual result:

class C : B
{
public override void Foo(int*[] x = null) // error CS0214: Pointers and fixed size buffers may only be used in an unsafe context
{
throw new NotImplementedException();
}
}

Expected result:

class C : B
{
public unsafe override void Foo(int*[] x = null)
{
throw new NotImplementedException();
}
}
Viewing all 106942 articles
Browse latest View live


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