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

RSRP-459857: Das angegebene Argument liegt außerhalb des gültigen Wertebereichs. Parametername: length

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jul 18, 2016 11:46:38 PM
Updated Jul 19, 2016 1:44:07 PM
Subsystem TODO Items
Assignee Mikhail Senkov (micha)
Priority Normal
State Submitted
Type Exception
Affected versions No Affected versions
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 06 — JetBrains ReSharper Ultimate 2016.2 EAP 8 Build 106.0.20160714.80000-eap8

JetBrains dotMemory 2016.2 EAP 8 Build 2016.2.20160714.83154-eap8
JetBrains dotTrace 2016.2 EAP 8 Build 2016.2.20160714.83158-eap8
JetBrains ReSharper 2016.2 EAP 8 Build 2016.2.20160714.81705-eap8

Das angegebene Argument liegt außerhalb des gültigen Wertebereichs. Parametername: length Das angegebene Argument liegt außerhalb des gültigen Wertebereichs. Parameter name: length

— EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Das angegebene Argument liegt außerhalb des gültigen Wertebereichs.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = JetBrains.Platform.Util
ParamName = length
StackTraceString = “
  at JetBrains.Util.TextRange.TrimRight(Int32 length)
     at JetBrains.ReSharper.Feature.Services.CSharp.TodoItems.CSharpTodoContentsProvider.GetTokenContentsRange(String documentText, TextRange tokenRange, TokenNodeType tokenType)
     at JetBrains.ReSharper.Feature.Services.TodoItems.TodoManagerFileService.EnumerateTokens(SeldomInterruptChecker checker, ILexer lexer, List`1 items, ICollection`1 providers, ITodoMatcher[] matchers, ITodoItemBuilder itemBuilder, Func`2 docRangeTranslator)
     at JetBrains.ReSharper.Feature.Services.TodoItems.TodoManagerFileService.EnumerateTokens(SeldomInterruptChecker checker, IPsiSourceFile sourceFile, List`1 items, ICollection`1 providers, ITodoMatcher[] matchers, ITodoItemBuilder itemBuilder)
     at JetBrains.ReSharper.Feature.Services.TodoItems.ClrTodoManager.FindItems(IPsiSourceFile sourceFile, ITodoMatcher[] matchers)
     at JetBrains.ReSharper.Feature.Services.TodoItems.ClrTodoManager.ProcessSourceFile(IPsiSourceFile sourceFile)
     at JetBrains.ReSharper.Feature.Services.TodoItems.ClrTodoManager.Build(IPsiSourceFile sourceFile, Boolean isStartup)
     at JetBrains.ReSharper.Psi.Caches.SimpleICache`1.ProcessDirty()
     at JetBrains.ReSharper.Psi.Caches.SimpleICache`1.SyncUpdate(Boolean underTransaction)
     at JetBrains.ReSharper.Psi.Caches.PsiCaches.Update()
     at JetBrains.ReSharper.Psi.Files.PsiFiles.NotifyListeners(List`1 notifications)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “
Das angegebene Argument liegt außerhalb des gültigen Wertebereichs.
Parametername: length

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2016.2 EAP 8 Build 106.0.20160714.80000-eap8”
Data.SubProducts.#0 = “JetBrains dotMemory 2016.2 EAP 8 Build 2016.2.20160714.83154-eap8”
Data.SubProducts.#1 = “JetBrains dotTrace 2016.2 EAP 8 Build 2016.2.20160714.83158-eap8”
Data.SubProducts.#2 = “JetBrains ReSharper 2016.2 EAP 8 Build 2016.2.20160714.81705-eap8”
Data.ManagedThreadName = “JetPool (S) Regular thread #1”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave06-eap8::0418c9f58ef7dcd97e5ac8825f34ad422a483f7b

Data.VsVersion = 14.0.25422.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  bei JetBrains.ReSharper.Psi.Files.PsiFiles.NotifyListeners(List`1 notifications)
     bei JetBrains.ReSharper.Psi.Files.PsiFiles.<ExecuteCommitDocuments>b__1b()
     bei JetBrains.ReSharper.Psi.Files.CommitProcessAsync2.OnSuccess()
     bei JetBrains.ReSharper.Psi.Files.CommitProcessAsync2.<OnPsiBuilded>b__2(MapReduceJob`4 _)
     bei JetBrains.Application.Threading.MapReduceJob`4.FinalActionActivity()
     bei JetBrains.Threading.JetBarrier`2.<>c__DisplayClass4.<.ctor>b__2(TIn _)
     bei JetBrains.Threading.JetBarrier`2.Signal(Boolean awaitForAllParties, Int32 numberOfSignals, Func`2 inputUpdater, Int32 waitTimeoutMilliseconds)
     bei JetBrains.Application.Threading.MapReduceJob`4.ReduceActivity(IEnumerable`1 reduceActivityInput)
     bei JetBrains.Application.Threading.MapReduceJob`4.<>c__DisplayClass6`1.<ExecuteOnThread>b__3()
     bei JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass4.<>c__DisplayClass6.<Queue>b__3()
     bei JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
     bei JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
     bei JetBrains.Threading.JetDispatcher.Closure.Execute()
     bei JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue()
     bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
     bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
     bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
     bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
     bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     bei MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
     bei System.Windows.Threading.DispatcherOperation.Invoke()
     bei System.Windows.Threading.Dispatcher.ProcessQueue()
     bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
     bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
     bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
     bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
     bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

RSRP-281782: File Header text should be included always

$
0
0
Reporter Philipp Dolder (philipp.dolder) Philipp Dolder (philipp.dolder)
Created Nov 18, 2011 4:43:10 AM
Updated Jul 19, 2016 1:55:52 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Open
Type Usability Problem
Affected versions 6.0
Fix version Backlog
Fixed In Version ReSharper Undefined
VsVersion All Versions
The file header setting should also be respected when refactorings that create new files are performed (e.g. Extract Interface)

RSRP-456921: New reference must exist

$
0
0
Reporter Alexander Petrovsky (apetrov2) Alexander Petrovsky (apetrov2)
Created Mar 18, 2016 6:24:03 AM
Updated Jul 19, 2016 2:43:50 PM
Subsystem Refactorings
Assignee Alexander Petrovsky (apetrov2)
Priority Show-stopper
State Submitted
Type Exception
Affected versions No Affected versions
Fix version 2016.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 05 RootSuffix ReSharper — JetBrains ReSharper Ultimate 2016.1 EAP 7 Build 105.0.20160310.0-eap7

JetBrains ReSharper 2016.1 EAP 7 Build 2016.1.20160310.0-eap7
JetBrains TeamCity Add-in 2016.1 EAP 7 Build 2016.1.20160310.0-eap7

New reference must exist

— EXCEPTION #1/2 [AssertionException]
Message = “New reference must exist”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.Util
StackTraceString = “
  at JetBrains.Util.AssertionWithSensitiveData.Fail(String message, Pair`2[] sensitiveData) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\AssertionWithSensitiveData.cs:line 122
     at JetBrains.Util.AssertionWithSensitiveData.AssertNotNull(Object condition, String message, Pair`2 d1, Pair`2 d2) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\AssertionWithSensitiveData.cs:line 210
     at JetBrains.ReSharper.Psi.Html.Impl.References.HtmlPathReferenceBase`2.BindToInternal(IDeclaredElement declaredElement, ISubstitution substitution) in C:\Work\ReSharper.Uber\Psi.Features\Core\Psi\Web\src\Html\Impl\References\HtmlPathReferenceBase.cs:line 81
     at JetBrains.ReSharper.Psi.Impl.Shared.References.QualifiableReferenceWithinElement`2.BindTo(IDeclaredElement element, ISubstitution substitution) in C:\Work\ReSharper.Uber\Psi.Features\Core\Psi\_Core\src\Impl\Shared\References\QualifiableReferenceWithinElement.cs:line 96
     at JetBrains.ReSharper.Refactorings.Util.NewTypeImages.ResolveImagesRepository.BindReferences(IProgressIndicator pi, ISolution solution) in C:\Work\ReSharper.Uber\Psi.Features\src\Refactorings\_Core\src\Util\NewTypeImages\ResolveImagesRepository.cs:line 177
     at JetBrains.ReSharper.Refactorings.Move.MoveToFolder.MoveToFolderRefactoring.Execute(IProgressIndicator pi) in C:\Work\ReSharper.Uber\Psi.Features\src\Refactorings\_Core\src\Move\MoveToFolder\MoveToFolderRefactoring.cs:line 149
     at JetBrains.ReSharper.Feature.Services.Refactorings.DrivenRefactoringWorkflow.Execute(IProgressIndicator progressIndicator) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\DrivenRefactoringWorkflow.cs:line 46
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.<>c__DisplayClass44_0.<ExecuteRefactoring>b__1() in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowExecuter.cs:line 611
     at JetBrains.ReSharper.Psi.Transactions.PsiTransactionCookie.ExecuteConditionally(IPsiServices psiServices, Func`1 action, String commandName) in C:\Work\ReSharper.Uber\Psi.Features\Core\Psi\_Core\src\Transactions\PsiTransactionCookie.cs:line 93
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.<ExecuteRefactoring>b__44_0(IProgressIndicator pi) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowExecuter.cs:line 611
     at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\FunctionWrapper.cs:line 37


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “New reference must exist”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2016.1 EAP 7 Build 105.0.20160310.0-eap7”
Data.SubProducts.#0 = “JetBrains TeamCity Add-in 2016.1 EAP 7 Build 2016.1.20160310.0-eap7”
Data.SubProducts.#1 = “JetBrains ReSharper 2016.1 EAP 7 Build 2016.1.20160310.0-eap7”
Data.ManagedThreadName = “JetPool (S) Regular thread #1”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave05::d514621b4f57d277b20324acb30eb7246c761647

Data.VsVersion = 14.0.24720.0
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Util.ILoggerEx.LogException(ILogger this, LoggingLevel level, Exception exception, ExceptionOrigin exceptionOrigin, String comment) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\Logging\ILoggerEx.cs:line 737
     at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception exception, ExceptionOrigin origin, String comment) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\Logging\ILoggerEx.cs:line 392
     at JetBrains.Util.Logging.Logger.LogException(Exception ex) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\Logging\Logger.cs:line 806
     at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\FunctionWrapper.cs:line 51
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary) in C:\Work\ReSharper.Uber\Platform\Core\Shell\UI\src\Progress\UITaskExecutorRun.cs:line 376
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState) in C:\Work\ReSharper.Uber\Platform\Core\Shell\UI\src\Progress\UITaskExecutorRun.cs:line 149
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.Run(TaskThreadAffinity taskThreadAffinity, Action`1 task, Func`3 FAttachUi, ProgressIndicator indicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState) in C:\Work\ReSharper.Uber\Platform\Core\Shell\UI\src\Progress\UITaskExecutorRun.cs:line 44
     at JetBrains.ReSharper.Feature.Services.Refactorings.RefactoringsTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\RefactoringsTaskExecutor.cs:line 54
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.RunWithProgress[TResult](Func`2 action, String taskName, TResult& result) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowExecuter.cs:line 482
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.ExecuteRefactoring(Boolean& result) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowExecuter.cs:line 611
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.TryExecuteRefactoring() in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowExecuter.cs:line 563
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.InitPage(IRefactoringPage page) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowExecuter.cs:line 448
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.NextPage(IRefactoringPage currentPage) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowExecuter.cs:line 354
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.MoveToNextPage() in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowExecuter.cs:line 216
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowHostWithWizardForm.<NextClick>b__19_0() in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowHostWithWizardForm.cs:line 188
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\Concurrency\ReentrancyGuard.cs:line 281
     at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\Concurrency\ReentrancyGuard.cs:line 371
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowHostWithWizardForm.NextClick(Object sender, EventArgs e) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowHostWithWizardForm.cs:line 187
     at JetBrains.ReSharper.Feature.Services.Refactorings.RefactoringWizardForm.myContinueButton_Click(Object sender, EventArgs e) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\RefactoringWizardForm.cs:line 687
     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-456920: IO Exception The directory is not empty

$
0
0
Reporter Alexander Petrovsky (apetrov2) Alexander Petrovsky (apetrov2)
Created Mar 18, 2016 6:23:57 AM
Updated Jul 19, 2016 2:44:08 PM
Subsystem Refactorings
Assignee Alexander Petrovsky (apetrov2)
Priority Show-stopper
State Submitted
Type Exception
Affected versions No Affected versions
Fix version 2016.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 05 RootSuffix ReSharper — JetBrains ReSharper Ultimate 2016.1 EAP 7 Build 105.0.20160310.0-eap7

JetBrains ReSharper 2016.1 EAP 7 Build 2016.1.20160310.0-eap7
JetBrains TeamCity Add-in 2016.1 EAP 7 Build 2016.1.20160310.0-eap7

IO Exception The directory is not empty

— EXCEPTION #1/3 [Win32Exception]
Message = “The directory is not empty”
ExceptionPath = Root.InnerException.InnerException
NativeErrorCode = 145
ClassName = System.ComponentModel.Win32Exception
HResult = E_FAIL=EFail=80004005

— Outer —

— EXCEPTION #2/3 [IOException]
Message = “IO Exception”
ExceptionPath = Root.InnerException
ClassName = System.IO.IOException
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_IO=80131620
Source = JetBrains.Platform.Util
StackTraceString = “
  at JetBrains.Util.Win32FileSystemInteraction.ThrowByError(WinError errorCode, String moniker, String additionalData) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\Win32FileSystemInteraction!1.cs:line 539
     at JetBrains.Util.Win32FileSystemInteraction.DeleteDirectoryNonRecursive(FileSystemPath thіs, Int32 nRetryCount) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\Win32FileSystemInteraction!1.cs:line 372
     at JetBrains.Util.FileSystemPath.DeleteDirectoryNonRecursive(Int32 nRetryCount) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\FileSystemPath!1.cs:line 94
     at JetBrains.DocumentManagers.Transactions.Actions.AddFolderAction.Rollback() in C:\Work\ReSharper.Uber\Platform\Core\Ide\ProjectDocuments\src\Transactions\Actions\AddFolderAction.cs:line 65


— Outer —

— EXCEPTION #3/3 [LoggerException]
Message = “IO Exception”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2016.1 EAP 7 Build 105.0.20160310.0-eap7”
Data.SubProducts.#0 = “JetBrains TeamCity Add-in 2016.1 EAP 7 Build 2016.1.20160310.0-eap7”
Data.SubProducts.#1 = “JetBrains ReSharper 2016.1 EAP 7 Build 2016.1.20160310.0-eap7”
Data.ManagedThreadName = “JetPool (S) Regular thread #2”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave05::d514621b4f57d277b20324acb30eb7246c761647

Data.VsVersion = 14.0.24720.0
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Util.ILoggerEx.LogException(ILogger this, LoggingLevel level, Exception exception, ExceptionOrigin exceptionOrigin, String comment) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\Logging\ILoggerEx.cs:line 737
     at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception exception, ExceptionOrigin origin, String comment) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\Logging\ILoggerEx.cs:line 392
     at JetBrains.Util.Logging.Logger.LogException(Exception ex) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\Logging\Logger.cs:line 806
     at JetBrains.DocumentManagers.Transactions.Actions.AddFolderAction.Rollback() in C:\Work\ReSharper.Uber\Platform\Core\Ide\ProjectDocuments\src\Transactions\Actions\AddFolderAction.cs:line 69
     at JetBrains.DocumentManagers.Transactions.SolutionProjectDocumentTransaction.DoRollback() in C:\Work\ReSharper.Uber\Platform\Core\Ide\ProjectDocuments\src\Transactions\SolutionProjectDocumentTransaction.cs:line 118
     at JetBrains.DocumentModel.Transactions.DocumentTransaction.Rollback() in C:\Work\ReSharper.Uber\Platform\Core\Text\Documents\src\Transactions\DocumentTransaction.cs:line 295
     at JetBrains.DocumentModel.Transactions.DocumentTransactionManager.RollbackTransaction() in C:\Work\ReSharper.Uber\Platform\Core\Text\Documents\src\Transactions\DocumentTransactionManager.cs:line 211
     at JetBrains.DocumentModel.Transactions.DocumentTransactionCookie.Rollback() in C:\Work\ReSharper.Uber\Platform\Core\Text\Documents\src\Transactions\DocumentTransactionCookie.cs:line 84
     at JetBrains.DocumentManagers.Transactions.ProjectModelTransactionFactory.ProjectModelTransactionCookie.Rollback() in C:\Work\ReSharper.Uber\Platform\Core\Ide\ProjectDocuments\src\Transactions\ProjectModelTransactionFactory.cs:line 54
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.<>c.<TryExecuteRefactoring>b__42_2(IProjectModelTransactionCookie c) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowExecuter.cs:line 565
     at JetBrains.Util.Special.GeneralUtil.WithNotNull[T](T item, Action`1 F) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\GeneralUtil.cs:line 452
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.TryExecuteRefactoring() in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowExecuter.cs:line 565
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.InitPage(IRefactoringPage page) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowExecuter.cs:line 448
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.NextPage(IRefactoringPage currentPage) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowExecuter.cs:line 354
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.MoveToNextPage() in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowExecuter.cs:line 216
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowHostWithWizardForm.<NextClick>b__19_0() in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowHostWithWizardForm.cs:line 188
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\Concurrency\ReentrancyGuard.cs:line 281
     at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority) in C:\Work\ReSharper.Uber\Platform\Core\Shell\Util\src\Concurrency\ReentrancyGuard.cs:line 371
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowHostWithWizardForm.NextClick(Object sender, EventArgs e) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\WorkflowHostWithWizardForm.cs:line 187
     at JetBrains.ReSharper.Feature.Services.Refactorings.RefactoringWizardForm.myContinueButton_Click(Object sender, EventArgs e) in C:\Work\ReSharper.Uber\Psi.Features\Core\Services\_Core\src\Refactorings\Impl\RefactoringWizardForm.cs:line 687
     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-459636: Enormous amount memory taken by CssHierarchyTree

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Jul 4, 2016 11:30:52 AM
Updated Jul 19, 2016 3:05:26 PM
Subsystem CSS
Assignee Vladimir Belousov (Vladimir.Belousov)
Priority Show-stopper
State Open
Type Performance Problem
Affected versions 2016.1.2
Fix version 2016.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-4464: Stack trace explorer should understand badly formatted stacktraces

$
0
0
Reporter Valentin Kipiatkov (valentin) Valentin Kipiatkov (valentin)
Created Aug 4, 2006 4:06:24 PM
Updated Jul 19, 2016 3:27:33 PM
Subsystem Stack Trace Explorer
Assignee Arseny Chernyaev (Arseny.Chernyaev)
Priority Normal
State Open
Type Feature
Affected versions No Affected versions
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
A user wrote:

I like the StackTrace Explorer tool. Sometimes I'm in a situation where I have a stack trace on the clipboard that is formatted something like
this:
" at System.Data.DataRow.GetDefaultRecord()\r\n at
System.Data.DataRow.GetRecordFromVersion(DataRowVersion version)\r\n at System.Data.DataRow.get_Item(DataColumn column, DataRowVersion
version)\r\n at System.Data.DataRow.get_Item(DataColumn column)\r\n
at Oxygen.ContactFramework.Common.SummaryViewRow.get_ContactId() in C:\\devProjects\\VisualStudio\\ContactFramework\\Common\\ContactSummaryD
ataSet.cs:line 1083
\r\n at
Oxygen.ContactFramework.UI.ContactListModel.contactDetailUIModel_Contact
Saved(Object sender, ContactSavedEventArgs e) in c:\\devprojects\\visualstudio\\contactframework\\ui\\contactlistmodel.cs
:line 130\r\n at
Oxygen.ContactFramework.UI.ContactDetailUIModel.SaveContact() in c:\\devprojects\\visualstudio\\contactframework\\ui\\contactdetailuimode
l.cs:line 1063"


That's the result of using the Visual Studio Debugger command window to evaluate e.StackTrace on an Exception e.

It would be cool if the StackTrace Explorer recognized this format and automatically adjusted to it.



Issue was closed

RSRP-421067: [Unity] "Assets" suggested for namespace. "Namespace Provider" is false.

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Aug 15, 2014 4:24:12 AM
Updated Jul 19, 2016 4:29:18 PM
Subsystem Code Analysis - C#
Assignee Kirill Falk (kfalk)
Priority Show-stopper
State Reopened
Type Task
Affected versions 8.2.1
Fix version 2016.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
I just recently discovered ReSharper and I have been using the trial with Visual Studio 2013 and the Unity game engine. It's been great so far, except for one issue that ReSharper continues to suggest that I put "Assets" in my namespace because Unity keeps everything inside an "Assets" folder.

I have selected the Assets folder in Visual Studio 2013 and set the "Namespace Provider" property to false, yet ReSharper continues to suggest I put Assets in my namespace.

Has anyone else had this problem with Unity? Is there any kind of workaround? How would I go about troubleshooting this?

RSRP-459858: Cleanup Wrap too aggressive, not honoring right margin

$
0
0
Reporter Terrence Jones (brinko99.1) Terrence Jones (brinko99.1)
Created Jul 19, 2016 6:22:35 PM
Updated Jul 19, 2016 6:22:35 PM
Subsystem Code Style - Cleanup
Assignee Razmik Seysyan (razmik)
Priority Normal
State Submitted
Type Bug
Affected versions 2016.1.2
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion VS 14
Cleanup is wrapping lines where it shouldn't; in this case it wraps when there is still plenty of space:

Before:

After:

Note, the .PartNumber got wrapped though there was plenty of space. The yellow line on the right represents the right margin of 135 that ReSharper is configured to. If I change right margin to 134, both .Workorder and .PartNumber get wrapped. If I set it to 136, neither are wrapped!

What's going on? Is ReSharper not counting characters the same as Visual Studio?

Thanks.

RSRP-459860: Code analysis mismatch

$
0
0
Reporter NN __ (NN) NN __ (NN)
Created Jul 20, 2016 2:22:27 AM
Updated Jul 20, 2016 2:22:27 AM
Subsystem TypeScript
Assignee Anton Lobov (Anton.Lobov)
Priority Normal
State Submitted
Type Bug
Affected versions 2016.2
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Resharper says that the second 'xhr.responseText' cannot be properly resolved.

    function x() {
        var xhr = new XMLHttpRequest();
        if (xhr.responseText === "undefined" || xhr.responseText === "undefined") {
        }
    }

RSRP-459793: Switching C# Intellisense to "VisualStudio" in VS15, shows up as "None" when going back to VS2015

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Jul 15, 2016 8:23:09 AM
Updated Jul 20, 2016 3:08:51 AM
Subsystem IntelliSense (Code Completion)
Assignee Kirill Falk (kfalk)
Priority Show-stopper
State Submitted
Type Task
Affected versions 2016.2
Fix version 2016.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Don't have time to reproduce this, but: Yesterday I installed VisualStudio 15 Preview 3 side by side with my VS2015, to try out the Tuple C#7 feature, and had to disable Resharper intellisense on C# files by switching to "Visual Studio" for intellisense on .cs files (in R# options from withinh VS15).

But today, I went back to Visual Studio 2015 Upd3, and lost all intellisense on C#. Going to the R# intellisense options in VS2015, I found that the setting was now on "None" for .cs files (instead of "Visual Studio"). Had to change it back to "Resharper" to have intellisense working again.

RSRP-459861: Solution Wide Analysis lists project {SomeName}.Json as error

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Jul 20, 2016 3:12:04 AM
Updated Jul 20, 2016 3:12:14 AM
Subsystem Solution Wide Error Analysis (SWEA)
Assignee Dmitry Ivanov (daivanov)
Priority Critical
State Submitted
Type Bug
Affected versions No Affected versions
Fix version 2016.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
I was able to reproduce it with a colleague. But on his machine we had to do the following:

  • Open the solution
  • Performa a "clean solution" and a "build solution'
  • Open Visual Studio
  • The error is shown in solution wide analysis

We found out that the Resharper cache was the cause. After deleting it manually and opening VS with the solution the error did not occur.

Attached you can find a solution where the error shold occur.

RSRP-459849: In TS file templates, allow any symbols for file names, but throw away any prohibited symbols for resulting class names

$
0
0
Reporter Anton Lobov (Anton.Lobov) Anton Lobov (Anton.Lobov)
Created Jul 19, 2016 10:36:53 AM
Updated Jul 20, 2016 3:12:23 AM
Subsystem TypeScript
Assignee Anton Lobov (Anton.Lobov)
Priority Normal
State Submitted
Type Bug
Affected versions No Affected versions
Fix version Backlog
Fixed In Version ReSharper Undefined
VsVersion All Versions
and also maybe camel-case parts between prohibited symbols

RSRP-459633: Resolving of globals in case of same-named exports

$
0
0
Reporter Matthias Koch (Matthias.Koch) Matthias Koch (Matthias.Koch)
Created Jul 4, 2016 10:44:31 AM
Updated Jul 20, 2016 3:27:14 AM
Subsystem JavaScript
Assignee Anton Lobov (Anton.Lobov)
Priority Show-stopper
State Submitted
Type Bug
Affected versions No Affected versions
Fix version 2016.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
export { a as Foo };

var a = new Foo();

class Foo {
}

RSRP-452955: Postpone VsFormatSettingsSolutionSynchronizer.SuppressVsSquigglesIfNeeded until editor is open

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Jan 15, 2016 5:52:38 AM
Updated Jul 20, 2016 3:28:44 AM
Resolved Jul 20, 2016 3:28:34 AM
Subsystem Platform - VS Integration
Assignee Denis Korneev (Denis.Korneev)
Priority Normal
State Fixed
Type Bug
Affected versions No Affected versions
Fix version 2016.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
SuppressVsSquigglesIfNeeded loading language service during OnBeforeSolutionLoad without any editor being opened.

This happens during solution open from chain: jetbrains.platform.visualstudio.sincevs10!VsSolutionManager10.OnBeforeBackgroundSolutionLoadBegin <ComponentStore.Compose> VsFormatSettingsSolutionSycnhronizer constructor VsFormatSettingsSolutionSycnhronizer.SupressVsSquigglesIfNeeded Similar to above this could be moved to a time when user opens the editor.

RSRP-459804: JavaScriptDependentFilesCache.UpdateLibraryFiles Violates Lifetime

$
0
0
Reporter Serge Baltic (baltic) Serge Baltic (baltic)
Created Jul 15, 2016 11:17:57 AM
Updated Jul 20, 2016 3:37:19 AM
Subsystem JavaScript
Assignee Anton Lobov (Anton.Lobov)
Priority Show-stopper
State Fixed In Branch
Type Bug
Affected versions No Affected versions
Fix version 2016.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Exception has been thrown by the target of an invocation. Object reference not set to an instance of an object.

--- EXCEPTION #1/4 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.Exceptions.#0.InnerException.InnerException
ClassName = System.NullReferenceException
HResult = COR_E_NULLREFERENCE=E_POINTER=80004003
Source = JetBrains.Platform.ComponentModel
StackTraceString = “
at JetBrains.Application.Components.ComponentStorage.<EnumerateDescriptors>d__a`1.MoveNext() in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\ComponentModel\Src\Components\Storage\ComponentStorage.cs:line 287
at JetBrains.Application.Components.EnumerableValueResolver.EnumerableComponentDescriptor`1.<GetEnumerator>d__0.MoveNext() in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\ComponentModel\Src\Components\Resolvers\EnumerableValueResolver.cs:line 91
at JetBrains.Application.Components.EnumerableValueResolver.EnumerableComponentDescriptor`1.GetValue() in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\ComponentModel\Src\Components\Resolvers\EnumerableValueResolver.cs:line 81
at JetBrains.Application.Components.EnumerableValueResolver.EnumerableComponentDescriptor`1..ctor(IEnumerable`1 components, List`1 enumerables) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\ComponentModel\Src\Components\Resolvers\EnumerableValueResolver.cs:line 73


--- Outer ---

--- EXCEPTION #2/4 [TargetInvocationException]
Message = “Exception has been thrown by the target of an invocation.”
ExceptionPath = Root.Exceptions.#0.InnerException
ClassName = System.Reflection.TargetInvocationException
Data.ReentrancyGuard.ActionName = JsUpdateLibFiles
InnerException = “Exception #1 at Root.Exceptions.#0.InnerException.InnerException”
HResult = COR_E_TARGETINVOCATION=80131604
Source = mscorlib
StackTraceString = “
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at JetBrains.Application.Components.EnumerableValueResolver.Resolve[TRequest](TRequest request, IValueResolveContext context) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\ComponentModel\Src\Components\Resolvers\EnumerableValueResolver.cs:line 52
at JetBrains.Application.Components.ComponentContainer.Resolve[TRequest](TRequest request, IValueResolveContext context) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\ComponentModel\Src\Components\ComponentContainer.cs:line 97
at JetBrains.Application.Components.ComponentResolveContext.Resolve[TRequest](TRequest request) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\ComponentModel\Src\Components\Storage\ComponentResolveContext.cs:line 31
at JetBrains.Application.Components.ComponentContainerEx.GetComponents[TInterface](IComponentContainer container) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\ComponentModel\Src\Components\ComponentContainerEx.cs:line 25
at JetBrains.ReSharper.Psi.JavaScript.Impl.PsiModules.ReferencedFilesSupport.JavaScriptDependentFilesCache.UpdateLibraryFiles() in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\Web\Src\JavaScript\Impl\PsiModules\ReferencedFilesSupport\JavaScriptDependentFilesCache.cs:line 78
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Util\Src\Concurrency\ReentrancyGuard.cs:line 287


--- Outer ---

--- EXCEPTION #3/4 [LoggerException]
Message = “Exception has been thrown by the target of an invocation.”
ExceptionPath = Root.Exceptions.#0
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #2 at Root.Exceptions.#0.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Util\Src\Concurrency\ReentrancyGuard.cs:line 299
at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions() in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Util\Src\Concurrency\ReentrancyGuard.cs:line 599
at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Util\Src\Concurrency\Dispatcher\JetDispatcher.cs:line 588
at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue() in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Util\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 560
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 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-459862: Different result for redundancies in code for ReSharper inside Visual Studio and ReSharper CommandLine Tools

$
0
0
Reporter Birger Schütte (birgos) Birger Schütte (birgos)
Created Jul 20, 2016 3:49:04 AM
Updated Jul 20, 2016 3:49:04 AM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Slava Trenogin (derigel)
Priority Normal
State Submitted
Type Bug
Affected versions 2016.1
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Conditional access qualifier expression is known to be null or not null


ReSharper CodeInspector of CommandLine Tools throws error: Conditional access qualifier expression is known to be not null for the following code example (Tried project configuration with both .NET Framework 4 as well with 4.6.1):

var windowsIdentity = WindowsIdentity.GetCurrent();

if (!string.IsNullOrEmpty(windowsIdentity?.Name))
{
outputMessage = $"(User:{windowsIdentity.Name})";
}

Changing the code sample to:
var windowsIdentity = WindowsIdentity.GetCurrent();

// ReSharper disable once PossibleNullReferenceException
if (!string.IsNullOrEmpty(windowsIdentity.Name))
{
outputMessage = $"(User:{windowsIdentity.Name})";
}

Inside Visual Studio ReSharper marks the error: Possible 'System.NullReferenceException' but ReSharper CodeInspector throws no longer an error. So we needed to flag the line with // ReSharper disable once PossibleNullReferenceException

RSRP-459415: Invalid reference Type=JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsImportReference

$
0
0
Reporter Fedor Reznik (fedor.reznik) Fedor Reznik (fedor.reznik)
Created Jun 20, 2016 1:30:33 PM
Updated Jul 20, 2016 4:12:26 AM
Subsystem TypeScript
Assignee Anton Lobov (Anton.Lobov)
Priority Show-stopper
State Fixed In Branch
Type Exception
Affected versions No Affected versions
Fix version 2016.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 06 — JetBrains ReSharper Ultimate 2016.2 EAP 4 Build 106.0.20160616.72449-eap4

JetBrains dotCover 2016.2 EAP 4 Build 2016.2.20160616.134255-eap4
JetBrains dotMemory 2016.2 EAP 4 Build 2016.2.20160616.134222-eap4
JetBrains dotTrace 2016.2 EAP 4 Build 2016.2.20160616.134223-eap4
JetBrains ReSharper 2016.2 EAP 4 Build 2016.2.20160616.133921-eap4

LastExtension = ts
SccRevisionShell = <there are no packages matching the criteria>
HostProductInfo = JetBrains ReSharper Ultimate 2016.2 EAP 4 Build 106.0.20160616.72449-eap4
SubProducts.0 = JetBrains dotCover 2016.2 EAP 4 Build 2016.2.20160616.134255-eap4
SubProducts.1 = JetBrains dotMemory 2016.2 EAP 4 Build 2016.2.20160616.134222-eap4
SubProducts.2 = JetBrains dotTrace 2016.2 EAP 4 Build 2016.2.20160616.134223-eap4
SubProducts.3 = JetBrains ReSharper 2016.2 EAP 4 Build 2016.2.20160616.133921-eap4
ManagedThreadName = JetPool (S) Regular thread #1
ManagedThreadName = JetPool (S) Regular thread #2
SccRevisionEnv = Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave06-eap4
VsVersion = 14.0.25123.0

Invalid reference Type=JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsImportReference

— EXCEPTION #1/2 [AssertionException]
Message = “Invalid reference Type=JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsImportReference”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.Util
StackTraceString = “
  at JetBrains.Util.AssertionWithSensitiveData.Fail(String message, Pair`2[] sensitiveData)
     at JetBrains.ReSharper.Psi.Resolve.ReferenceExtension.AssertIsValid(IReference reference)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.ResolveWithCache[T](T reference, Func`2 resolveWithoutCache)
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsImportReference.Resolve()
     at JetBrains.ReSharper.Psi.JavaScript.Util.TypeScript.TsTypeUtil.GetOriginalElementForAlias(IDeclaredElement aliasElement, JsResolveContext context)
     at JetBrains.ReSharper.Daemon.JavaScript.Util.JavaScriptIdentifierHighlighter.TypeScriptIdentifierHighlighterImpl.GetHighlightAttribute(IDeclaredElement declaredElement, JsResolveContext context, JavaScriptServices javaScriptServices, HighlighterOptions options, DeclaredElementType declaredElementType)
     at JetBrains.ReSharper.Daemon.JavaScript.Util.JavaScriptIdentifierHighlighter.TypeScriptIdentifierHighlighterImpl.Highlight(IDeclaredElement declaredElement, JsResolveContext context, JavaScriptServices javaScriptServices, DocumentRange documentRange, HighlighterOptions options, DeclaredElementType declaredElementType)
     at JetBrains.ReSharper.Daemon.JavaScript.Util.JavaScriptIdentifierHighlighter.JavaScriptIdentifierHighlighterImpl.HighlightIdentifiersIn(ITreeNode element, IHighlightingConsumer consumer, IFile file, JsResolveContext context, JavaScriptServices javaScriptServices, JsVsSupportedFeatureMarker featureMarker, HighlighterOptions options)
     at JetBrains.ReSharper.Daemon.JavaScript.Util.JavaScriptIdentifierHighlighter.TypeScriptIdentifierHighlighterImpl.HighlightIdentifiersIn(ITreeNode element, IHighlightingConsumer consumer, IFile file, JsResolveContext context, JavaScriptServices javaScriptServices, JsVsSupportedFeatureMarker featureMarker, HighlighterOptions options)
     at JetBrains.ReSharper.Daemon.JavaScript.Stages.IdentifierHighlighterProcess.VisitNode(ITreeNode element, IHighlightingConsumer consumer)
     at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitImportSpecifierName(IImportSpecifierName importSpecifierNameParam, TContext context)
     at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitSimpleImportSpecifierName(ISimpleImportSpecifierName simpleImportSpecifierNameParam, TContext context)
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Tree.SimpleImportSpecifierName.Accept[TContext](TreeNodeVisitor`1 visitor, TContext context)
     at JetBrains.ReSharper.Daemon.JavaScript.JavaScriptDaemonStageProcessBase.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer)
     at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants[TContext](ITreeNode root, IRecursiveElementProcessor`1 processor, TContext context)
     at JetBrains.ReSharper.Daemon.JavaScript.Stages.IdentifierHighlighterProcess.<Execute>b__1(IJavaScriptFile file, IHighlightingConsumer consumer)
     at JetBrains.ReSharper.Daemon.JavaScript.JavaScriptDaemonStageProcessBase.HighlightInFile(Action`2 fileHighlighter, Action`1 commiter)
     at JetBrains.ReSharper.Daemon.JavaScript.Stages.IdentifierHighlighterProcess.Execute(Action`1 committer)
     at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass14.<>c__DisplayClass17.<DoHighlighting>b__f(IDaemonStage stage)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Invalid reference Type=JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsImportReference”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2016.2 EAP 4 Build 106.0.20160616.72449-eap4”
Data.SubProducts.#0 = “JetBrains dotCover 2016.2 EAP 4 Build 2016.2.20160616.134255-eap4”
Data.SubProducts.#1 = “JetBrains dotMemory 2016.2 EAP 4 Build 2016.2.20160616.134222-eap4”
Data.SubProducts.#2 = “JetBrains dotTrace 2016.2 EAP 4 Build 2016.2.20160616.134223-eap4”
Data.SubProducts.#3 = “JetBrains ReSharper 2016.2 EAP 4 Build 2016.2.20160616.133921-eap4”
Data.ManagedThreadName = “JetPool (S) Regular thread #1”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave06-eap4

Data.VsVersion = 14.0.25123.0
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass14.<>c__DisplayClass17.<DoHighlighting>b__f(IDaemonStage stage)
     at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass14.<>c__DisplayClass1f.<DoHighlighting>b__12()
     at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass10.<>c__DisplayClass12.<EnqueueDependentJobs>b__e()
     at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
     at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClasse.<Create>b__a(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.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
     at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
     at System.Threading.Tasks.Task.WrappedTryRunInline()
     at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
     at JetBrains.Application.Threading.Tasks.TaskBarrier.DisposeUnmanagedResources()
     at JetBrains.Util.SafeDisposable.DisposeInternal()
     at JetBrains.Util.SafeDisposable.Dispose()
     at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass14.<DoHighlighting>b__d()
     at JetBrains.Application.Notifications.PerformanceUserNotifications.<>c__DisplayClass7.<WithPerformanceNotification>b__6(Lifetime lifetime)
     at JetBrains.DataFlow.Lifetimes.Using(Lifetime parent, Action`1 λ)
     at JetBrains.Application.Notifications.PerformanceUserNotifications.WithPerformanceNotification(TimeSpan performanceThreshold, String title, String body, Action action)
     at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.DoHighlighting(DaemonProcessKind processKind, Action`1 commiter)
     at JetBrains.ReSharper.Daemon.Impl.VisibleDocumentDaemonProcess.DoHighlighting(Boolean globalAnalysisStages)
     at JetBrains.ReSharper.Daemon.Impl.VisibleDocumentDaemonProcess.<>c__DisplayClassb.<EnqueueHighlightingJob>b__a()
     at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
     at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClasse.<Create>b__a(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.SingleThreadExecutorView.InternalExecute(Task task)
     at JetBrains.Application.Threading.Tasks.SingleThreadExecutorView.ThreadProc()
     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-459864: VS15 U3: NUnit Test run popup has same entries duplicated multiple times

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Jul 20, 2016 4:24:56 AM
Updated Jul 20, 2016 4:26:02 AM
Subsystem Unit Testing
Assignee Alexandra Kuks (Asia.Rudenko)
Priority Show-stopper
State Submitted
Type Task
Affected versions No Affected versions
Fix version 2016.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
VS15 Preview 3

Unit test popup menu "NUnit Test (click to run)" displays the same entries over and over again. It seems like everytime I run test in "Debug" mode, it adds to the list...

See attached screenshot (there is even a scroll bar in the popup!)

RSRP-459865: Resharper is unable to recognize COM references correctly

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Jul 20, 2016 4:40:30 AM
Updated Jul 20, 2016 4:40:40 AM
Subsystem Code Analysis
Assignee Slava Tutushkin (slava.tutushkin)
Priority Critical
State Submitted
Type Bug
Affected versions No Affected versions
Fix version 2016.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Resharper is unable to find a symbol that actually exists. (COM reference)

RSRP-459797: Duplicationfinder (dupfinder.exe) terminates if ToolsVersion of ProjectFiles contains version of not existing Visual Studio Version

$
0
0
Reporter Birger Schütte (birgos) Birger Schütte (birgos)
Created Jul 15, 2016 9:56:55 AM
Updated Jul 20, 2016 5:58:14 AM
Resolved Jul 20, 2016 5:58:14 AM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Slava Trenogin (derigel)
Priority Critical
State Fixed
Type Usability Problem
Affected versions 2016.1
Fix version 2016.2
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RC, VS 2015 RTM
We switched our solution from Visual Studio 2013 to Visual Studio 2015.

But Visual Studio 2015 does not automatically increment the ToolsVersion Property in the Project Files (csproj). Only when creating new Projects: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/8d2fbe76-f186-4644-8109-dd9154abbde5/visual-studio-2015-csproj-toolsversion-for-net-framework-46?forum=msbuild


So when we call dupfinder.exe from Command Line Tools 2016.1.20160523 it terminates with the following messages:
The tools version "12.0" is unrecognized. Available tools versions are "14.0", "2.0", "3.5", "4.0".
Empty input file set. Terminating

We also tried (with different variations) to set the ToolsVersion via parameter call:
dupfinder.exe /properties:$(ProjectToolsVersion)=14.0 ...
dupfinder.exe /properties:ProjectToolsVersion=14.0 ...
dupfinder.exe /properties:ToolsVersion=14.0 ...
dupfinder.exe --properties:ToolsVersion=14.0...
and so on...


Nothing works. The only workaround at the moment is to manually edit every Projectfile (csproj) and increment the ToolsVersion from 12.0 to 14.0 but for every solution. That is very annoying.... :-(

Any help appreciated!!
Viewing all 106942 articles
Browse latest View live