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

RSRP-265145: Accepting a live template in popup with anything except Tab or Enter

$
0
0
Reporter Valentin Kipiatkov (valentin) Valentin Kipiatkov (valentin)
Created May 18, 2011 9:53:07 PM
Updated Oct 25, 2018 1:49:49 PM
Resolved Oct 25, 2018 1:49:49 PM
Subsystem Live Templates
Assignee Slava Tutushkin (slava.tutushkin)
Priority Normal
State Duplicate
Type Bug
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Start typing and select some live template from the autopopup. Press e.g. Space. Name of the template + space is inserted. Strange and useless behaviour.

RSRP-205352: Live templates don't work with basic or smart completion

$
0
0
Reporter Dmitry Osinovsky (Dmitry.Osinovsky) Dmitry Osinovsky (Dmitry.Osinovsky)
Created Jan 19, 2011 1:40:32 AM
Updated Oct 25, 2018 1:50:23 PM
Subsystem Live Templates
Assignee Slava Tutushkin (slava.tutushkin)
Priority Major
State Open
Type Bug
Fix version 9.0
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Type "fore" in the C# code and wait for automatic completion. You'll receive list of items with "foreach" live template selected by default. Now press Ctrl+Space for basic completion. Ups! Suddenly "foreach" loses live template icon and becomes ordinary keyword.

RSRP-471907: "Possible System.NullReferenceException" is shown for all HtmlControls in code-behind

$
0
0
Reporter RAMON RITTER (ramonritter) RAMON RITTER (ramonritter)
Created Oct 19, 2018 12:47:51 AM
Updated Oct 25, 2018 2:25:15 PM
Resolved Oct 25, 2018 2:25:15 PM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Workaround
Type Usability Problem
Fix version No Fix versions
Affected versions 2018.3, 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

The warning "Possible System.NullReferenceException" is shown for all HtmlControls in code-behind of my aspx pages when I read or assign a value to an HTML Control.

This forces me to test 'if (myControl != null)' before read or assign each control.

Is it possible to disable this warning only for the HTML controls? I want be warned for null reference in other objects...

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

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

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

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

Exception while commit project level transaction: Sequence contains no elements

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


— Outer —

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


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

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

RSRP-470002: importedSymbolName.IsValid()

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Jun 4, 2018 11:28:36 AM
Updated Oct 25, 2018 3:15:41 PM
Resolved Oct 25, 2018 3:15:41 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Duplicate
Type Exception
Fix version Backlog
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
JetBrains JetBrains Rider 2018.2 Build RD-182.SNAPSHOT Date 2018-05-30T23:11:38.128+0000

— EXCEPTION #1/2 [AssertionException]
Message = importedSymbolName.IsValid()
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
Data.ReentrancyGuard.ActionName = ExtractMethodOptionPage::UpdatePreview
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.RdCore
StackTraceString = “
 at JetBrains.Util.Assertion.Fail(String message)
 at JetBrains.Util.Assertion.Fail(String message)
 at JetBrains.Util.Assertion.Assert(Boolean condition, String message)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Resolve.CSharpResolveUtil.AddImportedSymbols(IPsiModule psiModule, ICollection`1 imports, IEnumerable`1 defaultImports, Int32 level, SymbolTableMode mode)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpFile.AddDeclarationsAfterElement(ISymbolTable parentTable, ITreeNode element, Int32 level, SymbolTableMode mode)
 at JetBrains.ReSharper.Psi.Resolve.SymbolTableBuilder.ScopeAccumulator.ProcessAfterInterior(ITreeNode element)
 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
 at JetBrains.ReSharper.Psi.Resolve.SymbolTableBuilder.ScopeAccumulator.Run()
 at JetBrains.ReSharper.Psi.Resolve.SymbolTableBuilder.WalkScopeStack(ITreeNode element, Int32 level, SymbolTableMode mode, Boolean includeThis)
 at JetBrains.ReSharper.Psi.Resolve.SymbolTableBuilder.GetTable(ITreeNode element, SymbolTableMode mode)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.BuildSymbolTableForReference(IReference reference, SymbolTableMode mode)
 at JetBrains.ReSharper.Psi.Resolve.Managed.ManagedExtensionsDispatcher.GetSymbolTableForResolve(IManagedQualifiableReference reference, IResolveContext resolveContext)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.PreResolveCalculator(IManagedTwoPhaseReferenceImpl reference, ISymbolTable table, IResolveContext resolveContext)
 at JetBrains.ReSharper.Psi.Impl.Resolve.Managed.CalculationProcess.Get[TKey,TParameter,TValue](CascadingCacheKey cacheKey, TKey key, TParameter param, IResolveContext resolveContext, Func`4 calculator)
 at JetBrains.ReSharper.Psi.Impl.Resolve.Managed.UniversalCalculationProcess.Get[TKey,TParameter,TValue](CascadingCacheKey cacheKey, TKey key, TParameter param, IResolveContext resolveContext, Func`4 calculator)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.PreResolve(IManagedTwoPhaseReference reference, ISymbolTable table)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpressionStub.GetConstantValueImpl(IResolveContext resolveContext)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpressionStub.GetConstantValue(IResolveContext resolveContext, ICalculationInfo info)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpExpressionBase.GetConstantValue(IResolveContext resolveContext)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.ConstantValueCalculator(IManagedConstantValueOwnerImpl constantValueOwner, Object state, IResolveContext resolveContext)
 at JetBrains.ReSharper.Psi.Impl.Resolve.Managed.CalculationProcess.Get[TKey,TParameter,TValue](CascadingCacheKey cacheKey, TKey key, TParameter param, IResolveContext resolveContext, Func`4 calculator)
 at JetBrains.ReSharper.Psi.Impl.Resolve.Managed.UniversalCalculationProcess.Get[TKey,TParameter,TValue](CascadingCacheKey cacheKey, TKey key, TParameter param, IResolveContext resolveContext, Func`4 calculator)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.ConstantValue(IManagedConstantValueOwner constantValueOwner)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpressionStub.CalculateExpressionTypeAux(IResolveContext resolveContext)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpExpressionBase.CalculateExpressionType(IResolveContext resolveContext)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.UniversalContext.ExpressionType(IManagedExpression expression)
 at JetBrains.ReSharper.Psi.Resolve.Managed.ManagedExtensionsDispatcher.GetExpressionType(IExpression expression, IResolveContext resolveContext)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpExpressionBase.Type(IResolveContext resolveContext)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpExpressionBase.Type()
 at JetBrains.ReSharper.Psi.CSharp.Util.UnsafeCodeUtil.ElementContainsUnsafeCode(ITreeNode element)
 at JetBrains.ReSharper.Refactorings.CSharp.ExtractMethod2.FromExpression.CSharpExtractMethodRunnerFromExpression..ctor(CSharpExtractMethodWorkflowBase workflow, ICSharpExtractMethodControlFlowInspectionResult inspectionResult, ICSharpExpression expression, Boolean isPreview)
 at JetBrains.ReSharper.Refactorings.CSharp.ExtractMethod2.FromExpression.CSharpExtractMethodFromExpressionWorkflow.CreatePreviewElement()
 at JetBrains.ReSharper.Refactorings.CSharp.ExtractMethod2.Common.CSharpExtractMethodModel.GetPreviewElement()
 at JetBrains.ReSharper.Refactorings.ExtractMethod2.ExtractMethodPage.<>c__DisplayClass10_0.<UpdatePreview>b__0()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Application.Threading.IShellLocksEx.<>c__DisplayClass4_0.<ExecuteOrQueueReadLockEx>b__2()
 at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass0_1.<Queue>b__3()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = importedSymbolName.IsValid()
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
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.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.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run()
 at JetBrains.Threading.JetDispatcher.Run()
 at JetBrains.ReSharper.Host.Product.ReSharperHostMain.Main(Lifetime lifetime, IReSharperHostSettings settings, ILogger logger, ShellProtocol protocol, RdModelRoot modelRoot, ApplicationShutdownRequests shutdownRequests)
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
 at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
 at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass0_0.<.ctor>b__0()
 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.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
 at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
 at JetBrains.Application.Environment.IJetHostEx.<>c__DisplayClass2_0.<RunHostMessageLoop>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ)
 at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv)
 at JetBrains.Application.Environment.HostParameters.MessagePumpMainLoopHostMixin.JetBrains.Application.Environment.HostParameters.IRunMainLoopHostMixin.RunMainLoop(ComponentContainer containerEnv)
 at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv)
 at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv)
 at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams)
 at JetBrains.Application.Environment.JetHostItems.CreateAndRun(Full input)
 at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.MainX(Assembly assembly, HostInfo hostInfo, String[] args)
 at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.<>c.<Main>b__0_0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
 at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.Main()
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
 at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)



last.action = Refactorings.QuickListPopupAction

app.eap = true
app.internal = false
app.build = RD-182.SNAPSHOT
app.version.major = 2018
app.version.minor = 2
app.build.date = 2018-05-30T23:11:38.128+0000
app.build.date.release = 2017-12-27T00:00:38.128+0000
app.build.date.release = 2017-12-27T00:00:38.128+0000
app.compilation.timestamp = null
app.product.code = RD

os.name = Windows 10
java.version = 1.8.0_152-release
java.vm.vendor = JetBrains s.r.o

UIUtil.isRetina = false
UIUtil.isAppleRetina = false
JBUI.isHiDPI() = false
ImageScaleFactor = 1

RSRP-460956: Don't mark properties that are used in grids as unused

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created Sep 23, 2016 3:19:03 PM
Updated Oct 25, 2018 3:15:46 PM
Subsystem Code Analysis - VB.NET
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Attached you can find a sample project.
As you can see, the property "StringComplete" is used in the Datagridview in the Form1, but ReSharper complains, that it is unused.

Also, as I have seen now, the Form1 is marked as "never instantiated", which is incorrect, because it will be instantiated by the project itself.

RSRP-469955: importedSymbolName.IsValid()

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created May 31, 2018 6:06:07 PM
Updated Oct 25, 2018 3:16:06 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
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 _3f3919c0ReSharper — JetBrains ReSharper Ultimate 2018.2 EAP 0 D Build 182.0.20180530.210323-eap00d

JetBrains ReSharper 182 Build 182.0.20180530.211419-eap00d
JetBrains ReSharper C++ 182 Build 182.0.20180530.211433-eap00d
JetBrains TeamCity Add-in 182 Build 182.0.20180530.211418-eap00d

importedSymbolName.IsValid()

— EXCEPTION #1/2 [AssertionException]
Message = importedSymbolName.IsValid()
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi.CSharp
StackTraceString = “
 at JetBrains.ReSharper.Psi.CSharp.Impl.Resolve.CSharpResolveUtil.AddImportedSymbols(IPsiModule psiModule, ICollection`1 imports, IEnumerable`1 defaultImports, Int32 level, SymbolTableMode mode)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Resolve.CSharpResolveUtil.AddImportedSymbols(IPsiModule psiModule, ICollection`1 imports, IEnumerable`1 defaultImports, Int32 level, SymbolTableMode mode)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpFile.AddDeclarationsAfterElement(ISymbolTable parentTable, ITreeNode element, Int32 level, SymbolTableMode mode)
 at JetBrains.ReSharper.Psi.Resolve.SymbolTableBuilder.ScopeAccumulator.ProcessAfterInterior(ITreeNode element)
 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
 at JetBrains.ReSharper.Psi.Resolve.SymbolTableBuilder.WalkScopeStack(ITreeNode element, Int32 level, SymbolTableMode mode, Boolean includeThis)
 at JetBrains.ReSharper.Psi.Resolve.SymbolTableBuilder.GetInnerTableAndLevel(ITreeNode element, SymbolTableMode mode)
 at JetBrains.ReSharper.Psi.Naming.Impl.NamingLanguageServiceBase.GetConflictedElements(String name, ITreeNode context, ScopeKind kind)
 at JetBrains.ReSharper.Psi.Naming.Extentions.NamesCollection.NamesSuggestion.IsUnique(String name)
 at JetBrains.ReSharper.Psi.Naming.Extentions.NamesCollection.NamesSuggestion.ComputeAllNames()
 at JetBrains.ReSharper.Psi.Naming.Extentions.NamesCollection.NamesSuggestion.AllNames()
 at JetBrains.ReSharper.Psi.Naming.Extentions.NamesCollection.NamesSuggestion.FirstName()
 at JetBrains.ReSharper.Refactorings.CSharp.ExtractMethod2.Common.CSharpExtractMethodWorkflowBase.InitializeNaming()
 at JetBrains.ReSharper.Refactorings.CSharp.ExtractMethod2.Common.ExtractMethodChooseMethodKindPage.Commit(IProgressIndicator pi)
 at JetBrains.ReSharper.Refactorings.Workflow.SequenceRefactoringPages.Commit(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = importedSymbolName.IsValid()
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.20180530.210323-eap00d”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 182 Build 182.0.20180530.211433-eap00d”
Data.SubProducts.#1 = “JetBrains TeamCity Add-in 182 Build 182.0.20180530.211418-eap00d”
Data.SubProducts.#2 = “JetBrains ReSharper 182 Build 182.0.20180530.211419-eap00d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182::98954ee050309b0e19e839f4fd3e9e133b83a71b


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

Data.VsVersion = 15.7.27703.2018
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.Run(TaskThreadAffinity taskThreadAffinity, Action`1 task, Func`3 FAttachUi, ProgressIndicator indicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.RefactoringsTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.RunWithProgress[TResult](Func`2 action, String taskName, TResult& result)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.NextPage(IRefactoringPage currentPage)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.MoveToNextPage()
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.WorkflowHostWithWizardForm.<NextClick>b__18_0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.WorkflowHostWithWizardForm.NextClick(Object sender, EventArgs e)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.RefactoringWizardForm.myContinueButton_Click(Object sender, EventArgs e)
 at System.Windows.Forms.Control.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
 at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ButtonBase.WndProc(Message& m)
 at System.Windows.Forms.Button.WndProc(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

RSRP-471990: importedSymbolName.IsValid()

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 25, 2018 3:03:48 PM
Updated Oct 25, 2018 3:16:06 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Exception
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
JetBrains Rider 2018.3 Build RD-183.4002.7 Date 2018-10-24T12:39:47.431+0000

— EXCEPTION #1/2 [AssertionException]
Message = importedSymbolName.IsValid()
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.RdCore
StackTraceString = “
 at JetBrains.Util.Assertion.Fail(String message)
 at JetBrains.Util.Assertion.Fail(String message)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Resolve.CSharpResolveUtil.AddImportedSymbols(IPsiModule psiModule, ICollection`1 imports, IEnumerable`1 defaultImports, Int32 level, SymbolTableMode mode)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpFile.AddDeclarationsAfterElement(ISymbolTable parentTable, ITreeNode element, Int32 level, SymbolTableMode mode)
 at JetBrains.ReSharper.Psi.Resolve.SymbolTableBuilder.ScopeAccumulator.ProcessAfterInterior(ITreeNode element)
 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
 at JetBrains.ReSharper.Psi.Resolve.SymbolTableBuilder.WalkScopeStack(ITreeNode element, Int32 level, SymbolTableMode mode, Boolean includeThis)
 at JetBrains.ReSharper.Psi.Resolve.SymbolTableBuilder.GetInnerTableAndLevel(ITreeNode element, SymbolTableMode mode)
 at JetBrains.ReSharper.Psi.Naming.Impl.NamingLanguageServiceBase.GetConflictedElements(String name, ITreeNode context, ScopeKind kind)
 at JetBrains.ReSharper.Psi.Naming.Extentions.NamesCollection.NamesSuggestion.IsUnique(String name)
 at JetBrains.ReSharper.Psi.Naming.Extentions.NamesCollection.NamesSuggestion.ComputeAllNames()
 at JetBrains.ReSharper.Psi.Naming.Extentions.NamesCollection.NamesSuggestion.AllNames()
 at JetBrains.ReSharper.Psi.Naming.Extentions.NamesCollection.NamesSuggestion.FirstName()
 at JetBrains.ReSharper.Refactorings.CSharp.ExtractMethod2.Common.CSharpExtractMethodModel.InitializeNaming()
 at JetBrains.ReSharper.Refactorings.CSharp.ExtractMethod2.Common.CSharpExtractMethodWorkflowBase.<get_FirstPendingRefactoringPage>b__20_0(IProgressIndicator pi)
 at JetBrains.ReSharper.Refactorings.Workflow.SequencePages.Commit(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = importedSymbolName.IsValid()
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.LogException(Exception ex)
 at JetBrains.Util.Logging.Logger.LogException(Exception ex)
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)
 at JetBrains.ReSharper.Host.Features.Refactorings.Common.RiderRefactoringTaskExecutor.<>c__DisplayClass6_0.<ExecuteTask>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using(Lifetime parent, Action`1 λ)
 at JetBrains.ReSharper.Host.Features.Refactorings.Common.RiderRefactoringTaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.RunWithProgress[TResult](Func`2 action, String taskName, TResult& result)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.NextPage(IRefactoringPage currentPage)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.MoveToNextPage()
 at JetBrains.ReSharper.Host.Features.Refactorings.Common.RiderRefactoringWorkflowHost.<NextClick>b__23_0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
 at JetBrains.Threading.JetDispatcher.Closure.Execute()
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
 at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run()
 at JetBrains.ReSharper.Host.Product.ReSharperHostMain.Main(Lifetime lifetime, IReSharperHostSettings settings, ILogger logger, ShellProtocol protocol, RdShellModel shellModel, ApplicationShutdownRequests shutdownRequests)
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
 at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass0_0.<.ctor>b__0()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Threading.JetDispatcher.Closure.Execute()
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
 at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
 at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ)
 at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv)
 at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv)
 at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv)
 at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams)
 at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.MainX(Assembly assembly, HostInfo hostInfo, String[] args)
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
 at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.Main()
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
 at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)



last.action = null

app.eap = true
app.internal = false
app.build = RD-183.4002.7
app.version.major = 2018
app.version.minor = 3
app.build.date = 2018-10-24T12:39:47.431+0000
app.build.date.release = 2018-08-24T00:00:47.431+0000
app.build.date.release = 2018-08-24T00:00:47.431+0000
app.compilation.timestamp = null
app.product.code = RD

os.name = Windows 10
java.version = 1.8.0_152-release
java.vm.vendor = JetBrains s.r.o

UIUtil.isRetina = false
JBUI.isHiDPI() = false
ImageScaleFactor = 1

RSRP-471991: Rename Usages In Comments: instrument's panel has white color.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 25, 2018 3:34:39 PM
Updated Oct 25, 2018 3:34:39 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Cosmetics
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

Branch: 183-alisa.textbox.1.
JetBrains.ReSharperUltimate.2018.3.EAP5D.Checked.(183.0.20181024.13948-eap05d).

Actual result:

Previous result:

Not sure if this is intended or not...

RSRP-464837: r# Test runner freeze

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created May 19, 2017 3:34:32 PM
Updated Oct 25, 2018 3:37:37 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have about 300 unit test, and at the end 2 of them are still Pending forever. I use R# Unit Test Explorer. They are just plain unit tests, not integration, no database/disk/network operations. When I click "Stop execution" button, then it changes to "red hand" and VS2017 is freezed, I cannot do nothing. After 5 minutes I rebooted VS. Even if tests are the problem, test runner should not freeze VS. The problem occurs always.

RSRP-471906: R# ignoring my xunit user furnished configuration

$
0
0
Reporter Michael Powell (mwpowellhtx) Michael Powell (mwpowellhtx)
Created Oct 18, 2018 9:33:24 PM
Updated Oct 25, 2018 3:49:49 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Unspecified
Fix version No Fix versions
Affected versions 2018.2.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.8.6

VS version: 15.8.7 not 15.8.6
Happening in at least R# 2018.2.1
This may or may not be a bug; best case for you is that it is just me troubleshooting and tracing what/where R# is injecting xunit configuration.
Literally, I am providing the <AssemblyName>.xunit.runner.json strategy with the following content. I've also tried with the xunit.runner.json strategy with the same results.

{
  "appDomain": "ifAvailable",
  "longRunningTestSeconds": 0,
  "preEnumerateTheories": true,
  "shadowCopy": true
}

These are also the xunit defaults, however R# is exhibiting preEnumerateTheories=false behavior.
How did I get there? I was using xunit 2.3.1 and the default behavior preEnumerateTheories=true was working fine, or at least the default behavior was doing as I expected.
Specifically, Theory test cases were rolling up successfully.
Then I updated to xunit 2.4.0, things seemed fine, but I must not have verified or something.
Between then and the next day of work my I experienced a BSOD on startup of my development machine. Recovered from that to a prior system restore. I don't think it was related, but it was non-trivial from my POV.
Went in to verify the xunit upgrade and began experiencing odd behavior in preEnumerateTheories=false.
In my troubleshooting I downgraded to xunit 2.3.1 and re-ran the tests. Still exhibiting preEnumerateTheories=false behavior.
That's when I introduced my configuration (above). However, the behavior is still showing preEnumerateTheories=false behavior.
I am also targeting .NET Framework 4.7.2 instead of .NET Framework 4.6.2 in the midst of all that.
One thought crossed my mind: whether this was a difference in framework collection behavior?
Open question for me is this: I need to know at least what settings are used by R#, if not also where they are stored, etc, in order to troubleshoot.
Whether R# is honoring the user furnished settings? That may or may not be the issue, I do not know.

RSRP-471958: Lexer must be MixedLexer but was JetBrains.ReSharper.Psi.CSharp.Parsing.CSharpLexer

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Oct 23, 2018 6:06:21 PM
Updated Oct 25, 2018 3:52:16 PM
Subsystem No Subsystem
Assignee Mikhail Senkov (micha)
Priority Normal
State Fixed In Branch
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _cfcc61ab — JetBrains ReSharper Ultimate 2018.3 EAP 4 D Build 183.0.20181023.115252-eap04d

JetBrains dotCover 2018.3 EAP 4 D Build 2018.3.20181023.120828-eap04d
JetBrains dotMemory 2018.3 EAP 4 D Build 2018.3.20181023.120651-eap04d
JetBrains dotTrace 2018.3 EAP 4 D Build 2018.3.20181023.120827-eap04d
JetBrains ReSharper 2018.3 EAP 4 D Build 2018.3.20181023.120529-eap04d
JetBrains ReSharper C++ 2018.3 EAP 4 D Build 2018.3.20181023.120516-eap04d

SubProducts.0 = JetBrains dotCover 2018.3 EAP 4 D Build 2018.3.20181023.120828-eap04d
SubProducts.1 = JetBrains dotTrace 2018.3 EAP 4 D Build 2018.3.20181023.120827-eap04d
SubProducts.2 = JetBrains ReSharper C++ 2018.3 EAP 4 D Build 2018.3.20181023.120516-eap04d
SubProducts.3 = JetBrains ReSharper 2018.3 EAP 4 D Build 2018.3.20181023.120529-eap04d
SubProducts.4 = JetBrains dotMemory 2018.3 EAP 4 D Build 2018.3.20181023.120651-eap04d

Lexer must be MixedLexer but was JetBrains.ReSharper.Psi.CSharp.Parsing.CSharpLexer

— EXCEPTION #1/2 [AssertionException]
Message = “Lexer must be MixedLexer but was JetBrains.ReSharper.Psi.CSharp.Parsing.CSharpLexer”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
Data.ReentrancyGuard.ActionName = AddSyntacticClassificationsGuarded
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi
StackTraceString = “
 at JetBrains.ReSharper.Psi.CachingLexers.MixedCachingLexerService.CreateCachingLexer(ISolution solution, ProjectFileType projectFileType, ITextControl textControl, PsiProjectFileTypeCoordinator projectFileTypeCoordinator, IPsiSourceFile sourceFile)
 at JetBrains.ReSharper.Psi.CachingLexers.MixedCachingLexerService.CreateCachingLexer(ISolution solution, ProjectFileType projectFileType, ITextControl textControl, PsiProjectFileTypeCoordinator projectFileTypeCoordinator, IPsiSourceFile sourceFile)
 at JetBrains.ReSharper.Psi.CachingLexers.CachingLexerServiceImpl.GetCachingLexerImpl(ITextControl textControl, ProjectFileType projectFileType, IPsiSourceFile sourceFile)
 at JetBrains.ReSharper.Psi.CachingLexers.CachingLexerServiceImpl.GetCachingLexer(ITextControl textControl, ProjectFileType projectFileType)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs14RoslynAware.ExperimentalRoslynKiller.RoslynEditorClassificationServiceHandler.AddSyntacticClassificationsGuarded(Document document, TextSpan textSpan, List`1 result, CancellationToken cancellationToken, ISolution solution)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs14RoslynAware.ExperimentalRoslynKiller.RoslynEditorClassificationServiceHandler.<>c__DisplayClass8_0.<AddSyntacticClassifications>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Lexer must be MixedLexer but was JetBrains.ReSharper.Psi.CSharp.Parsing.CSharpLexer”
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 4 D Build 183.0.20181023.115252-eap04d”
Data.SubProducts.#0 = “JetBrains dotCover 2018.3 EAP 4 D Build 2018.3.20181023.120828-eap04d”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.3 EAP 4 D Build 2018.3.20181023.120827-eap04d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.3 EAP 4 D Build 2018.3.20181023.120516-eap04d”
Data.SubProducts.#3 = “JetBrains ReSharper 2018.3 EAP 4 D Build 2018.3.20181023.120529-eap04d”
Data.SubProducts.#4 = “JetBrains dotMemory 2018.3 EAP 4 D Build 2018.3.20181023.120651-eap04d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183::e4f4838b36b9c39241814e27fca6f3ed60066cb1


Platform\VisualStudio:
    git::refs/heads/183-roslyn-killer::a74e6988e72488d6ea973b8adadf52fa882e3a8d

Data.VsVersion = 15.8.28010.2046
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs14RoslynAware.ExperimentalRoslynKiller.RoslynEditorClassificationServiceHandler.AddSyntacticClassifications(Document document, TextSpan textSpan, List`1 result, CancellationToken cancellationToken)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs14RoslynAware.ExperimentalRoslynKiller.RoslynEditorClassificationServiceHandler.Invoke(Object proxy, MethodInfo method, Object[] parameters)
 at Microsoft.CodeAnalysis.CSharp.Classification.CSharpEditorClassificationServiceProxy.AddSyntacticClassificationsAsync(Document , TextSpan , List`1 , CancellationToken )
 at Microsoft.CodeAnalysis.Editor.WorkspaceClassificationDelegationService.AddSyntacticClassificationsAsync(IClassificationService service, Document document, TextSpan textSpan, List`1 result, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SyntacticClassificationTaggerProvider.TagComputer.AddClassifiedSpansForCurrentTree[TClassificationService](IClassificationDelegationService`1 delegationService, TClassificationService classificationService, SnapshotSpan span, Document document, List`1 classifiedSpans)
 at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SyntacticClassificationTaggerProvider.TagComputer.AddClassifiedSpans[TClassificationService](IClassificationDelegationService`1 delegationService, TClassificationService classificationService, SnapshotSpan span, List`1 classifiedSpans)
 at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SyntacticClassificationTaggerProvider.TagComputer.GetTags[TClassificationService](NormalizedSnapshotSpanCollection spans, HostLanguageServices languageServices, IClassificationDelegationService`1 delegationService)
 at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SyntacticClassificationTaggerProvider.TagComputer.GetTags(NormalizedSnapshotSpanCollection spans)
 at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SyntacticClassificationTaggerProvider.Tagger.GetTags(NormalizedSnapshotSpanCollection spans)
 at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTagsForBuffer>d__39.MoveNext()
 at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<InternalGetTags>d__40.MoveNext()
 at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierAggregator.InternalGetClassificationSpans(SnapshotSpan span, IEnumerable`1 tags)
 at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierAggregator.GetClassificationSpans(SnapshotSpan span)
 at Microsoft.VisualStudio.Text.Formatting.Implementation.NormalizedSpanGenerator.CreateClassifiedRuns(SnapshotSpan span, IAccurateClassifier classifier, IClassificationFormatMap classificationFormatMap, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Formatting.Implementation.NormalizedSpanGenerator.Create(ITextAndAdornmentCollection elements, ITextSnapshot sourceSnapshot, IAccurateClassifier classifier, IClassificationFormatMap classificationFormatMap, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Formatting.Implementation.FormattedLineSource.FormatLineInVisualBufferIfChanged(ITextSnapshotLine visualLine, IList`1 oldLines, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.FormatSnapshotLine(ITextSnapshotLine visualLine, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.LayoutLineCache.DoAnchorFormat(SnapshotPoint anchorPosition, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.DoAnchorLayout(LayoutDescription layout, SnapshotPoint anchorPosition, Double verticalDistance, Double topToBaselineDistance, ViewRelativePosition relativeTo, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.PerformLayout(ITextSnapshot newSnapshot, ITextSnapshot newVisualSnapshot, SnapshotPoint anchorPosition, Double verticalDistance, ViewRelativePosition relativeTo, Double effectiveViewportWidth, Double effectiveViewportHeight, Boolean preserveViewportTop, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.PerformLayout(ITextSnapshot newSnapshot, ITextSnapshot newVisualSnapshot)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.<QueueLayout>b__267_0()
 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.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-471595: Not initialized

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Sep 20, 2018 6:00:31 PM
Updated Oct 25, 2018 3:56:57 PM
Subsystem Platform - Project Model
Assignee Nikita Popov (poksh)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion VS10 (2010)
ReSharperPlatformVs10 Wave 183 Hive ProjectModel — JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180918.154710-eap01d

JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180918.160255-eap01d

Not initialized

— EXCEPTION #1/2 [InvalidOperationException]
Message = “Not initialized”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.RdCore
StackTraceString = “
 at JetBrains.Platform.RdFramework.Util.Maybe`1.OrElseThrow(Func`1 func)
 at JetBrains.Platform.RdFramework.Util.Maybe`1.OrElseThrow(Func`1 func)
 at JetBrains.Platform.RdFramework.Util.RProperty`1.get_Value()
 at JetBrains.Platform.RdFramework.Impl.RdProperty`1.get_Value()
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.NuGetApi.get_IsNuGetAvailable()
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.ReferenceAnnotations.ReferenceAnnotationsPackageProvider.<GetActions>d__2.MoveNext()
 at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
 at JetBrains.ReSharper.Feature.Services.QuickFixes.QuickFixTable.CreateCustomWarningActions(IHighlighting highlighting, ISolution solution, DocumentRange highlightingRange)
 at JetBrains.ReSharper.Intentions.Bulbs.QuickFixesProvider.CollectQuickFixesUnderCaret(BulbItemsCache bulbItemsCache, IntentionsBulbItems intentionsBulbItems, ITextControl textControl, HighlightingsData highlightingsData)
 at JetBrains.ReSharper.Intentions.Bulbs.QuickFixesProvider.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)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Not initialized”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool(S) #6”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180918.154710-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180918.160255-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183-deferred-projects::f881e303bc575e4fd458361426a27fbf97c94603


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

Data.VsVersion = 10.0.40219.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 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 #5.JetPool(S) #6(Action )
 at JetBrains.Util.Reflection.CallStackAnnotation.InvokeAnnotated(String classNameOfNewFrame, String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Util.Reflection.CallStackAnnotation.CatchAnnotatedInvocation[TClassOfNewFrame](String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.<Start>b__20_0()
 at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart()

RSRP-459701: advance past the end of text

$
0
0
Reporter Igor Akhmetov (Igor.Akhmetov) Igor Akhmetov (Igor.Akhmetov)
Created Jul 7, 2016 9:30:31 PM
Updated Oct 25, 2018 4:41:04 PM
Resolved Oct 25, 2018 4:41:04 PM
Subsystem Live Templates
Assignee Slava Tutushkin (slava.tutushkin)
Priority Normal
State Obsolete
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 06 RootSuffix ReSharper — JetBrains ReSharper Ultimate 2016.2 EAP 6 Build 106.0.20160622.0-eap6

JetBrains ReSharper 2016.2 EAP 6 Build 2016.2.20160622.0-eap6
JetBrains ReSharper C++ 2016.2 EAP 6 Build 2016.2.20160622.0-eap6
JetBrains TeamCity Add-in 2016.2 EAP 6 Build 2016.2.20160622.0-eap6

advance past the end of text

— EXCEPTION #1/1 [LoggerException]
Message = “advance past the end of text”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2016.2 EAP 6 Build 106.0.20160622.0-eap6”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 2016.2 EAP 6 Build 2016.2.20160622.0-eap6”
Data.SubProducts.#1 = “JetBrains TeamCity Add-in 2016.2 EAP 6 Build 2016.2.20160622.0-eap6”
Data.SubProducts.#2 = “JetBrains ReSharper 2016.2 EAP 6 Build 2016.2.20160622.0-eap6”
Data.ManagedThreadName = “JetPool (S) Regular thread #1”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave06-Cpp::808d973fba517c19fca4d01f7d6063d44fc11390

Data.VsVersion = 14.0.25123.0
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.ILoggerEx.LogMessage(ILogger this, LoggingLevel level, String message) in e:\dotnet\Platform\Core\Shell\Util\Src\Logging\ILoggerEx.cs:line 748
 at JetBrains.Util.ILoggerEx.LogMessage(ILogger this, LoggingLevel level, String message) in e:\dotnet\Platform\Core\Shell\Util\Src\Logging\ILoggerEx.cs:line 748
 at JetBrains.Util.ILoggerEx.Error(ILogger this, String message) in e:\dotnet\Platform\Core\Shell\Util\Src\Logging\ILoggerEx.cs:line 397
 at JetBrains.Util.Logging.Logger.LogError(String message) in e:\dotnet\Platform\Core\Shell\Util\Src\Logging\Logger.cs:line 776
 at JetBrains.ReSharper.Psi.Cpp.Parsing.CppLexerGenerated.Advance() in e:\dotnet\psi.features\cpp\src\psi\src\parsing\cpplexer.cpp:line 52
 at JetBrains.ReSharper.Psi.Cpp.Parsing.CppLexer.Advance() in e:\dotnet\psi.features\cpp\src\psi\src\parsing\cpplexer.cpp:line 143
 at JetBrains.ReSharper.Feature.Services.LiveTemplates.Templates.TemplateLexer.Advance() in e:\dotnet\Psi.Features\Core\Services\_Core\Src\LiveTemplates\Templates\TemplateLexer.cs:line 69
 at JetBrains.ReSharper.Feature.Services.LiveTemplates.Templates.TemplateLexer.Start() in e:\dotnet\Psi.Features\Core\Services\_Core\Src\LiveTemplates\Templates\TemplateLexer.cs:line 45
 at JetBrains.ReSharper.LiveTemplates.UI.TemplateEditor.TemplateTextHighlighter.<>c__DisplayClass3.<HighlightTemplateText>b__2(Lifetime l) in e:\dotnet\Psi.Features\src\LiveTemplates\_Core\Src\UI\TemplateEditor\TemplateTextHighlighter.cs:line 78
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ) in e:\dotnet\Platform\Core\Shell\Util\Src\DataFlow\Lifetime\Lifetimes.cs:line 27
 at JetBrains.ReSharper.LiveTemplates.UI.TemplateEditor.TemplateTextHighlighter.<HighlightTemplateText>b__1() in e:\dotnet\Psi.Features\src\LiveTemplates\_Core\Src\UI\TemplateEditor\TemplateTextHighlighter.cs:line 61
 at JetBrains.Application.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F) in e:\dotnet\Platform\Core\Shell\Shell\Src\Threading\IShellLocksEx.cs:line 201
 at JetBrains.ReSharper.Resources.Shell.ReadLockCookie.Execute(Action action) in e:\dotnet\Psi.Features\Core\Resources\Src\Shell\ReadLockCookie.cs:line 58
 at JetBrains.ReSharper.LiveTemplates.UI.TemplateEditor.TemplateTextHighlighter.<HighlightTemplateText>b__0() in e:\dotnet\Psi.Features\src\LiveTemplates\_Core\Src\UI\TemplateEditor\TemplateTextHighlighter.cs:line 53
 at JetBrains.ReSharper.LiveTemplates.UI.TemplateEditor.TemplateTextHighlighter.HighlightTemplateText() in e:\dotnet\Psi.Features\src\LiveTemplates\_Core\Src\UI\TemplateEditor\TemplateTextHighlighter.cs:line 115
 at JetBrains.ReSharper.LiveTemplates.UI.TemplateEditor.TemplateTextViewControl.UpdateHighlighting() in e:\dotnet\Psi.Features\src\LiveTemplates\_Core\Src\UI\TemplateEditor\TemplateTextViewControl.cs:line 59
 at JetBrains.ReSharper.LiveTemplates.UI.TemplateEditor.TemplateTextViewControl.DocumentTextChanged(Object sender, EventArgs`1 args) in e:\dotnet\Psi.Features\src\LiveTemplates\_Core\Src\UI\TemplateEditor\TemplateTextViewControl.cs:line 54
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
 at System.Delegate.DynamicInvokeImpl(Object[] args)
 at System.Delegate.DynamicInvoke(Object[] args)
 at JetBrains.Util.Events.EventDispatcher.Invoke(Delegate listener) in e:\dotnet\Platform\Core\Shell\Util\Src\events\EventDispatcher.cs:line 124
 at JetBrains.Util.Events.EventDispatcher.RaiseEvent(Object sender, EventArgs args) in e:\dotnet\Platform\Core\Shell\Util\Src\events\EventDispatcher.cs:line 104
 at JetBrains.DocumentModel.Impl.DocumentBase.RaiseDocumentChangedEvents(DocumentChange args, Boolean needCopyChangeEvent) in e:\dotnet\Platform\Core\Text\Documents\Src\impl\DocumentBase.cs:line 327
 at JetBrains.DocumentModel.impl.ManagedDocumentBase.HandleExternalDocumentChange(DocumentChange args, Int32 timestamp) in e:\dotnet\Platform\Core\Text\Documents\Src\impl\ManagedDocumentBase.cs:line 165
 at JetBrains.DocumentModel.impl.ManagedDocumentBase.HandleExternalChange(DocumentChange documentChange, Int32 timestamp) in e:\dotnet\Platform\Core\Text\Documents\Src\impl\ManagedDocumentBase.cs:line 68
 at JetBrains.VsIntegration.IDE.Documents.Whidbey.VsDocumentOperationsHandlerWhidbey.<>c__DisplayClass20.<OnChangeStreamTextCore>b__1f() in e:\dotnet\Platform\VisualStudio\Core\Src\IDE\Documents\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 325
 at JetBrains.DocumentModel.Impl.DocumentBase.ExpectCallbacksFromUnderlyingStore(Action F) in e:\dotnet\Platform\Core\Text\Documents\Src\impl\DocumentBase.cs:line 96
 at JetBrains.VsIntegration.IDE.Documents.Whidbey.VsDocumentOperationsHandlerWhidbey.<>c__DisplayClass20.<OnChangeStreamTextCore>b__1e() in e:\dotnet\Platform\VisualStudio\Core\Src\IDE\Documents\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 325
 at JetBrains.Application.CommandProcessing.ICommandProcessorEx.WithCommand(ICommandProcessor thіs, String commandName, Action action) in e:\dotnet\Platform\Core\Shell\Shell\Src\CommandProcessing\ICommandProcessorEx.cs:line 23
 at JetBrains.VsIntegration.IDE.Documents.Whidbey.VsDocumentOperationsHandlerWhidbey.OnChangeStreamTextCore(TextRange oldrange, TextRange newrange) in e:\dotnet\Platform\VisualStudio\Core\Src\IDE\Documents\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 325
 at JetBrains.VsIntegration.IDE.Documents.Whidbey.VsDocumentOperationsHandlerWhidbey.Microsoft.VisualStudio.TextManager.Interop.IVsTextStreamEvents.OnChangeStreamText(Int32 iPos, Int32 iOldLen, Int32 iNewLen, Int32 fLast) in e:\dotnet\Platform\VisualStudio\Core\Src\IDE\Documents\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 806
 at Microsoft.VisualStudio.Editor.Implementation.TextDocData.OnTextBufferChanged(Object sender, TextContentChangedEventArgs e)
 at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)
 at Microsoft.VisualStudio.Text.Implementation.BaseBuffer.RawRaiseEvent(TextContentChangedEventArgs args, Boolean immediate)
 at Microsoft.VisualStudio.Text.Implementation.BaseBuffer.TextContentChangedEventRaiser.RaiseEvent(BaseBuffer baseBuffer, Boolean immediate)
 at Microsoft.VisualStudio.Text.Implementation.BufferGroup.RaiseEvents()
 at Microsoft.VisualStudio.Text.Implementation.BufferGroup.FinishEdit()
 at Microsoft.VisualStudio.Text.Implementation.BaseBuffer.TextBufferEdit.Apply()
 at Microsoft.VisualStudio.Text.Operations.Implementation.EditorOperations.EditHelper(Func`2 editAction)
 at Microsoft.VisualStudio.Text.Operations.Implementation.EditorOperations.DeleteHelper(NormalizedSpanCollection spans)
 at Microsoft.VisualStudio.Text.Operations.Implementation.EditorOperations.<>c__DisplayClass81_0.<Delete>b__1()
 at Microsoft.VisualStudio.Text.Operations.Implementation.EditorOperations.ExecuteAction(String undoText, Func`1 action, SelectionUpdate preserveCaretAndSelection, Boolean ensureVisible)
 at Microsoft.VisualStudio.Text.Operations.Implementation.EditorOperations.Delete()
 at Microsoft.VisualStudio.Text.Operations.Implementation.EditorOperations.CutSelection()
 at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.Undo.UndoManagerCommandFilter.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.VerticalDetail.VerticalContentCommandFilter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.Find.FindCommandFilter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.IntellisenseCommandFilter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.BraceCompletionCommandFilter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.CallNextCommandTargetImpl(CommandID commandid, UInt32 cmdExecOpt, IntPtr pvaIn, IntPtr pvaOut) in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 212
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.CallNextCommandTarget(CommandID commandid, UInt32 cmdExecOpt, IntPtr pvaIn, IntPtr pvaOut) in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 188
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass6.<ExecDelegateBackToVs>b__5(Lifetime lifetime) in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 154
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ) in e:\dotnet\Platform\Core\Shell\Util\Src\DataFlow\Lifetime\Lifetimes.cs:line 27
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass6.<ExecDelegateBackToVs>b__4() in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 150
 at JetBrains.Application.CommandProcessing.ICommandProcessorEx.WithCommand(ICommandProcessor thіs, String commandName, Action action) in e:\dotnet\Platform\Core\Shell\Shell\Src\CommandProcessing\ICommandProcessorEx.cs:line 23
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass6.<ExecDelegateBackToVs>b__3() in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 148
 at JetBrains.DocumentModel.Impl.DocumentBase.ExpectCallbacksFromUnderlyingStore(Action F) in e:\dotnet\Platform\Core\Text\Documents\Src\impl\DocumentBase.cs:line 96
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.ExecDelegateBackToVs(String sCommandName, CommandID commandid, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 148
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass1d.<Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec>b__1c(String commandName) in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 390
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass19.<WithRegisteredDelegateBackToVsHandler>b__18() in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 335
 at JetBrains.Util.Logging.Logger.Catch(Action action) in e:\dotnet\Platform\Core\Shell\Util\Src\Logging\Logger.cs:line 313
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.DelegateToVs() in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 125
 at JetBrains.VsIntegration.TextControl.VsTextControlActionExecuter.Execute(TextControlActionBase textControlAction, IDataContext context, DelegateExecute nextExecute) in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsInitActionSystemAdapter.cs:line 53
 at JetBrains.TextControl.Actions.TextControlActionBase.Execute(IDataContext context, DelegateExecute nextExecute) in e:\dotnet\Platform\Core\Text\TextControl\Src\actions\TextControlActions.cs:line 33
 at JetBrains.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Execute(IAction action, List`1 allActions, IDataContext dataContext) in e:\dotnet\Platform\Core\Shell\UI\Src\ActionsRevised\Handlers\ExececutableActionEvaluator.cs:line 47
 at JetBrains.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.<>c__DisplayClass4.<Execute>b__0() in e:\dotnet\Platform\Core\Shell\UI\Src\ActionsRevised\Handlers\ExececutableActionEvaluator.cs:line 43
 at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler.Execute(Int32 handlerIndex, IDataContext context, DelegateExecute nextExecute) in e:\dotnet\Psi.Features\Core\Services\_Core\Src\Clipboard\ClipboardActionHandler.cs:line 35
 at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler.<>c__DisplayClass4.<Execute>b__3() in e:\dotnet\Psi.Features\Core\Services\_Core\Src\Clipboard\ClipboardActionHandler.cs:line 33
 at JetBrains.ReSharper.InplaceRefactorings.CutCopyPaste.CopyPasteManager.DoCopyOrCut(IDataContext context, Boolean isCut, DelegateExecute nextExecute) in e:\dotnet\Psi.Features\src\Refactorings\Inplace\Src\CutCopyPaste\CopyPasteManager.cs:line 166
 at JetBrains.ReSharper.InplaceRefactorings.CutCopyPaste.CopyPasteManager.DoCut(IDataContext context, DelegateExecute nextExecute) in e:\dotnet\Psi.Features\src\Refactorings\Inplace\Src\CutCopyPaste\CopyPasteManager.cs:line 101
 at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler.Execute(Int32 handlerIndex, IDataContext context, DelegateExecute nextExecute) in e:\dotnet\Psi.Features\Core\Services\_Core\Src\Clipboard\ClipboardActionHandler.cs:line 33
 at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler.<>c__DisplayClass4.<Execute>b__3() in e:\dotnet\Psi.Features\Core\Services\_Core\Src\Clipboard\ClipboardActionHandler.cs:line 33
 at JetBrains.ReSharper.Feature.Services.Clipboard.CopyPasteAssistManager.DoCopyOrCut(IDataContext context, DelegateExecute nextExecute) in e:\dotnet\Psi.Features\Core\Services\_Core\Src\Clipboard\CopyPasteAssistManager.cs:line 102
 at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler.Execute(Int32 handlerIndex, IDataContext context, DelegateExecute nextExecute) in e:\dotnet\Psi.Features\Core\Services\_Core\Src\Clipboard\ClipboardActionHandler.cs:line 33
 at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in e:\dotnet\Psi.Features\Core\Services\_Core\Src\Clipboard\ClipboardActionHandler.cs:line 26
 at JetBrains.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Execute(IAction action, List`1 allActions, IDataContext dataContext) in e:\dotnet\Platform\Core\Shell\UI\Src\ActionsRevised\Handlers\ExececutableActionEvaluator.cs:line 47
 at JetBrains.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.<>c__DisplayClass4.<Execute>b__0() in e:\dotnet\Platform\Core\Shell\UI\Src\ActionsRevised\Handlers\ExececutableActionEvaluator.cs:line 43
 at JetBrains.ReSharper.Feature.Services.TypingAssist.ActionContext.CallNext() in e:\dotnet\Psi.Features\Core\Services\_Core\Src\TypingAssist\ActionContext.cs:line 42
 at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.Handle[TContext,THandler](TContext context, List`1 handlers, ChainedContextBase`2 chainedContextFactory) in e:\dotnet\Psi.Features\Core\Services\_Core\Src\TypingAssist\TypingAssistManager.cs:line 54
 at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.Act(ITextControl textControl, String actionId, DelegateExecute nextExecute) in e:\dotnet\Psi.Features\Core\Services\_Core\Src\TypingAssist\TypingAssistManager.cs:line 89
 at JetBrains.ReSharper.Feature.Services.TypingAssist.ExternalActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in e:\dotnet\Psi.Features\Core\Services\_Core\Src\TypingAssist\ExternalActionHandler.cs:line 33
 at JetBrains.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Execute(IAction action, List`1 allActions, IDataContext dataContext) in e:\dotnet\Platform\Core\Shell\UI\Src\ActionsRevised\Handlers\ExececutableActionEvaluator.cs:line 47
 at JetBrains.UI.ActionsRevised.Handlers.EvaluatedAction.<ExecuteWithoutRequirements>b__c(Lifetime lt) in e:\dotnet\Platform\Core\Shell\UI\Src\ActionsRevised\Handlers\EvaluatedAction.cs:line 92
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ) in e:\dotnet\Platform\Core\Shell\Util\Src\DataFlow\Lifetime\Lifetimes.cs:line 74
 at JetBrains.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements() in e:\dotnet\Platform\Core\Shell\UI\Src\ActionsRevised\Handlers\EvaluatedAction.cs:line 84
 at JetBrains.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClassa.<PrepareRequirementsAsync>b__4() in e:\dotnet\Platform\Core\Shell\UI\Src\ActionsRevised\Handlers\EvaluatedAction.cs:line 63
 at JetBrains.UI.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking) in e:\dotnet\Platform\Core\Shell\UI\Src\ActionsRevised\Handlers\RequirementsManager.cs:line 87
 at JetBrains.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(Func`1 executeWhenRequirementsReady, Action failWith) in e:\dotnet\Platform\Core\Shell\UI\Src\ActionsRevised\Handlers\EvaluatedAction.cs:line 61
 at JetBrains.UI.ActionsRevised.Handlers.EvaluatedAction.Execute() in e:\dotnet\Platform\Core\Shell\UI\Src\ActionsRevised\Handlers\EvaluatedAction.cs:line 79
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass12.<TryDelegateToTypingHandlers_NonTyping>b__11() in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 286
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 344
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.TryDelegateToTypingHandlers_NonTyping(CommandID commandid, Action`1 FExecDelegateBackToVs) in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 286
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.TryDelegateToTypingHandlers(Boolean bIsTyping, CommandID commandid, IntPtr pvaIn, Action`1 FExecDelegateBackToVsClosed) in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 258
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass1d.<Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec>b__1b() in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 391
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in e:\dotnet\Platform\Core\Shell\Util\Src\Concurrency\ReentrancyGuard.cs:line 287
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in e:\dotnet\Platform\Core\Shell\Util\Src\Concurrency\ReentrancyGuard.cs:line 497
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in e:\dotnet\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 378
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CompoundTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.VsCodeEditorDevTen.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroup, UInt32 nCmdId, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in e:\dotnet\Platform\VisualStudio\SinceVs10\Src\TextControl\VsCodeEditorDevTen.cs:line 432
 at Microsoft.VisualStudio.Shell.Interop.IVsFilterKeys2.TranslateAcceleratorEx(MSG[] pMsg, UInt32 dwFlags, UInt32 cKeyBindingScopes, Guid[] rgguidKeyBindingScopes, Guid& pguidCmd, UInt32& pdwCmd, Int32& fCmdTranslated, Int32& pfKeyComboStartsChord)
 at JetBrains.VsIntegration.Interop.Extension.IVsFilterKeysEx.TranslateAcceleratorEx(IVsFilterKeys2 filterKeys2, MSG oleMsg, __VSTRANSACCELEXFLAGS scope) in e:\dotnet\Platform\VisualStudio\Core\Src\Interop\Extension\IVsFilterKeysEx.cs:line 45
 at JetBrains.VsIntegration.Interop.Extension.IVsFilterKeysEx.TranslateAcceleratorEx(IVsFilterKeys2 filterKeys2, MSG winMsg, __VSTRANSACCELEXFLAGS flags) in e:\dotnet\Platform\VisualStudio\Core\Src\Interop\Extension\IVsFilterKeysEx.cs:line 62
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.VsCodeEditorDevTen.PreTranslateMessage(MSG msg) in e:\dotnet\Platform\VisualStudio\SinceVs10\Src\TextControl\VsCodeEditorDevTen.cs:line 368
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.VsCodeEditorDevTen.System.Windows.Forms.IMessageFilter.PreFilterMessage(Message& message) in e:\dotnet\Platform\VisualStudio\SinceVs10\Src\TextControl\VsCodeEditorDevTen.cs:line 381
 at JetBrains.UI.CrossFramework.JetElementHost.ProcessCmdKey(Message& msg, Keys keyData) in e:\dotnet\Platform\Core\Shell\Util\Src\Interop\JetElementHost.cs:line 365
 at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
 at JetBrains.VsIntegration.IDE.PersistableView.VsPersistableViewWindowPane.PreProcessMessage(Message& m) in e:\dotnet\Platform\VisualStudio\Core\Src\IDE\PersistableView\VSPersistableViewWindowPane.cs:line 157
 at Microsoft.VisualStudio.Shell.WindowPane.Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.TranslateAccelerator(MSG[] msg)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowPaneDocumentObject.TranslateAccelerator(MSG& lpmsg)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.TranslateAccelerator(MSG& oleMsg)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.TranslateAccelerator(MSG& msg)

RSRP-471972: Live Template: How to use $END$ without newline?

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created Oct 24, 2018 4:29:54 PM
Updated Oct 25, 2018 4:41:26 PM
Subsystem Live Templates
Assignee Slava Tutushkin (slava.tutushkin)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
given the attached resharper template, I cannot avoid a newline being appended after the field initializer when using it.


RSRP-471803: Under certain circumstances, dependencies between classes are not noticed by Resharper

$
0
0
Reporter Max Guernsey (maxguernseyiii) Max Guernsey (maxguernseyiii)
Created Oct 10, 2018 7:45:12 PM
Updated Oct 25, 2018 4:47:43 PM
Subsystem Code Analysis
Assignee Maltseva Ekaterina (Maltseva.Ekaterina)
Priority Normal
State Open
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

The problem is that sometimes some methods which are in fact used are treated as if there are no references to it even though there are several references to it. Practically speaking, this affects everything but its biggest impact on me is that it makes rename and safe delete unsafe operations. It also makes the code render stupidly - graying out public methods that are called by the method right above or below it in the same file.

I'm not going to engage in magical thinking and pretend I know the cause so I'll just dump what I think I know and hope someone with more context can figure out the problem.

Here are the circumstances, some of which probably matter:

  1. The code is in a .NET Standard project.
  2. The project has file references to copies of UnityEngine.dll et al
  3. The code references other .NET standard projects, which are functioning perfectly.
  4. All of the classes where the problem is happening inherit MonoBehaviour.

Here are things that I am pretty sure aren't sole causal factors:

  1. .NET Standard: I have other projects in the same solution and they work just fine.
  2. Just using Unity classes I have several classes which do not inherit MonoBehaviour and Resharper works fine with all of them.
  3. The presence or absence of the Unity plug-in. I can't figure out how that plug-in is supposed to help me but it has absolutely no impact on this problem either way.

I'd be glad to add any more information upon request.

RSRP-471992: Rename: checkbox is checked/unchecked if click on empty space near label.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 25, 2018 4:48:17 PM
Updated Oct 25, 2018 4:48:17 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Usability Problem
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

Branch: 183-alisa.textbox.1.
JetBrains.ReSharperUltimate.2018.3.EAP5D.Checked.(183.0.20181024.13948-eap05d).

Actual result:
Checkbox is checked/unchecked if click on empty space near label:

Expected result:
Checkbox is checked/unchecked if clicking on checkbox or label.

RSRP-471946: Re# incorrectly marks as error unsafe nested functions inside enumerable-generator methods

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Oct 22, 2018 7:42:02 PM
Updated Oct 25, 2018 4:48:30 PM
Subsystem Code Analysis
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

I've noticed that Re# doesn't currently handle unsafe nested functions inside an enumerable method, and shows the red squiggly line saying "pointers can only be used in an unsafe context", even if the nested function is indeed marked as unsafe, and the code compiles and runs fine.

RSRP-471993: [Performance Report] Resharper is slowing down the typing in visual studio

$
0
0
Reporter Constantin Trifan (constantin.trifan) Constantin Trifan (constantin.trifan)
Created Oct 25, 2018 4:56:16 PM
Updated Oct 25, 2018 4:56:18 PM
Subsystem No Subsystem
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Open
Type Performance Problem
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.17134.0
Product: ReSharper, Version: 2018.1.20180626.161940
Time Zone: Eastern Standard Time

Description

ReSharper is slowing down the typing in visual studio 2017. Sometimes I start typing and the code appears after 1-2 seconds on the screen.... Disabling Resharper fixes the issue.

RSRP-471994: Rename: not the whole name is selected if Back button is clicked in Rename Usages dialog.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 25, 2018 5:01:00 PM
Updated Oct 25, 2018 5:01:00 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Cosmetics
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

Branch: 183-alisa.textbox.1.
JetBrains.ReSharperUltimate.2018.3.EAP5D.Checked.(183.0.20181024.13948-eap05d).

        // Test11_1
        public int Test11_1
        {
            get => _test1_2;
            set => _test1_2 = value;
        }
  1. Invoke Rename on Test11_1.
  2. Set Test11_1222 as Name; check "Search in comment".
  3. Click Next.
  4. Click Back in Rename Usages In Comment dialog.

Actual result:
Part of the name (previous name actually) is selected:

Expected result:
Whole new name is selected.

Viewing all 106942 articles
Browse latest View live


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