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

RSRP-471915: Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Aug 29, 2018 1:25:22 PM
Updated Oct 29, 2018 2:08:09 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Exception
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
JetBrains Rider 2018.2 Build RD-182.4231.268 Date 2018-08-25T07:01:46.188+0000

— EXCEPTION #1/1 [LoggerException]
Message = “Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Fail(String messageText) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 788
 at JetBrains.Util.Logging.Logger.Fail(String messageText) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 788
 at JetBrains.ReSharper.Psi.CompilationContextCookie.GetContext() in C:\Build Agent\work\6893420d5335620b\Psi.Features\Core\Psi\_Core\Src\CompilationContextCookie.cs:line 219
 at JetBrains.ReSharper.Feature.Services.Navigation.Requests.SearchRequest.Search() in C:\Build Agent\work\6893420d5335620b\Psi.Features\Core\Services\_Core\Src\Navigation\Requests\SearchRequest.cs:line 37
 at JetBrains.ReSharper.Feature.Services.Navigation.DefaultDeclaredElementNavigator.Navigate(IDeclaredElement declaredElement, PopupWindowContextSource windowContext, Boolean transferFocus, SolutionFeaturePartsContainer container, Nullable`1 options, TabOptions tabOptions) in C:\Build Agent\work\6893420d5335620b\Psi.Features\Core\Services\_Core\Src\Navigation\DefaultDeclaredElementNavigator.cs:line 67
 at JetBrains.ReSharper.Feature.Services.Navigation.DeclaredElementNavigationService.Navigate(IDeclaredElement declaredElement, PopupWindowContextSource windowContext, Boolean transferFocus, Nullable`1 options, TabOptions tabOptions) in C:\Build Agent\work\6893420d5335620b\Psi.Features\Core\Services\_Core\Src\Navigation\DeclaredElementNavigationService.cs:line 58
 at JetBrains.ReSharper.Feature.Services.Refactorings.NavigationPoint.<>c__DisplayClass6_0.<.ctor>b__0() in C:\Build Agent\work\6893420d5335620b\Psi.Features\Core\Services\_Core\Src\Refactorings\NavigationPoint.cs:line 27
 at JetBrains.ReSharper.Feature.Services.Refactorings.NavigationPoint.<ExecuteNavigate>b__10_0() in C:\Build Agent\work\6893420d5335620b\Psi.Features\Core\Services\_Core\Src\Refactorings\NavigationPoint.cs:line 64
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 300
 at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions() in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 664
 at JetBrains.Threading.JetDispatcher.Closure.Execute() in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\JetDispatcher.cs:line 626
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 439
 at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce() in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 731
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run() in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 931
 at JetBrains.ReSharper.Host.Product.ReSharperHostMain.Main(Lifetime lifetime, IReSharperHostSettings settings, ILogger logger, ShellProtocol protocol, RdShellModel shellModel, ApplicationShutdownRequests shutdownRequests) in C:\Build Agent\work\b8207f29c58fdb68\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Product\ReSharperHostMain.cs:line 38
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
 at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass0_0.<.ctor>b__0() in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\RunsPublicStaticIntMain.cs:line 80
 at JetBrains.Util.Logging.Logger.Catch(Action action) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 339
 at JetBrains.Threading.JetDispatcher.Closure.Execute() in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\JetDispatcher.cs:line 626
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 439
 at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
 at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\RdCore\Src\Lifetime\Lifetimes.cs:line 234
 at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\IJetHostEx.cs:line 95
 at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\HostParameters\Interface\JetHostParametersCaller.cs:line 181
 at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\JetEnvironment.cs:line 251
 at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\JetEnvironment.cs:line 137
 at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.MainX(Assembly assembly, HostInfo hostInfo, String[] args) in C:\Build Agent\work\b8207f29c58fdb68\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Product\ReSharperHostProgram.cs:line 52
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\RdCore\Src\Lifetime\Lifetimes.cs:line 281
 at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.Main() in C:\Build Agent\work\b8207f29c58fdb68\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Product\ReSharperHostProgram.cs:line 23
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
 at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)



last.action = null

app.eap = true
app.internal = false
app.build = RD-182.4231.268
app.version.major = 2018
app.version.minor = 2
app.build.date = 2018-08-25T07:01:46.188+0000
app.build.date.release = 2018-08-24T00:00:46.188+0000
app.build.date.release = 2018-08-24T00:00:46.188+0000
app.compilation.timestamp = null
app.product.code = RD

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

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

RSRP-463819: ReSharper CLT InspectCode.exe variance

$
0
0
Reporter Josh Pharis (jrpharis) Josh Pharis (jrpharis)
Created Mar 20, 2017 6:59:11 PM
Updated Oct 29, 2018 2:24:28 PM
Resolved Oct 29, 2018 2:24:28 PM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Slava Trenogin (derigel)
Priority Critical
State Fixed
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I am having issues using InspectCode.exe as a MSBuild build step to fail a build when errors and warnings against the ReSharper code inspection rules occur. If I run ReSharper -> Inspect -> Code Issues in Solution, I get no errors (using default rules). When I run inspectcode.exe (either from the command line or as a build step), I get numerous errors with the message "Cannot resolve symbol '<type>'".

I have tried this with the inspectcode.exe executable that is downloaded with the JetBrains.ReSharper.CommandLineTools (v2016.3.20170126.124346) Nuget package and with the download from the JetBrains website. I confirmed I am able to build my solution with MsBuild.exe with no parameters.

RSRP-472046: Filter Issues does not work for Inspection results

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Oct 29, 2018 2:40:10 PM
Updated Oct 29, 2018 2:40:10 PM
Subsystem Code Analysis - Find Code Issues
Assignee Mikhail Senkov (micha)
Priority Critical
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Find code issues in solution.
Open Filter Issues...
Uncheck All, check C#->Constraint Violations-> Inconsistent Naming.
Press OK.
Open Filter Issues...
Now the only selected checkbox is TyepScript->TypeScript Compiler Errors.
BTW this item is listed twice for some reason....

RSRP-469707: TypeScript Compiler Errors Inspection Results Filter

$
0
0
Reporter Simon Hewitt (simmotech) Simon Hewitt (simmotech)
Created May 17, 2018 5:59:10 PM
Updated Oct 29, 2018 2:40:10 PM
Subsystem TypeScript
Assignee Nikita Popov (poksh)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Run Code Inspection for a project then click the Filter Issues button and Uncheck All. Click OK.

Reopen the Filter Issues tree and note that TypeScript has a checked item.
Expand the note and note that TypeScript Compiler Errors is listed twice and one of them is checked.

RSRP-472047: Change Signature [VB.NET]: method calls itself when selecting "Delegate via overloading method".

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 29, 2018 2:40:10 PM
Updated Oct 29, 2018 2:40:10 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
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 Class Class11
    Sub Main1()
    End Sub
End Class
  1. Invoke Change Signature on Main1.
  2. Set NewMain as Name; select "Delegate via overloading method".
  3. Click Next.

Actual result:

Public Class Class11
    Sub Main1()
        Main1()
    End Sub

    Sub NewMain()
    End Sub
End Class

Expected result:

Public Class Class11
    Sub Main1()
        NewMain()
    End Sub

    Sub NewMain()
    End Sub
End Class

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

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

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

Object reference not set to an instance of an object.

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


— Outer —

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


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

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

RSRP-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 29, 2018 2:41:02 PM
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-472006: myReadWriteLockAcquisitionForbidden == 0

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Oct 22, 2018 9:09:08 AM
Updated Oct 29, 2018 2:46:10 PM
Resolved Oct 26, 2018 10:55:12 AM
Subsystem No Subsystem
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Normal
State Duplicate
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _fec4ed46 — JetBrains ReSharper Ultimate 2018.3 EAP 3 Build 183.0.20181017.142146-eap03

JetBrains ReSharper 2018.3 EAP 3 Build 2018.3.20181017.143746-eap03

SubProducts.0 = JetBrains ReSharper 2018.3 EAP 3 Build 2018.3.20181017.143746-eap03

myReadWriteLockAcquisitionForbidden == 0

— EXCEPTION #1/1 [LoggerException]
Message = “myReadWriteLockAcquisitionForbidden == 0”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 3 Build 183.0.20181017.142146-eap03”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.3 EAP 3 Build 2018.3.20181017.143746-eap03”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183-eap3::e973b4d5f748b509166e6f51671725b46f49a980


Platform\VisualStudio:
    git::refs/heads/183-eap3::fc454ab6515ce285326e0ae10a24a4a54fba27b6

Data.VsVersion = 15.8.28010.2046
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.Application.Threading.ContentModelReadWriteLock.AcquireReadLock()
 at JetBrains.ReSharper.Resources.Shell.ReadLockCookie.Create()
 at JetBrains.ReSharper.Psi.Modules.PsiModulesExtensions.HasSourceProject(IPsiModules psiModules, IAssembly assembly)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.SolutionDeclarationsScope.Accepts(IPsiModule module)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.DeclarationsScopeBase.Accepts(ITypeElement typeElement)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.SymbolScopeBase.GetElementsByQualifiedName(String qualifiedName)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.DebugPropertyPresenter.ProcessQualifiedTypeName(String text, TextStyle style, Boolean highlightType, String begin, String end)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.DebugPropertyPresenter.PresentObjectValue(DebugProperty2 value, Boolean showHex)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.DebugPropertyPresenter.Present(DebugProperty2 value, IPresentableItem item, TreeModelNode structureelement, PresentationState state)
 at JetBrains.Application.UI.Controls.TreeView.StructuredPresenter`2.PresentationCallbackWrapper`1.UpdateItem(Object value, TStructureElement structureElement, TPresentableItem item, PresentationState state)
 at JetBrains.Application.UI.Controls.TreeView.StructuredPresenter`2.UpdateItem(Object value, TStructureElement structureElement, TPresentableItem item, PresentationState state)
 at JetBrains.ReSharper.Feature.Services.Tree.TreeModelBrowserPresenter.UpdateItemWithReadlock(Object value, TreeModelNode structureElement, IPresentableItem item, PresentationState state)
 at JetBrains.ReSharper.Feature.Services.Tree.TreeModelBrowserPresenter.UpdateItem(Object value, TreeModelNode structureElement, IPresentableItem item, PresentationState state)
 at JetBrains.ReSharper.Feature.Services.Tree.Async.WrappedPresenter.UpdateItem(Object value, TreeModelNode structureElement, IPresentableItem item, PresentationState state)
 at JetBrains.Application.UI.Controls.TreeView.StructuredPresenter`2.UpdateItem(TStructureElement structureElement, TPresentableItem item, PresentationState state)
 at JetBrains.ReSharper.Feature.Services.Tree.RichTextLiveTreeModel.UpdateItem(ITreeModelNode child)
 at JetBrains.ReSharper.Feature.Services.Tree.RichTextLiveTreeModel.OnChildAdded(ITreeModelNode parent, ITreeModelNode child)
 at JetBrains.Application.UI.TreeModels.New.LiveTreeNode`1.LiveTreeNodeCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
 at JetBrains.Application.UI.BindableLinq.Collections.BindableCollection`1.Add(T item)
 at JetBrains.Application.UI.TreeModels.New.LiveTreeNode`1.LiveTreeNodeCollection`1.System.Collections.Generic.ICollection<JetBrains.Application.UI.TreeModels.New.ITreeModelNode>.Add(ITreeModelNode item)
 at JetBrains.Util.CollectionUtil.AddRange[TTarget,TSource](ICollection`1 to, IEnumerable`1 from)
 at JetBrains.ReSharper.Feature.Services.Tree.Async.AsyncLiveTreeModel.ResetChildren(IEnumerable`1 nodesWithChildren)
at JetBrains.ReSharper.Feature.Services.Tree.Async.AsyncLiveTreeModel.<>c__DisplayClass11_0.<Expand>g__InvokeResetChildren|8(List1 nodeWithChildrens)
at JetBrains.ReSharper.Feature.Services.Tree.Async.AsyncLiveTreeModel.<>c__DisplayClass11_0.<Expand>g__WhenAll|2(Task task)
at JetBrains.ReSharper.Feature.Services.Tree.Async.AsyncLiveTreeModel.<>c__DisplayClass11_0.<Expand>b__0(Task t, Object __)
at System.Threading.Tasks.ContinuationTaskFromTask.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.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
at System.Threading.Tasks.StandardTaskContinuation.Run(Task completedTask, Boolean bCanInlineContinuationTask)
at System.Threading.Tasks.Task.ContinueWithCore(Task continuationTask, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions options)
at System.Threading.Tasks.Task.ContinueWith(Action
2 continuationAction, Object state, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, StackCrawlMark& stackMark)
 at System.Threading.Tasks.Task.ContinueWith(Action`2 continuationAction, Object state, TaskContinuationOptions continuationOptions)
 at System.Threading.Tasks.Task.ContinueWith(Action`2 continuationAction, Object state, TaskContinuationOptions continuationOptions)
 at JetBrains.ReSharper.Feature.Services.Tree.Async.AsyncLiveTreeModel.Expand(ICollection`1 items, ISubProgressAggregator progress, Boolean runSynchronous)
 at JetBrains.ReSharper.Feature.Services.Tree.Async.AsyncLiveTreeModelBrowserDescriptor.ExpandRequestedNodes(ICollection`1 nodesToEvaluate)
 at JetBrains.ReSharper.Feature.Services.Tree.Async.AsyncLiveTreeModelBrowserDescriptor.<>c__DisplayClass35_0.<EvaluateNodes>b__0()
 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.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
 at System.Threading.ThreadPoolWorkQueue.Dispatch()
 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

RSRP-470924: Problems with autocompletion after the '.'

$
0
0
Reporter Alexander Petrovsky (apetrov2) Alexander Petrovsky (apetrov2)
Created Aug 3, 2018 10:18:30 PM
Updated Oct 29, 2018 2:54:00 PM
Resolved Oct 29, 2018 2:54:00 PM
Subsystem IntelliSense (Code Completion)
Assignee Mikhail Senkov (micha)
Priority Critical
State Fixed
Type Bug
Fix version 2018.3
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
In this case, I get (each case with different frequency):
  • auto-popup with the empty list (see autocompletion_1.png)
  • there is no auto-popup (see autocompletion_2.png)
  • everything good (see autocompletion_3.png)

RSRP-471998: TypeScript code analysis incorrectly reports "Usage of possibly unassigned value" when finally clause used

$
0
0
Reporter Jon Saffron (Jon_Saffron) Jon Saffron (Jon_Saffron)
Created Oct 25, 2018 5:34:32 PM
Updated Oct 29, 2018 2:55:09 PM
Subsystem TypeScript
Assignee Nikita Popov (poksh)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.8.6

Example code:

    class TestClass {
        unassignedValueWarning() {
            let evt: Event;
            try {
                evt = new Event("event");
            } finally {
                // no code needed
            }

            evt.preventDefault();   // incorrect warning here
        }

        noWarning() {
            let evt: Event;
            try {
                evt = new Event("event");
            } catch (error) {
                throw error;
            }

            evt.preventDefault();   // no warning here
        }
    }

In the first function, there is a "Usage of possibly unassigned value" warning which is incorrect. It seems to happen whenever a finally clause is introduced.

RSRP-467718: Need separate option for using continuous indent inside initializers braces

$
0
0
Reporter Steven Coco (steevcoco) Steven Coco (steevcoco)
Created Dec 21, 2017 9:34:34 PM
Updated Oct 29, 2018 3:00:51 PM
Resolved Oct 29, 2018 3:00:51 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Major
State Fixed
Type Usability Problem
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

The option:

Code Editing / C# / Formatting Style / Tabs, Indents, Alignments
Use Continuous line indent inside parenthesis

Does not apply to parenthesis, but DOES apply to braces in object initializers.

My desire is to use the continuous indent (2) inside wrapped parenthesis, but use one indent inside object initializers. If I turn the above option OFF, then I seem to get that behavior, but it is unclear.

RSRP-459376: Cannot infer type for params IEnumerable[]

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Jun 20, 2016 4:05:18 PM
Updated Oct 29, 2018 3:11:45 PM
Resolved Oct 29, 2018 3:11:45 PM
Subsystem Code Analysis - C#
Assignee Olga Lukianova (olka)
Priority Show-stopper
State Fixed
Type Bug
Fix version 2018.3
Affected versions 2016.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have a method with the following signature:
public static bool In<T>(this T item, IEnumerable<T>[] collections)
to determine if the item appears in any of the collections. When called with one collection, the code compiles and works as expected, but at the call site ReSharper highlights an error, saying that the type could not be inferred from the usage, e.g.:
string item = "foo"; 
string[] collection = new string[] { "foo", "bar" };
return item.In(collection);
If I change the type of the collection to IEnumerable<string> (which it is anyway), the error goes away.

RSRP-467113: An item with the same key has already been added.

$
0
0
Reporter Fedor Buyvol-Kot (Fedor.Buyvol-Kot) Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Created Nov 20, 2017 3:11:21 PM
Updated Oct 29, 2018 3:16:30 PM
Resolved Oct 29, 2018 3:16:30 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Obsolete
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 11 Hive _e39205b9 — JetBrains ReSharper Ultimate 2017.3 EAP 7 D Build 111.0.20171120.22934-eap07d

JetBrains dotCover 2017.3 EAP 7 D Build 2017.3.20171120.43049-eap07d
JetBrains dotMemory 2017.3 EAP 7 D Build 2017.3.20171120.43049-eap07d
JetBrains dotTrace 2017.3 EAP 7 D Build 2017.3.20171120.42637-eap07d
JetBrains ReSharper 2017.3 EAP 7 D Build 2017.3.20171120.24116-eap07d
JetBrains ReSharper C++ 2017.3 EAP 7 D Build 2017.3.20171120.24100-eap07d
JetBrains TeamCity Add-in 2017.3 EAP 7 D Build 2017.3.20171120.24119-eap07d

An item with the same key has already been added.

— EXCEPTION #1/2 [ArgumentException]
Message = “An item with the same key has already been added.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentException
HResult = E_INVALIDARG=COR_E_ARGUMENT=80070057
Source = mscorlib
StackTraceString = “
 at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
 at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
 at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
 at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
 at JetBrains.ReSharper.UnitTestFramework.UI.VS.UnitTestGroupingProvider.ElementManagerDependency.Register(Instance instance)
 at JetBrains.ReSharper.UnitTestFramework.UI.VS.UnitTestGroupingProvider.ElementManagerDependency.Instance..ctor(ElementManagerDependency definition, IUnitTestElement element)
 at JetBrains.ReSharper.UnitTestFramework.UI.VS.UnitTestGroupingProvider.ElementManagerDependency.ConstructForElement[TElement](TElement sourceElement, IPathNavigator pathNavigator)
 at JetBrains.Application.UI.TreeModels.New.LiveTreeGroupModel`1.DependencyStore.CreateFor(VolatileTreeGroupProvider provider, TItem item)
 at JetBrains.Application.UI.TreeModels.New.LiveTreeGroupModel`1.GroupManagementCallbacks(IEnumerable`1 items)
 at JetBrains.Application.UI.TreeModels.New.LiveTreeGroupModel`1.OnItemsAdded(IEnumerable`1 items)
 at JetBrains.Application.UI.TreeModels.New.LiveTreeGroupModel`1.OnItemAdded(TItem item)
 at JetBrains.Application.UI.TreeModels.New.LiveTreeGroupModel`1.DependencyStore.RegroupItem(Object item, String propertyName)
 at JetBrains.ReSharper.UnitTestFramework.UI.VS.UnitTestGroupingProvider.ElementManagerDependency.Instance.Fire()
 at JetBrains.ReSharper.UnitTestFramework.UI.VS.UnitTestGroupingProvider.ElementManagerDependency.NotifySubscribers(ISet`1 elements)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “An item with the same key has already been added.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = DaemonThread
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2017.3 EAP 7 D Build 111.0.20171120.22934-eap07d”
Data.SubProducts.#0 = “JetBrains dotCover 2017.3 EAP 7 D Build 2017.3.20171120.43049-eap07d”
Data.SubProducts.#1 = “JetBrains dotTrace 2017.3 EAP 7 D Build 2017.3.20171120.42637-eap07d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2017.3 EAP 7 D Build 2017.3.20171120.24100-eap07d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2017.3 EAP 7 D Build 2017.3.20171120.24119-eap07d”
Data.SubProducts.#4 = “JetBrains ReSharper 2017.3 EAP 7 D Build 2017.3.20171120.24116-eap07d”
Data.SubProducts.#5 = “JetBrains dotMemory 2017.3 EAP 7 D Build 2017.3.20171120.43049-eap07d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave11::eda927b4cf79e219a277dfcd3388352182a76878

Data.VsVersion = 15.5.27110.0
Data.VsPreview = True
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.ReSharper.UnitTestFramework.Elements.UnitTestElementManagerExtensions.FireElementChanged(IUnitTestElementManager elementManager, IUnitTestElement element)
 at JetBrains.ReSharper.UnitTestProvider.nUnit.v30.Elements.NUnitElementBase.set_Parent(IUnitTestElement value)
 at JetBrains.ReSharper.UnitTestProvider.nUnit.v30.NUnitElementFactory.GetOrCreateTest(String id, IProject project, TargetFrameworkId targetFrameworkId, NUnitTestFixtureElement parent, IClrTypeName typeName, String shortName, ISet`1 categories, Action`1 onUnitTestElementChanged)
 at JetBrains.ReSharper.UnitTestProvider.nUnit.v30.NUnitFileExplorer.ProcessBeforeInterior(ITreeNode element)
 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants(ITreeNode root, IRecursiveElementProcessor processor)
 at JetBrains.ReSharper.UnitTestProvider.nUnit.v30.NUnitElementsSource.ProcessFile(IFile psiFile, IUnitTestElementsObserver observer, Func`1 interrupted)
 at JetBrains.ReSharper.UnitTestFramework.UnitTestFileExplorer.Explore(IFile file, IDocument document, Func`1 interrupt, Action`1 addHighlighting)
 at JetBrains.ReSharper.UnitTestFramework.Highlighting.UnitTestDaemonProcess.Execute(Action`1 committer)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.RunStage(IDaemonStage stage, DaemonProcessKind processKind, Action`2 commiter, IContextBoundSettingsStore contextBoundSettingsStore, JetHashSet`1 disabledStages)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClassb.<>c__DisplayClassf.<DoHighlighting>b__9(IDaemonStage stage)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass14.<PrepareRunActionForStages>b__11()
 at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass14.<>c__DisplayClass16.<EnqueueDependentJobs>b__12()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClasse.<Create>b__a(Object state)
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
 at System.Threading.Tasks.Task.WrappedTryRunInline()
 at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
 at JetBrains.Application.Threading.Tasks.TaskBarrier.DisposeUnmanagedResources()
 at JetBrains.Util.SafeDisposable.DisposeInternal()
 at JetBrains.Util.SafeDisposable.Dispose()
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClassb.<DoHighlighting>b__7()
 at JetBrains.Application.Notifications.PerformanceUserNotifications.<>c__DisplayClass7.<WithPerformanceNotification>b__6(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using(Lifetime parent, Action`1 λ)
 at JetBrains.Application.Notifications.PerformanceUserNotifications.WithPerformanceNotification(TimeSpan performanceThreshold, String title, String body, Action action)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.DoHighlighting(DaemonProcessKind processKind, Action`1 commiter, IContextBoundSettingsStore contextBoundSettingsStore)
 at JetBrains.ReSharper.Daemon.Impl.VisibleDocumentDaemonProcess.DoHighlighting(Boolean globalAnalysisStages)
 at JetBrains.ReSharper.Daemon.Impl.VisibleDocumentDaemonProcess.<>c__DisplayClassb.<EnqueueHighlightingJob>b__a()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClasse.<Create>b__a(Object state)
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.SingleThreadExecutorView.InternalExecute(Task task)
 at JetBrains.Application.Threading.Tasks.SingleThreadExecutorView.ThreadProc()
 at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart()

RSRP-467818: Template Studio solution errors

$
0
0
Reporter Philip Lee (philiplee) Philip Lee (philiplee)
Created Jan 4, 2018 10:12:16 PM
Updated Oct 29, 2018 3:17:26 PM
Subsystem XAML
Assignee Alexandra Kuks (Asia.Rudenko)
Priority Critical
State Waiting for Info
Type Bug
Fix version No Fix versions
Affected versions 2017.3.1
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
Using VS 2017 15.5.2 + template Studio 1.6 extension.
Create new template studio app, and select a variety of the available options.
Select Caliburn.Micro.

R# highlights several errors, possibly anything in cu: or fcu: namespaces

e.g.
<Grid fcu:*Visibility*="Collapsed" cu:*Visibility*="Visible">
<Setter Target="TitlePage.Margin" cu:*Value*="48,0,12,7" fcu:*Value*="0,0,12,7"/>

where

xmlns:fcu ="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,5)"
xmlns:cu ="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,5)"

RSRP-446335: In the test runner when sorting by category, the parent category fails even though all children succeed

$
0
0
Reporter Luke Wood (lukwood) Luke Wood (lukwood)
Created Aug 6, 2015 1:32:00 PM
Updated Oct 29, 2018 3:27:04 PM
Resolved Oct 29, 2018 3:27:04 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
In the ReSharper test runner when grouping tests by 'Categories' or 'Project and Categories' the category will fail even though all tests it contains pass.

RSRP-470212: Inspect Code throws "Not enough storage is available to process this command" when Analyzing

$
0
0
Reporter Ryan Sweeney (sween) Ryan Sweeney (sween)
Created Jun 18, 2018 7:37:48 PM
Updated Oct 29, 2018 3:27:31 PM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Alexandra Kuks (Asia.Rudenko)
Priority Critical
State To Reproduce
Type Exception
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

After updating ReSharper.CLT version 2018.1.2, our CI build gets a "Not enough storage is available to process this command" when analyzing files. The last item analyzed in the log is usually the last item before the actual inspection of files happens. There is plenty of disk space and available RAM on the server that this CI task runs on.

RSRP-459084: Add Support for Test Filters with Hotkey Support

$
0
0
Reporter Derek Greer (derekgreer) Derek Greer (derekgreer)
Created Jun 3, 2016 12:32:14 AM
Updated Oct 29, 2018 3:28:10 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
As a Developer, I would like to enter a keyboard shortcut (e.g. Ctrl+R,T) that only runs tests matching a given criteria (e.g. tests which have attribute [Unit]) so that I can run different categories of tests more easily (i.e. not run tests that have attribute [Acceptance]).

When I view the Resharper -> Options -> Tools -> Unit Testing configuration menu, it should have a Test Filters sub-view.
When I view the Test Filters sub-view, it should allow me to add a new filter.
When adding a new filter to the Test Filters view, it should allow me to add a folder path criteria.
When adding a new filter to the Test Filters view, it should allow me to add a .Net class attribute type criteria.
When adding a new filter to the Test Filters view, it should allow me to add a .Net base class attribute type criteria.
When adding a new filter to the Test Filters view, it should allow me to select from a list of Visual Studio Keyboard Commands (ex. Resharper.Resharper_UnitTestrRunSolution_Filter1, Resharper.Resharper_UnitTestrRunSolution_Filter2, etc.)

When viewing Visual Studio's Tools -> Options -> Environment -> Keyboard, it should contain Keyboard Commands to associate to the new filters.

When issuing the shortcut associated with Resharper.Resharper_UnitTestrRunSolution_Filter1 associated with a filter for a Unit attribute, it should only run tests marked with the Unit attribute.

When viewing the Resharper Test Runner, it should have a filter drop down listing all configured filters and the associated keyboard shortcut.

RSRP-461732: group tests by project, then by namespace, then by category.

$
0
0
Reporter Ariel Horowitz (arielorvits) Ariel Horowitz (arielorvits)
Created Nov 14, 2016 5:06:56 PM
Updated Oct 29, 2018 3:29:59 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I want to group tests by project, then by namespace, then by category.

for now I can group by category OR by project, then by namespace.

but I want category to be sub-division of project|namespace :)

I guess that most developers will happy for such an option, since in c# unit test (at least with nunit) we cant divide test fixture to some parts (except #region etc. which are not visible in test window)

RSRP-466896: Rider shows and warns about method with conditional access that it is skipped, when it is not

$
0
0
Reporter Kevin Streicher (kstreicher) Kevin Streicher (kstreicher)
Created Nov 1, 2017 12:00:14 AM
Updated Oct 29, 2018 3:42:26 PM
Subsystem Psi - C#
Assignee Andrey Dyatlov (Andrey.Dyatlov)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
In our unity project I have the following scenario and suddenly rider stopped correctly detecting the conditions. It warns me the method DrawCube is skipped - when it clearly is not. UNITY_EDITOR is in fact defined by unity and I can see that the method is executed.

It does not hinder any development or anything, but damn is this annoying (as I can not rely on the highlighting anymore... it could be false)

//Placeable.cs
#if UNITY_EDITOR || DEVELOPMENT_BUILD
#define DEBUG_PLACEABLE
#endif

public class Placeable : MonoBehaviour
{
private static class Debugger
{
[Conditional("DEBUG_PLACEABLE")]
public static void DrawLine(bool when, Vector3 from, Vector3 to, Color c, float time) =>Tools.DrawLine(when, from, to, c, time);
}

//Tools.cs
public static class Tools
{
public static void DrawLine(Vector3 from, Vector3 to, Color c, float time)
{
    Debug.DrawLine(from, to, c, time, false);
}

public static void DrawLine(bool when, Vector3 from, Vector3 to, Color c, float time)
{
if (when) DrawLine(from, to, c, time);
}

RSRP-469482: Upgrading loses code snipits

$
0
0
Reporter ERIC WAHNER (ewahner) ERIC WAHNER (ewahner)
Created Apr 30, 2018 9:16:35 PM
Updated Oct 29, 2018 4:07:01 PM
Subsystem Platform - VS Integration
Assignee Alexandra Kuks (Asia.Rudenko)
Priority Critical
State To Reproduce
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Every time I upgrade to the latest version of your product I lose all of the ctor* code snippets. Typically I have to export all of my settings and then re-import them and that seems to fix it.

Viewing all 106942 articles
Browse latest View live


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