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

RSRP-470946: Cannot Advance beyond TotalWorkUnits.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jul 11, 2018 8:09:10 AM
Updated Oct 25, 2018 10:27:42 AM
Subsystem External Sources
Assignee Nikita Raba (nikita.raba)
Priority Critical
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 182 Hive _c4e60166 — JetBrains ReSharper Ultimate 2018.2 EAP 2 Build 182.0.20180706.95810-eap02

JetBrains ReSharper 182 Build 182.0.20180706.100921-eap02

Cannot Advance beyond TotalWorkUnits.

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

— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Cannot Advance beyond TotalWorkUnits.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.2 EAP 2 Build 182.0.20180706.95810-eap02”
Data.SubProducts.#0 = “JetBrains ReSharper 182 Build 182.0.20180706.100921-eap02”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182-eap2

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

Data.VsVersion = 15.7.27703.2035
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Application.Progress.ProgressIndicatorBase.Advance(Double units)
 at JetBrains.Application.Progress.ProgressIndicatorBase.Advance(Double units)
 at JetBrains.Application.Progress.SubProgressIndicator.Advance(Double units)
 at JetBrains.Application.Progress.SubProgressIndicator.Advance(Double units)
 at JetBrains.Application.Progress.SubProgressIndicator.Advance(Double units)
 at JetBrains.Application.Progress.ProgressIndicatorBase.Stop()
 at JetBrains.Application.Progress.ProgressIndicatorBase.Dispose()
 at JetBrains.Symbols.Downloader.HttpDownloader.DelegatingIndicator.Dispose()
 at JetBrains.Symbols.Downloader.HttpDownloader.DownloadThread(IProgressIndicator indicator, String taskName)
 at JetBrains.Symbols.Downloader.HttpDownloader.SafeDownloadThread(IProgressIndicator indicator, String taskName)
 at JetBrains.Symbols.Downloader.HttpDownloader.<>c__DisplayClass3_1.<Execute>b__1()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Symbols.Downloader.HttpDownloader.<>c__DisplayClass3_1.<Execute>b__0()
 at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart()

RSRP-469405: Code inspection and Unreachable assemblies

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

Hi guys

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

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

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

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

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

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

Microsoft .NET Core Shared Framework Host

Version : 2.0.5
Build : 17373eb129b3b05aa18ece963f8795d65ef8ea54

RSRP-447767: Value analysis for integers

$
0
0
Reporter Ivan Serduk (IvanSerduk) Ivan Serduk (IvanSerduk)
Created Sep 1, 2015 11:28:06 AM
Updated Oct 25, 2018 10:54:38 AM
Subsystem Code Analysis - Control Flow
Assignee Ivan Serduk (IvanSerduk)
Priority Major
State Fixed In Branch
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

namespace ResharperInconsistentLoopVariableTest
{
public static class Class1
{
public static void Main()
{
while (true)
{
var response = GetResponse();
if ((response?.Value?.Count ?? 0) == 0)
break;
var foo = response.Value; // false "possible NRE" here
}
}

private static Response GetResponse()
{
return new Response();
}

public class Response
{
public IList<object> Value { get; set; }
}
}
}

RSRP-471982: Change Signature: can't change modifier.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 25, 2018 11:16:50 AM
Updated Oct 25, 2018 11:16:50 AM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Submitted
Type Bug
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

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

            public int Foo(int @int, bool someBool)
            {
                return 1;
            }
  1. Invoke Change Signature on Foo.
  2. Set out as Modifier for int parameter.

Actual result:
Signature preview does not show out:

If Next is clicked out modifier still not added.

Expected result:
out modifier is added to parameter.

RSRP-471983: Change Signature: Alt+U for "Undo" and "Move up".

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

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

Actual result:
Accelerator Alt+U is used for "Undo" and "Move up".

Expected result:
Accelerator differs for each control.

RSRP-471625: Failed to install NuGet package Sequence contains no elements

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Sep 12, 2018 5:16:38 PM
Updated Oct 25, 2018 11:48:26 AM
Resolved Oct 16, 2018 7:41:42 PM
Subsystem Platform - VS Integration
Assignee Alexander Ulitin (alexander.ulitin)
Priority Show-stopper
State Fixed
Type Exception
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _138bc0bdReSharper_Uber — JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180912.74724-eap01d

JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180912.74724-eap01d

Failed to install NuGet package Sequence contains no elements

— EXCEPTION #1/2 [InvalidOperationException]
Message = “Sequence contains no elements”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = System.Core
StackTraceString = “
 at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocumentsNuget.Thin.NugetServicesWrapper.<>c__DisplayClass8_0.<PublishServices>g__FindExtProject|26(FileSystemPath projectFilePath)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocumentsNuget.Thin.NugetServicesWrapper.<>c__DisplayClass8_0.<PublishServices>b__24(Lifetime lifetime, ValueTuple`5 tuple)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocumentsNuget.Thin.NugetServicesWrapper.<>c__DisplayClass8_0.<PublishServices>b__24(Lifetime lifetime, ValueTuple`5 tuple)
 at JetBrains.Platform.RdFramework.Tasks.InprocRpc`2.Start(TReq request, IScheduler responseScheduler)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.NuGetApi.BeginInstallAssemblyAsNuGetPackage(IList`1 assemblyLocations, ProjectFileDescriptor projectDescriptor, FileSystemPath& installedLocation)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.NuGetApi.BeginInstallAssemblyAsNuGetPackage(IList`1 assemblyLocations, IProject project, FileSystemPath& installedLocation)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Failed to install NuGet package Sequence contains no elements”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = vb
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180912.74724-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180912.74724-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/183::e94232bd8cec4ec1413dcbcd6d497d049b747558

Data.VsVersion = 15.8.28010.2026
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message)
 at JetBrains.Util.Logging.Logger.LogException(String comment, Exception ex)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.NuGetApi.BeginInstallAssemblyAsNuGetPackage(IList`1 assemblyLocations, IProject project, FileSystemPath& installedLocation)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.NuGetApi.InstallNuGetPackageFromAssemblyFiles(IList`1 assemblyLocations, IProject project, FileSystemPath& installedLocation)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.AddReference.NuGetModuleReferencer.ReferenceModule(IPsiModule module, IPsiModule moduleToReference)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.AddReference.NuGetModuleReferencer.ReferenceModuleWithType(IPsiModule module, ITypeElement typeToReference)
 at JetBrains.ReSharper.Psi.Modules.ModuleReferencerService.ReferenceModuleWithType(IPsiModule module, ITypeElement typeToReference)
 at JetBrains.ReSharper.Intentions.QuickFixes.ReferenceModuleAndTypeFixItem.ExecuteBeforePsiTransaction(ISolution solution, IProjectModelTransactionCookie cookie, IProgressIndicator progress)
 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.<>c__DisplayClass0_3.<Execute>b__0(IProgressIndicator progress)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.<>c__DisplayClass11_0.<RunStartTask>b__0()
 at JetBrains.Threading.JetDispatcher.Closure.Execute()
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
 at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
 at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
 at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
 at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
 at System.Windows.Forms.Application.ThreadContext.LocalModalMessageLoop(Form form)
 at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
 at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
 at System.Windows.Forms.Application.RunDialog(Form form)
 at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
 at System.Windows.Forms.Form.ShowDialog()
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRuns.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.Execute(ISolution solution, ITextControl textControl)
 at JetBrains.ReSharper.Feature.Services.Intentions.IntentionAction.MyExecutableProxi.Execute()
 at JetBrains.Application.UI.Controls.BulbMenu.Keys.BulbActionKey.Clicked()
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.<>c__DisplayClass29_0.<InitMenuGeneral>b__0(Object objKey)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenu.<>c__DisplayClass49_0.<InitViewModel>b__3(JetPopupMenuItem item)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.Application.UI.Controls.JetPopupMenu.Detail.JetPopupMenuDoc.ExecuteSelectedItem()
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuMainpartView.OnKeyDownLowPriority(KeyEventArgs args)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs args)
 at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
 at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
 at System.Windows.Forms.Control.WmKeyChar(Message& m)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
 at System.Windows.Forms.Form.WndProc(Message& m)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
 at System.Windows.Forms.NativeWindow.WndProc(Message& m)
 at JetBrains.UI.Utils.DpiUtil.TopLevelWindowDpiTracker.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout)
 at JetBrains.Threading.JetDispatcher.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.JetPopupMenuOverlordView.Show(Boolean isModal)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenus.ShowCore(JetPopupMenu menu, ShowWhen when, Boolean isModal, LifetimeDefinition lifetimeDefinitionOptional, IJetPopupMenuOverlordView parentView)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenus.ShowModal(JetPopupMenu menu, ShowWhen when, LifetimeDefinition lifetimeDefinitionOptional)
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.ShowBulbMenuAdvanced(IEnumerable`1 menuItems, PopupWindowContextSource contextSource, GotoByNameModel gotoByNameModel, Action`1 modelInitHandler, LifetimeDefinition viewLifetimeDefinition, IAutomation captionAutomation, Action`1 beforeShow)
 at JetBrains.ReSharper.Intentions.Bulbs.BulbOnGutterMarginIndicator.ExecuteIndicator(IDataContext context, BulbItemsReadyState readyState)
 at JetBrains.ReSharper.Intentions.Bulbs.IndicatorControllerBase.HandleAction(IDataContext context)
 at JetBrains.ReSharper.Intentions.Bulbs.AltEnterHandlers.HandleAction(IDataContext context)
 at JetBrains.ReSharper.Intentions.Bulbs.AltEnterActionHandler.Execute(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExecutableActionEvaluator.Execute(IAction action, IReadOnlyCollection`1 allActions, IDataContext dataContext)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements()
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_1.<PrepareRequirementsAsync>b__0()
 at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute()
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClass17_0.<CommandTargetExec>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.CommandTargetExec(CommandID commandid, OLECMDEXECOPT cmdExecOpt)
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<.ctor>b__12_2(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out)
 at JetBrains.VsIntegration.Shell.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut)

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

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Sep 27, 2018 4:39:50 PM
Updated Oct 25, 2018 11:48:34 AM
Subsystem No Subsystem
Assignee Andrey Akinshin (Andrey.Akinshin)
Priority Critical
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _cfcc61ab — JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180926.50111-eap01d

JetBrains dotCover 2018.3 EAP 1 D Build 2018.3.20180926.54054-eap01d
JetBrains dotMemory 2018.3 EAP 1 D Build 2018.3.20180926.53909-eap01d
JetBrains dotTrace 2018.3 EAP 1 D Build 2018.3.20180926.54107-eap01d
JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180926.53758-eap01d
JetBrains ReSharper C++ 2018.3 EAP 1 D Build 2018.3.20180926.53756-eap01d

SubProducts.0 = JetBrains dotCover 2018.3 EAP 1 D Build 2018.3.20180926.54054-eap01d
SubProducts.1 = JetBrains dotTrace 2018.3 EAP 1 D Build 2018.3.20180926.54107-eap01d
SubProducts.2 = JetBrains ReSharper C++ 2018.3 EAP 1 D Build 2018.3.20180926.53756-eap01d
SubProducts.3 = JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180926.53758-eap01d
SubProducts.4 = JetBrains dotMemory 2018.3 EAP 1 D Build 2018.3.20180926.53909-eap01d

Object reference not set to an instance of an object.

— EXCEPTION #1/2 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = E_POINTER=COR_E_NULLREFERENCE=80004003
Source = JetBrains.PsiFeatures.VisualStudio.SinceVs10
StackTraceString = “
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.NuGetApi.GetPackageFromAssemblyLocations(IList`1 assemblyLocations, FileSystemPath& installedLocation)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.NuGetApi.GetPackageFromAssemblyLocations(IList`1 assemblyLocations, FileSystemPath& installedLocation)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.NuGetApi.AreAnyAssemblyFilesNuGetPackages(IList`1 fileLocations)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.AddReference.NuGetModuleReferencer.CanReferenceModule(IPsiModule module, IPsiModule moduleToReference)
 at JetBrains.ReSharper.Psi.Modules.ModuleReferencerService.CanReferenceModule(IPsiModule module, IPsiModule moduleToReference)
 at JetBrains.ReSharper.Intentions.QuickFixes.ReferenceModuleAndTypeFix.<>c__DisplayClass5_0.<TypeResolverFactory>b__1(IClrDeclaredElement candidate)
 at System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
 at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
 at System.Linq.Enumerable.<OfTypeIterator>d__95`1.MoveNext()
 at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
 at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
 at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
 at JetBrains.ReSharper.Intentions.QuickFixes.ImportQuickFixBase.FindCandidateTypeElements(IReference reference)
 at JetBrains.ReSharper.Intentions.QuickFixes.ReferenceModuleAndTypeFix.CreateBulbActions()
 at JetBrains.ReSharper.Intentions.QuickFixes.ImportQuickFixBase.CreateBulbItems()
 at JetBrains.ReSharper.Feature.Services.Intentions.Scoped.ScopedIntentionsManager.GetScopedIntentions(IQuickFix quickFix, ISolution solution, ITextControl textControl)
 at JetBrains.ReSharper.Intentions.Bulbs.QuickFixesProvider.CollectQuickFixesUnderCaret(BulbItemsCache bulbItemsCache, IntentionsBulbItems intentionsBulbItems, ITextControl textControl, HighlightingsData highlightingsData)
 at JetBrains.ReSharper.Intentions.Bulbs.QuickFixesProvider.CollectActions(IntentionsBulbItems intentionsBulbItems, BulbItemsCache bulbItemsCache, ITextControl textControl, Lifetime caretPositionLifetime, IPsiSourceFile psiSourceFile, Object precalculatedData)
 at JetBrains.ReSharper.Intentions.Bulbs.BulbItems.<>c__DisplayClass21_0.<BuildAvailableActionsList>b__1()
 at JetBrains.Application.Threading.InterruptableReadActivityThe.Work()
 at JetBrains.Application.Threading.InterruptableReadActivity.DoWork()
 at JetBrains.Application.Threading.InterruptableReadActivity.WorkerThreadProc()
 at JetBrains.Util.Logging.Logger.Catch(Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool(S) #2”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180926.50111-eap01d”
Data.SubProducts.#0 = “JetBrains dotCover 2018.3 EAP 1 D Build 2018.3.20180926.54054-eap01d”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.3 EAP 1 D Build 2018.3.20180926.54107-eap01d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.3 EAP 1 D Build 2018.3.20180926.53756-eap01d”
Data.SubProducts.#3 = “JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180926.53758-eap01d”
Data.SubProducts.#4 = “JetBrains dotMemory 2018.3 EAP 1 D Build 2018.3.20180926.53909-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183::ee6ec90570c6093baf71312df445f5619d4f0ca2


Platform\VisualStudio:
    git::refs/heads/183::ffee72311df4f9edeb27c1e21caa642b5d6f7052

Data.VsVersion = 15.8.28010.2036
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHostEx.<>c__DisplayClass2_0.<RunSafe>b__0()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass33_0.<Create>b__1(Object state)
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
at ANNOTATED: JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread #4.JetPool(S) #2(Action )
 at JetBrains.Util.Reflection.CallStackAnnotation.InvokeAnnotated(String classNameOfNewFrame, String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Util.Reflection.CallStackAnnotation.CatchAnnotatedInvocation[TClassOfNewFrame](String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.<Start>b__20_0()
 at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart()

RSRP-471984: Introduce Field: Part of the name is selected when dialog opens.

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

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

public string _somethingHasFailed = "Something has failed";

Actual result:
Part of the name is selected:

Expected result:
The whole name is selected when dialog opens.


RSRP-80754: OutOfMemoryException

$
0
0
Reporter Ilya Ryzhenkov (orangy) Ilya Ryzhenkov (orangy)
Created Sep 16, 2008 10:30:37 AM
Updated Oct 25, 2018 12:02:36 PM
Subsystem Crash
Assignee Sergey Shkredov (serjic.shkredov)
Priority Critical
State Reopened
Type Exception
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-471985: CamelHumps in textbox: unexpected selection.

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

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

Actual result:

RSRP-470138: Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

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

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

Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

— EXCEPTION #1/1 [LoggerException]
Message = “Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.2 EAP 0 D Build 182.0.20180608.131001-eap00d”
Data.SubProducts.#0 = “JetBrains dotCover 182 Build 182.0.20180608.201415-eap00d”
Data.SubProducts.#1 = “JetBrains dotTrace 182 Build 182.0.20180608.214446-eap00d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 182 Build 182.0.20180608.214427-eap00d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 182 Build 182.0.20180608.214439-eap00d”
Data.SubProducts.#4 = “JetBrains ReSharper 182 Build 182.0.20180608.202422-eap00d”
Data.SubProducts.#5 = “JetBrains dotMemory 182 Build 182.0.20180608.214431-eap00d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182

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

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

RSRP-471986: ReSharper is disabled and message "Login failed. No valid response returned by license server" returned when login

$
0
0
Reporter Xu Lai Ming (xu2000) Xu Lai Ming (xu2000)
Created Oct 25, 2018 12:10:11 PM
Updated Oct 25, 2018 12:11:16 PM
Subsystem Licensing and Evaluation
Assignee Sergey Kuks (coox)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

ReSharper is disabled and message "Login failed. No valid response returned by license server" returned when login. It worked some days ago. And the same login ID still works on another machine. Both machines are Win10, installed for VS2013 and VS2017.
https://account.jetbrains.com/licenses shows that my license is valid.
I've tried to use license key, but failed with message "License Key is invalid". And I tried reinstalling ReSharper. ReSharper has been upgraded to the latest version.

RSRP-471987: Convert Indexer To Method: label and textbox text is not aligned.

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

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

Actual result:

Expected result:
Please put label and text in textbox on the same line.

RSRP-471181: Cannot evaluate disposed iterator

$
0
0
Reporter Igor Akhmetov (Igor.Akhmetov) Igor Akhmetov (Igor.Akhmetov)
Created Aug 21, 2018 11:24:06 PM
Updated Oct 25, 2018 12:30:45 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Open
Type Exception
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _1a2435c2ReSharper — JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180815.0-eap01d

JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180815.0-eap01d
JetBrains ReSharper C++ 2018.3 EAP 1 D Build 2018.3.20180815.0-eap01d

Cannot evaluate disposed iterator

— EXCEPTION #1/2 [AssertionException]
Message = “Cannot evaluate disposed iterator”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.RdCore
StackTraceString = “
 at JetBrains.Util.Assertion.Fail(String message)
 at JetBrains.Util.Assertion.Fail(String message)
 at JetBrains.Util.Assertion.Assert(Boolean condition, String message)
 at JetBrains.Application.UI.BindableLinq.Iterators.Iterator`2.Evaluate()
 at JetBrains.Application.UI.BindableLinq.Iterators.Iterator`2.GetEnumerator()
 at JetBrains.Application.UI.BindableLinq.Iterators.RefIterator`1.GetEnumerator()
 at JetBrains.ReSharper.UnitTestFramework.UI.VS.TreeModel.UnitTestSessionTree.DurationAggregator2.EvaluateValue()
 at JetBrains.Application.UI.BindableLinq.Aggregators.AggregatorBase`2.Evaluate()
 at JetBrains.Application.UI.BindableLinq.Aggregators.AggregatorBase`2.get_Value()
 at JetBrains.ReSharper.UnitTestFramework.UI.VS.TreeModel.UnitTestSessionTree.DurationAggregator2.EvaluateValue()
 at JetBrains.Application.UI.BindableLinq.Aggregators.AggregatorBase`2.Refresh()
 at JetBrains.Application.UI.BindableLinq.Aggregators.FreeThreadedThrottlingAggregator`2.RefreshCore()
 at JetBrains.Application.UI.BindableLinq.Aggregators.FreeThreadedThrottlingGroupingEvent.RefreshAggregators()


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Cannot evaluate disposed iterator”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool(S) #1”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180815.0-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180815.0-eap01d”
Data.SubProducts.#1 = “JetBrains ReSharper C++ 2018.3 EAP 1 D Build 2018.3.20180815.0-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/183-cpp::7bfa90620a588c8c7fe4f5a09bade2af33f48b9e

Data.VsVersion = 15.8.28010.0
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message)
 at JetBrains.Util.Logging.Logger.LogException(Exception ex)
 at JetBrains.Application.UI.BindableLinq.Aggregators.FreeThreadedThrottlingGroupingEvent.RefreshAggregators()
 at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass0_0`1.<Advise>b__0(TValue value)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.SimpleSignal.Fire()
 at JetBrains.Application.Threading.Tasks.FreeThreadedGroupingEvent.FireInternal0()
 at JetBrains.Application.Threading.Tasks.FreeThreadedGroupingEvent.FireInternal()
 at JetBrains.Application.Threading.Tasks.FreeThreadedGroupingEvent.ScheduledFireAction()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass33_0.<Create>b__1(Object state)
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
at ANNOTATED: JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.JetPool(S) #1(Action )
 at JetBrains.Util.Reflection.CallStackAnnotation.InvokeAnnotated(String classNameOfNewFrame, String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Util.Reflection.CallStackAnnotation.CatchAnnotatedInvocation[TClassOfNewFrame](String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.<Start>b__20_0()
 at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart()

RSRP-471988: myModel.CanCreateProjectFile(path)

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 25, 2018 12:29:35 PM
Updated Oct 25, 2018 12:35:05 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Submitted
Type Exception
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _3f3919c0Alisa — JetBrains ReSharper Ultimate 2018.3 EAP 5 D Build 183.0.20181024.3036-eap05d

JetBrains ReSharper 2018.3 EAP 5 D Build 2018.3.20181024.4237-eap05d

myModel.CanCreateProjectFile(path)

— EXCEPTION #1/2 [AssertionException]
Message = myModel.CanCreateProjectFile(path)
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.NewRefactorings
StackTraceString = “
 at JetBrains.ReSharper.Refactorings.Convert.Type2Partial.Type2PartialManager.CreateProjectFile(Type2PartialModel model, String filePath, String extensions)
 at JetBrains.ReSharper.Refactorings.Convert.Type2Partial.Type2PartialManager.CreateProjectFile(Type2PartialModel model, String filePath, String extensions)
 at JetBrains.ReSharper.Refactorings.Convert.Type2Partial.Type2PartialWorkflow.PreExecute(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = myModel.CanCreateProjectFile(path)
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 5 D Build 183.0.20181024.3036-eap05d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.3 EAP 5 D Build 2018.3.20181024.4237-eap05d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183

Platform\VisualStudio:
    git::refs/heads/183-alisa.textbox.1

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

RSRP-436730: Incorrect error on a custom lef/right shift operator, compiles fine.

$
0
0
Reporter Igal Tabachnik (hmemcpy) Igal Tabachnik (hmemcpy)
Created Apr 2, 2015 10:55:08 AM
Updated Oct 25, 2018 1:10:15 PM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Critical
State Fixed In Branch
Type Bug
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
The code:

public sealed class MyNumber
{
public static extern MyNumber operator <<(MyNumber left, int right);
public static extern MyNumber operator >>(MyNumber left, int right);
public static extern implicit operator MyNumber(int value);
public static extern implicit operator int (MyNumber value);
}

when used:

MyNumber a = 5;
MyNumber b = 3;
MyNumber x = a << b; // <---- error under 'b', "Right operand of shift expression should be convertible to int"

But the code compiles. Same with >>.

RSRP-469301: Unit Tests Inconclusive

$
0
0
Reporter Bradley Uffner (bradley.uffner) Bradley Uffner (bradley.uffner)
Created Apr 17, 2018 9:29:23 PM
Updated Oct 25, 2018 1:10:48 PM
Resolved Oct 3, 2018 2:55:31 PM
Subsystem Unit Testing
Assignee Angelina Elycheva (Angelina.Elycheva)
Priority Normal
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM

I have been getting strange results since upgrading to ReSharper 2018.1 in Visual Studio 15.6.5.

The Unit Test Sessions will randomly report an "Inconclusive" test result for all unit tests. I will have to repeatedly run the unit tests multiple times in order to get them to run correctly. I haven't yet found a reproducible trigger for this behavior.

Output Window for "Tests" just shows:
[4/17/2018 7:10:49 AM Informational] ------ Load Playlist started ------
[4/17/2018 7:10:49 AM Informational] ========== Load Playlist finished (0:00:00.0979608) ==========
[4/17/2018 11:21:53 AM Informational] ------ Load Playlist started ------
[4/17/2018 11:21:53 AM Informational] ========== Load Playlist finished (0:00:00.001) ==========
[4/17/2018 12:40:35 PM Informational] ------ Load Playlist started ------
[4/17/2018 12:40:35 PM Informational] ========== Load Playlist finished (0:00:00) ==========
[4/17/2018 12:41:20 PM Informational] ------ Load Playlist started ------
[4/17/2018 12:41:20 PM Informational] ========== Load Playlist finished (0:00:00.0010001) ==========

Output from Build shows:
Build with surface heuristics started at 14:23:12
Use build tool: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe
Build completed in 00:00:01.158

RSRP-470595: nugetsearch.cloudapp.net suggest to install very old packages

$
0
0
Reporter Alexander Ulitin (alexander.ulitin) Alexander Ulitin (alexander.ulitin)
Created Jul 13, 2018 5:31:57 PM
Updated Oct 25, 2018 1:37:57 PM
Subsystem NuGet Browser (Import From nuget.org)
Assignee Alexander Shvedov (shvedov)
Priority Show-stopper
State In Progress
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Nuget search service return very old packages.
For example it suggest version JetBrains.Annotation version 10.2.1 (http://nugetsearch.cloudapp.net/?type=NotNullAttribute) which was released two years ago.
This feature seems like broken without indexing new packages.

RSRP-471989: Rider doesn't see error in lambda code

$
0
0
Reporter Ivan Migalev (Ivan.Migalev) Ivan Migalev (Ivan.Migalev)
Created Oct 25, 2018 1:28:20 PM
Updated Oct 25, 2018 1:39:34 PM
Subsystem Code Analysis
Assignee Ivan Serduk (IvanSerduk)
Priority Major
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Cannot reproduce in VS 15.8.7 + ReSharper, but reproduces in Rider.

Write the following code:

using System;

namespace ConsoleApp22
{
class Program
{
class Foo {}
class Bar {}
void Update(string id, Func<Foo, bool> cb) {}
void TryUpdateTransactionInternal(string id, Action<Action<Bar, Foo, Action>> updateFunc) {}

void TryUpdateTransaction(string id, Action<Foo> cb)
{
TryUpdateTransactionInternal(id, impl => Update(id, t =>
{
impl(t, () => cb(t));
return true;
}));
}

static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}

Compiler shows an error here, but Rider doesn't:

RSRP-336451: complete on space doesn't seem to work in resharper 7.1 for live templates

$
0
0
Reporter Derek (Derek.2) Derek (Derek.2)
Created Dec 10, 2012 8:04:29 PM
Updated Oct 25, 2018 1:48:43 PM
Resolved Oct 25, 2018 1:48:43 PM
Subsystem Live Templates
Assignee Slava Tutushkin (slava.tutushkin)
Priority Normal
State Duplicate
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
To me it seems inconsistent that intellisense works one way but live
templates work differently.

Both look like popup intellisense, so it is odd that some items are
completed with space and some are not.

One of the uses I have for this is using Dragon Naturally Speaking.
If I say "integer row" I can make two live templates that change Integer/integer to int. With autocompletion of the template on space, things would work perfectly.

It could also be another optional setting, something like "complete live templates with space".
Viewing all 106942 articles
Browse latest View live


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