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

RSRP-447533: UTR Options Menu: Platform name in main menu does not match the name in the submenu.

0
0
Reporter Serge Baltic (baltic) Serge Baltic (baltic)
Created Aug 26, 2015 5:49:32 PM
Updated Jan 26, 2017 6:29:57 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Submitted
Type Usability Problem
Affected versions 2017.1
Fix version 2016.3.2
Fixed In Version ReSharper Undefined
VsVersion All Versions


Platform name in main menu does not match the name in the submenu.

RSRP-459714: Can't run tests

0
0
Reporter Anton Spilnyy (Anton_Spilnyy) Anton Spilnyy (Anton_Spilnyy)
Created Jul 8, 2016 4:03:26 PM
Updated Jan 26, 2017 6:29:57 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Submitted
Type Bug
Affected versions 2017.1
Fix version 2016.3.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Tried to run all tests from MSBuild solution

ReSharper Ultimate – Unable to run xUnit.net tests - Could not load file or assembly 'Microsoft.Build.Tasks.UnitTests, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)

Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Build.Tasks.UnitTests, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)

File name: 'Microsoft.Build.Tasks.UnitTests, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)

   at Xunit.Sdk.ReflectionAssemblyInfo..ctor(String assemblyFileName) in C:\BuildAgent\work\cb37e9acf085d108\src\xunit.execution\Sdk\Reflection\ReflectionAssemblyInfo.cs:line 36
$$RethrowMarker$$ at ExceptionExtensions.RethrowWithNoStackTraceLoss(Exception ex)

   at Xunit.AppDomainManager_AppDomain.CreateObject[TObject](AssemblyName assemblyName, String typeName, Object[] args)

   at Xunit.Xunit2Discoverer..ctor(AppDomainSupport appDomainSupport, ISourceInformationProvider sourceInformationProvider, IAssemblyInfo assemblyInfo, String assemblyFileName, String xunitExecutionAssemblyPath, String configFileName, Boolean shadowCopy, String shadowCopyFolder, IMessageSink diagnosticMessageSink, Boolean verifyAssembliesOnDisk)

   at Xunit.XunitFrontController.CreateInnerController()

   at Xunit.XunitFrontController.get_InnerController()

   at Xunit.XunitFrontController.Find(Boolean includeSourceInformation, IMessageSink messageSink, ITestFrameworkDiscoveryOptions discoveryOptions)

   at JetBrains.ReSharper.UnitTestRunner.Xunit.Discoverer.GetTestCases() in f:\work2\resharper\Psi.Features\UnitTesting\xunit\Runner\Src\Discoverer.cs:line 30

   at JetBrains.ReSharper.UnitTestRunner.Xunit.TestRunner.Run(XunitTestAssemblyTask assemblyTask) in f:\work2\resharper\Psi.Features\UnitTesting\xunit\Runner\Src\TestRunner.cs:line 33



WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



OK

RSRP-462196: Failed to get child process StartInfo for dotnet test

0
0
Reporter Fedor Buyvol-Kot (Fedor.Buyvol-Kot) Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Created Dec 12, 2016 7:53:27 PM
Updated Jan 26, 2017 6:29:57 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Open
Type Bug
Affected versions 2017.1
Fix version 2016.3.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 07 — JetBrains ReSharper Ultimate 2016.3 Build 107.0.20161211.20441

JetBrains dotCover 2016.3 Build 2016.3.20161212.120140
JetBrains dotMemory 2016.3 Build 2016.3.20161211.22951
JetBrains dotTrace 2016.3 Build 2016.3.20161211.22927
JetBrains ReSharper 2016.3 Build 2016.3.20161211.21459
JetBrains ReSharper C++ 2016.3 Build 2016.3.20161211.21501
JetBrains TeamCity Add-in 2016.3 Build 2016.3.20161211.21511

Failed to get child process StartInfo for dotnet test

— EXCEPTION #1/1 [LoggerException]
Message = “Failed to get child process StartInfo for dotnet test”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2016.3 Build 107.0.20161211.20441”
Data.SubProducts.#0 = “JetBrains dotCover 2016.3 Build 2016.3.20161212.120140”
Data.SubProducts.#1 = “JetBrains dotTrace 2016.3 Build 2016.3.20161211.22927”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2016.3 Build 2016.3.20161211.21501”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2016.3 Build 2016.3.20161211.21511”
Data.SubProducts.#4 = “JetBrains ReSharper 2016.3 Build 2016.3.20161211.21459”
Data.SubProducts.#5 = “JetBrains dotMemory 2016.3 Build 2016.3.20161211.22951”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave07::7e6d2ee6e1c61051ad85c90f6d4e88116f01f1f2


Platform\VisualStudio:
    git::refs/heads/wave07::f85388e402d90b21cb42fdb7a387ca9f1662fef7

Data.VsVersion = 14.0.25431.1
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.ReSharper.UnitTestFramework.DotNetCli.DotNetCliTaskRunner.GetStartInfo(IUnitTestRun run)
     at JetBrains.ReSharper.UnitTestFramework.DotNetCli.DotNetCliTaskRunner.GetExecutablePath(IUnitTestRun run)
     at JetBrains.ReSharper.UnitTestFramework.TaskRunnerHostControllerBase.Run(IUnitTestRun run)
     at JetBrains.ReSharper.UnitTestFramework.Strategy.OutOfProcessUnitTestRunStrategy.Run(IUnitTestRun run)
     at JetBrains.ReSharper.UnitTestFramework.Launch.UnitTestRun.Start(CancellationToken onCancel, CancellationToken onAbort)
     at JetBrains.ReSharper.UnitTestFramework.Launch.Stages.RunTestsStage.<>c__DisplayClassc.<StartSingleRun>b__8()
     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.ReSharper.UnitTestFramework.Launch.Stages.RunTestsStage.SimpleUnitTestRunScheduler.<NotifyThreadPoolOfPendingWork>b__11(Object _)
     at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
     at System.Threading.ThreadPoolWorkQueue.Dispatch()
     at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

RSRP-462481: "The operation was canceled" message in Test output during running test via Visual Studio runner with ReSharper enabled

0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Jan 9, 2017 1:23:35 PM
Updated Jan 26, 2017 6:30:11 PM
Resolved Jan 26, 2017 6:30:11 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Fixed
Type Bug
Affected versions 2016.3.1
Fix version 2016.3.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Report 1:
We have just updated to R# 2016.3.1 and now we have an issue.

When we try to run tests in the Test Explorer, this ends in an endless loop.
When the test run is started, the build of the test projects runs and after the build the Test Explorer tries to detect the tests. Then some kind of "Operation canceled" messages appears briefly and the build starts again and the test detection fails again.
This repeats until you abort the build.

When I unload the R# addin then I can run tests with the Test Explorer.


Report 2:
Actually when I have ReSharper installed and i'm trying to run a Unit Test Project, the build process starts then at the end I get an operation cancelled in the output and the build process starts again. This behaviour repeats until I hard stop the build(Ctrl+Break). If I uninstall ReSharper everything works fine.

I have attached a snippet of the Resharper log file where Exceptions were tracked when I triedd a unit test run.

RSRP-462735: Type dependency diagram: incorrect number of used types in the pop-up

0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Jan 26, 2017 6:50:06 PM
Updated Jan 26, 2017 6:50:06 PM
Subsystem Architecture Tools (Diagramms)
Assignee Alexander Ulitin (alexander.ulitin)
Priority Major
State Submitted
Type Bug
Affected versions 2016.3.1
Fix version Backlog
Fixed In Version ReSharper Undefined
VsVersion All Versions
References A to B1: in the popup window on the left I can see 3 references to B1 although there are only two.

RSRP-462734: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Dec 12, 2016 4:01:24 PM
Updated Jan 26, 2017 6:54:25 PM
Subsystem Navigation - Global
Assignee Alexander Ulitin (alexander.ulitin)
Priority Critical
State Submitted
Type Exception
Affected versions 2016.3.2
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 07 — JetBrains ReSharper Ultimate 2016.3 EAP 9 Build 107.0.20161116.162210-eap9

JetBrains ReSharper 2016.3 EAP 9 Build 2016.3.20161116.163824-eap9

Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

— EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Index was out of range. Must be non-negative and less than the size of the collection.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = mscorlib
ParamName = index
StackTraceString = “
  at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
     at JetBrains.ReSharper.Feature.Services.Navigation.Goto.Controllers.GotoControllerBase`3.ConsumePresentableItems(String filterString, Int32 itemsCount, Action`2 itemsConsumer)
     at JetBrains.ReSharper.Feature.Services.Navigation.Goto.Controllers.GotoControllerBase`3.UpdateItems(String filterString, Func`3 itemsConsumer)
     at JetBrains.UI.GotoByName.GotoByNameController.AsyncRun(String sFilterText, Lifetime lifetime, GroupingEvent itemsAddedEvent)
     at JetBrains.UI.GotoByName.GotoByNameController.<>c__DisplayClass10.<SpawnInterruptableActivity>b__d()
     at JetBrains.Application.InterruptableReadActivityThe.Work()
     at JetBrains.Application.InterruptableReadActivity.DoWork()
     at JetBrains.Application.InterruptableReadActivity.WorkerThreadProc()
     at JetBrains.Util.Logging.Logger.Catch(Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool (S) Regular thread #1”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2016.3 EAP 9 Build 107.0.20161116.162210-eap9”
Data.SubProducts.#0 = “JetBrains ReSharper 2016.3 EAP 9 Build 2016.3.20161116.163824-eap9”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave07-eap9::c313004ee5fb4b2fc0b395395bdbd66b6b1c4dcc


Platform\VisualStudio:
    git::refs/heads/wave07-eap9

Data.VsVersion = 14.0.25431.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Util.Logging.Logger.Catch(Action action)
     at JetBrains.Application.Threading.Tasks.TaskHostEx.<>c__DisplayClass2.<RunSafe>b__1()
     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.ExecuteTask(Task task)
     at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
     at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
     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-462736: Type dependency diagram: same usage twice

0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Jan 26, 2017 6:54:59 PM
Updated Jan 26, 2017 6:54:59 PM
Subsystem Architecture Tools (Diagramms)
Assignee Alexander Ulitin (alexander.ulitin)
Priority Major
State Submitted
Type Bug
Affected versions 2016.3.1
Fix version Backlog
Fixed In Version ReSharper Undefined
VsVersion All Versions
Here we have the 3 usages. Why is the second doubled? All calls to constructors are doubled in this view.

RSRP-462737: Type dependency diagram: show all aggregate dependencies

0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Jan 26, 2017 6:59:17 PM
Updated Jan 26, 2017 7:13:32 PM
Subsystem Architecture Tools (Diagramms)
Assignee Alexander Ulitin (alexander.ulitin)
Priority Major
State Submitted
Type Bug
Affected versions 2016.3.1
Fix version Backlog
Fixed In Version ReSharper Undefined
VsVersion All Versions
It would be nice if I could see all aggregate dependencies on the tool tip while hovering over the green dotted line. Only d1 is shown, d2 is not shown.

RSRP-462132: Can not update content of project. Cannot set the public key token and the public key value at the same type. Nom du paramètre : pktoken La valeur réelle était A446968A32B751DE.

0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Oct 24, 2016 11:21:37 PM
Updated Jan 26, 2017 8:11:32 PM
Subsystem Platform
Assignee Serge Baltic (baltic)
Priority Critical
State Open
Type Exception
Affected versions No Affected versions
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
JetBrains Rider 1.0 Build RS-163.6834

— EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Cannot set the public key token and the public key value at the same type.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = JetBrains.Platform.Util
ParamName = pktoken
ActualValue = A446968A32B751DE
StackTraceString = “
  à JetBrains.Metadata.Utils.AssemblyNameInfo..ctor(String simplename, Version version, PublicKeyToken pktoken, String culture, String codeBase, Byte[] publickey, ProcessorArchitecture processor, Boolean isRetargetable, AssemblyIdentityContentTypes contenttype, Object custom)
     à JetBrains.ProjectModel.Model2.References.AssemblyReferenceTarget..ctor(AssemblyNameInfo assemblyName, FileSystemPath hintLocation)
     à JetBrains.ProjectModel.Update.ProjectToAssemblyReferenceDescriptor.CreateProjectReference(IProject project)
     à JetBrains.ProjectModel.Update.ProjectModelUpdater.UpdateProjectReferences(IProject project, IList`1 referenceDescriptors, Boolean notifyChangeManager)
     à JetBrains.ProjectModel.ProjectsHost.SolutionHost.Impl.SolutionHostSync.UpdateProject(ProjectHostChange change, IProject parentProject)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “
Can not update content of project. Cannot set the public key token and the public key value at the same type.
Nom du paramètre : pktoken
La valeur réelle était A446968A32B751DE.

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  à JetBrains.Util.ILoggerEx.Error(ILogger this, Exception ex, String message)
     à JetBrains.ProjectModel.ProjectsHost.SolutionHost.Impl.SolutionHostSync.UpdateProject(ProjectHostChange change, IProject parentProject)
     à JetBrains.ProjectModel.ProjectsHost.SolutionHost.Impl.SolutionHostSync.AddOrUpdateProjectRecursively(ProjectHostChange change, IProject parentProject, Boolean initializing)
     à JetBrains.ProjectModel.ProjectsHost.SolutionHost.Impl.SolutionHostSync.AddOrUpdateProjectRecursively(ProjectHostChange change, IProject parentProject, Boolean initializing)
     à JetBrains.ProjectModel.ProjectsHost.SolutionHost.Impl.SolutionHostSync.AddOrUpdateProjectRecursively(ProjectHostChange change, Boolean initializing)
     à JetBrains.Util.Logging.Logger.Catch(Action action)
     à JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerBase.ExecuteOneTask(SolutionLoadTask task)
     à JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerAsync.ExecuteTask()
     à JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerAsync.DispatchTasks(Boolean background)
     à JetBrains.Application.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
     à JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
     à JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
     à JetBrains.Threading.JetDispatcher.Closure.Execute()
     à JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue()
     à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
     à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
     à System.Windows.Threading.DispatcherOperation.InvokeImpl()
     à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     à MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
     à System.Windows.Threading.DispatcherOperation.Invoke()
     à System.Windows.Threading.Dispatcher.ProcessQueue()
     à System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     à MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
     à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
     à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
     à System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
     à MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
     à JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
     à JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
     à JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
     à JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run()
     à JetBrains.ReSharper.Host.Product.ReSharperHostMain.Main(Lifetime lifetime, IReSharperHostSettings settings, ILogger logger, ShellProtocol protocol, RdModelRoot modelRoot, ApplicationShutdownRequests shutdownRequests)
     à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
     à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
     à System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
     à JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass4.<.ctor>b__0()
     à JetBrains.Util.Logging.Logger.Catch(Action action)
     à JetBrains.Threading.JetDispatcher.Closure.Execute()
     à JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue()
     à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
     à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
     à System.Windows.Threading.DispatcherOperation.InvokeImpl()
     à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     à MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
     à System.Windows.Threading.DispatcherOperation.Invoke()
     à System.Windows.Threading.Dispatcher.ProcessQueue()
     à System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     à MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
     à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
     à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
     à System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
     à MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
     à MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
     à MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
     à System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
     à JetBrains.DataFlow.Lifetimes.Using(Action`1 λ)
     à JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv)
     à JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv)
     à JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv)
     à JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams)
     à JetBrains.ReSharper.Host.Product.ReSharperHostProgram.MainX(Assembly assembly, HostInfo hostInfo, String[] args)
     à JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
     à JetBrains.ReSharper.Host.Product.ReSharperHostProgram.Main()
     à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
     à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
     à System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
     à System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)



last.action = EditorLineEnd

app.eap = true
app.internal = false
app.build = RS-163.6834
app.version.major = 1
app.version.minor = 0
app.build.date = 2016-10-21T04:00:00.000+0000
app.build.date.release = 2016-10-21T04:00:00.000+0000
app.build.date.release = 2016-10-21T04:00:00.000+0000
app.compilation.timestamp = null
app.product.code = RS

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

UIUtil.isRetina = false
UIUtil.isAppleRetina = false
JBUI.isHiDPI() = false
ShellHost.imageScaleFactor = 1

RSRP-181684: (vb.net) Extract method creates a sub when it should create a function

0
0
Reporter Mark McLauchlan (Mark.McLauchlan) Mark McLauchlan (Mark.McLauchlan)
Created Jun 9, 2010 11:47:31 AM
Updated Jan 26, 2017 9:08:20 PM
Resolved Jul 9, 2013 1:19:28 PM
Subsystem Refactorings
Assignee Sergey Shkredov (serjic.shkredov)
Priority Major
State Verified
Type Bug
Affected versions No Affected versions
Fix version 8.0
Fixed In Version ReSharper Undefined
VsVersion All Versions
Given this code:

Public Class Class1

Public Sub Foo()
Dim c As New Class2()
c.Add(1, 2)

Bar(c)
End Sub

Private Sub Bar(ByVal c As Class2)

End Sub
End Class

Public Class Class2
Public Sub Add(ByVal a As Integer, ByVal b As Integer)

End Sub
End Class

When you select this snippet:

        Dim c As New Class2()
c.Add(1, 2)

And then to the "Extract Method" refactoring, Resharper produces this:

    Public Sub Foo()
CreateClass()
Dim c As Class2
Bar(c)
End Sub

Private Sub CreateClass()

Dim c As New Class2()
c.Add(1, 2)

End Sub

It should be creating a function and return "c". This bug will lead to annoying run-time (not even compile-time) errors.

Thanks

RSRP-380962: Line-break formatting does not support beginning lines with a comma.

0
0
Reporter Eric Rodewald (Eric.Rodewald) Eric Rodewald (Eric.Rodewald)
Created Jul 29, 2013 9:56:50 PM
Updated Jan 26, 2017 9:55:45 PM
Resolved Jan 26, 2017 9:48:37 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed
Type Feature
Affected versions No Affected versions
Fix version 2017.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

Ex. 1: Desired formatting:

enum Thing {
One
, Two
, Three
, Four
, Five
}

Ex. 2: How R# thinks I want to format it:

enum Thing {
One,
Two,
Three,
Four,
Five
}

Ex. 3: How R# formats Ex 1

enum Thing {
One
,
Two
,
Three
,
Four
,
Five
}

It would be nice if R# finally supported this.

RSRP-462740: Code Cleanup Hangs on Full Cleanup

0
0
Reporter Geoffrey Demoulin (neoffrey) Geoffrey Demoulin (neoffrey)
Created Jan 27, 2017 4:46:30 AM
Updated Jan 27, 2017 4:46:30 AM
Subsystem Code Style - Cleanup
Assignee Razmik Seysyan (razmik)
Priority Normal
State Submitted
Type Bug
Affected versions 2016.3.2
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Test solution attached.

Steps to reproduce

  1. Go to Views/Home/Index.cshtml and uncomment the
    @*<a asp-route-area="" asp-controller="home" asp-action="index">TEST LINK</a>*@
    line.
  2. right-click the solution > Cleanup Code > Full Cleanup > Run

Observed result

The cleanup progress bar hangs on About.cshtml

Expected result

The cleanup ends successfully

Note

If you comment the line shown in step 1, the cleanup goes through without a problem.

RSRP-462155: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Dec 7, 2016 2:03:50 PM
Updated Jan 27, 2017 9:41:17 AM
Resolved Dec 12, 2016 1:06:09 PM
Subsystem Platform - Project Model
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Fixed
Type Exception
Affected versions No Affected versions
Fix version 2016.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 07 — JetBrains ReSharper Ultimate 2016.3 EAP 11 Build 107.0.20161201.124244-eap11

JetBrains dotCover 2016.3 EAP 11 Build 2016.3.20161201.131029-eap11
JetBrains dotMemory 2016.3 EAP 11 Build 2016.3.20161201.131029-eap11
JetBrains dotTrace 2016.3 EAP 11 Build 2016.3.20161201.131143-eap11
JetBrains ReSharper 2016.3 EAP 11 Build 2016.3.20161201.130430-eap11
JetBrains ReSharper C++ 2016.3 EAP 11 Build 2016.3.20161201.130302-eap11
JetBrains TeamCity Add-in 2016.3 EAP 11 Build 2016.3.20161201.130405-eap11

Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

— EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Index was out of range. Must be non-negative and less than the size of the collection.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = mscorlib
ParamName = index
StackTraceString = “
  at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
     at JetBrains.Util.OneToListMap`2.ValueCollection.get_Item(Int32 index)
     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
     at JetBrains.ProjectModel.ExtraData.FilesByMask.IncludedExcludedFilesInProjectJson.GetMasks(FileSystemPath projectFilePath)
     at JetBrains.ProjectModel.ExtraData.FilesByMask.IncludesByMaskMsbuildDataProvider.<>c__DisplayClass2b.<TryBuildData>b__1c(IFilesByMaskProvier provier)
     at System.Linq.Enumerable.<SelectManyIterator>d__16`2.MoveNext()
     at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
     at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
     at JetBrains.ProjectModel.ExtraData.FilesByMask.IncludesByMaskMsbuildDataProvider.TryBuildData(FileSystemPath projectFileLocation)
     at JetBrains.ProjectModel.ExtraData.FilesByMask.IncludesByMaskMsbuildDataProvider.<>c__DisplayClass17.<>c__DisplayClass1a.<BuildData>b__16()
     at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool (S) Regular thread #2”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2016.3 EAP 11 Build 107.0.20161201.124244-eap11”
Data.SubProducts.#0 = “JetBrains dotCover 2016.3 EAP 11 Build 2016.3.20161201.131029-eap11”
Data.SubProducts.#1 = “JetBrains dotTrace 2016.3 EAP 11 Build 2016.3.20161201.131143-eap11”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2016.3 EAP 11 Build 2016.3.20161201.130302-eap11”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2016.3 EAP 11 Build 2016.3.20161201.130405-eap11”
Data.SubProducts.#4 = “JetBrains ReSharper 2016.3 EAP 11 Build 2016.3.20161201.130430-eap11”
Data.SubProducts.#5 = “JetBrains dotMemory 2016.3 EAP 11 Build 2016.3.20161201.131029-eap11”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave07-eap11

Data.VsVersion = 14.0.25431.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
     at JetBrains.ProjectModel.ExtraData.FilesByMask.IncludesByMaskMsbuildDataProvider.<>c__DisplayClass17.<BuildData>b__15(Lifetime lifetime)
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ)
     at JetBrains.ProjectModel.ExtraData.FilesByMask.IncludesByMaskMsbuildDataProvider.BuildData()
     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.ExecuteTask(Task task)
     at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
     at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
     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-462742: AutoCompletion will overwrite/delete existing text

0
0
Reporter Daniel Knittl-Frank (dknittl_frank_eurofunk_com) Daniel Knittl-Frank (dknittl_frank_eurofunk_com)
Created Jan 27, 2017 11:11:20 AM
Updated Jan 27, 2017 11:44:50 AM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Bug
Affected versions 2016.3.1
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
ReSharper will often overwrite existing text when writing the closing parenthesis. Below is a sample ouput.

I'm not entirely sure, what causes this and how to reproduce it. I have a feeling that it happens more frequently, if I type fast. But I also encountered the issue when typing really slowly. It only happens once. So, if, after the text is overwritten, I hit undo and write the closing parenthesis again, Output is as expected (.Output<T>("uiae") in the sample below). Semicolons can also trigger this behavior.

Is there a way to troubleshoot? A config option which is likely to trigger this bug? I'm using the latest ReSharper (2016.3.1) with Visual Studio 2015

This bug is really annoying :)

return Bug .Process(() => this.Method(1)) .Output<T>("uiae"| // ← cursor

return Bug .Process(() => this.Method(1)) .Output)| // ← cursor

RSRP-462339: Add a timeout for "All unit tests finished, but test process still running. Abort?" dialog

0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Dec 22, 2016 3:07:54 PM
Updated Jan 27, 2017 12:01:47 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Major
State Submitted
Type Feature
Affected versions No Affected versions
Fix version 2017.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
This behavior might appear since 2016.3 update.

We have Selenuim tests that kill all processes on TestFixtureTearDown. Since the last update I get the following dialog after every test run.


ReSharper Ultimate – Unit Test Runner

All unit tests finished, but test process still running. Abort?

Yes No


RSRP-462743: UnityConfig.cs is being ignored by ReSharper

0
0
Reporter Chris Butler (chris.butler@draycir.com) Chris Butler (chris.butler@draycir.com)
Created Jan 27, 2017 12:38:05 PM
Updated Jan 27, 2017 1:04:59 PM
Subsystem Platform - VS Integration
Assignee Sergey Kuks (coox)
Priority Critical
State Submitted
Type Bug
Affected versions No Affected versions
Fix version No Fix versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I've got a class UnityConfig in a file App_Start\UnityConfig.cs which contains information about the my Unity Dependancy Injection configuration. I can see there are some things that ReSharper should hint to me about, but its not. And the shortcut Alt+Enter doesn't work. I've checked to see if the file has been ignored in ReSharper Options and I only have the defaults (only just installed ReSharper). I've renamed the class (but not the file)and ReSharper (Alt+Enter) starts working as expected. I've renamed the file (but not the class) and ReSharper (Alt+Enter) continues to not work. I deleted the file and created a new file called UnityConfig.cs and it continued to not work. I've also tried changing the namespace but that doesn't work either. I am sure its something to do with the file name. Is there some files that are always ignored?

RSRP-461887: Unknown error when restarting VS to load ReSharper extensions

0
0
Reporter OronDF343 (OronDF343) OronDF343 (OronDF343)
Created Nov 23, 2016 11:56:57 PM
Updated Jan 27, 2017 3:02:41 PM
Subsystem Installation
Assignee Kirill Falk (kfalk)
Priority Normal
State Submitted
Type Bug
Affected versions 2016.3
Fix version 2017.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RC
After installing or uninstalling ReSharper extensions, clicking on the link to restart VS causes VS to show an "Unknown Error." dialog after restarting VS, and after clicking OK VS closes immediately.
2016.3 EAP9

RSRP-437913: Code Style: Use CRL type name for member access, alias for declaration

0
0
Reporter Zdeněk Havlín (Zdeněk.Havlín) Zdeněk Havlín (Zdeněk.Havlín)
Created Apr 21, 2015 10:18:11 AM
Updated Jan 27, 2017 3:03:04 PM
Subsystem Code Style
Assignee Razmik Seysyan (razmik)
Priority Major
State Submitted
Type Feature
Affected versions 9.1
Fix version 2017.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
In ReSharper 9.1, new option raised to use either Keyword or CRL type name for referencing built-in types.

As I stated in discussion https://devnet.jetbrains.com/thread/461833, I would like to see advanced option which will allow me to use CLR type name whenever I access static member on that class (therefore using CLR type name), but for declaring variables and arguments, use alias.

/// <remarks>Ugly example</remarks>
public string GetProductName(string leName)
{
// using alias
string newName;

// using CLR name - accessing method
if (String.IsNullOrEmpty(leName))
{
// using CLR name - accessing static member
newName = String.Empty;
}

return newName.Trim();
}

Original feature request (probably) from #RSRP-5662

Why I made this ticket, rules are:
  • prefer using aliases for built-in types (int, bool, float, string, ...)
  • class name is always PascalCase
  • methods are on classes, not aliases (for me, I don't accept argument that "it is just alias to class")

Current option implemented in 9.1 does allow me only one of the option at same time (or I haven't find how to change that behavior, unless turning it off completely)

RSRP-450247: Redundant parentheses: add casts to the operation list

0
0
Reporter Julien Lebosquain (mrjul) Julien Lebosquain (mrjul)
Created Oct 30, 2015 7:40:49 PM
Updated Jan 27, 2017 3:03:04 PM
Subsystem Code Style
Assignee Razmik Seysyan (razmik)
Priority Normal
State Submitted
Type Improvement
Affected versions 10.0
Fix version 2017.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
The new configurable redundant parentheses code style with configurable non-obvious operations is really nice!

However, it doesn't have casts as a possible non-obvious operation:
public static object DoubleMul(float i, float j)
=> ((double) i) * j;

Parentheses around (double) i are marked as redundant.
While it's true, I find the cast non-obvious here: is (double) i * j a double multiplication, or a float multiplication whose result is cast to a double?

Please add casts to the list of non-obvious configurable operations.

RSRP-451868: Cleanup code removes region start line

0
0
Reporter Angelina Elycheva (Angelina.Elycheva) Angelina Elycheva (Angelina.Elycheva)
Created Dec 16, 2015 5:21:00 PM
Updated Jan 27, 2017 3:03:04 PM
Subsystem Code Style - Formatter
Assignee Razmik Seysyan (razmik)
Priority Normal
State In Progress
Type Bug
Affected versions 2016.1
Fix version 2017.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
1. Take this piece of code:
    public class ParseException
    {
        public ParseException() { }
        /// <summary>
        /// Some comment
        /// </summary>
        /// <returns></returns>
        // internal int hh() {} ==> commented out function

        #region test
        /// <summary>
        /// nog een function
        /// </summary>
        /// <returns></returns>
        internal int hhh() { }
        #endregion
    }
2. Apply cleanup

Result: the following lines are removed:
// internal int hh() {} ==> commented out function
#region test 
#endregion is stil there(!) But, also the commented out function should not disappear!
Viewing all 106942 articles
Browse latest View live




Latest Images