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

RSRP-471273: Code Mapping

$
0
0
Reporter Kevon Hayes (khayes01) Kevon Hayes (khayes01)
Created Aug 27, 2018 6:56:40 PM
Updated Oct 2, 2018 7:56:52 PM
Resolved Oct 2, 2018 7:56:52 PM
Subsystem Architecture Tools (Diagramms)
Assignee Alexander Kurakin (Alexander.Kurakin)
Priority Normal
State Incomplete
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

I downloaded a trial of Resharper 18.2 for VS 2017 and I do not see the "Architecture" menu option under the Resharper file menu. How do I get to the specific tools to do a code map.


RSRP-471215: "show in find results" after text search full freezes Visual Studio (not responding)

$
0
0
Reporter J Verdurmen (J_Verdurmen) J Verdurmen (J_Verdurmen)
Created Aug 23, 2018 11:43:24 AM
Updated Oct 2, 2018 7:57:06 PM
Resolved Oct 2, 2018 7:57:06 PM
Subsystem Navigation - Global
Assignee Alexander Ulitin (alexander.ulitin)
Priority Critical
State Incomplete
Type Bug
Fix version 2018.3
Affected versions 2018.1.3 RTM, 2018.2.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.6

after text search (Ctrl-T-T-T) and then "show in find results", Visual Studio full freezes Visual Studio (not responding). I need to restart Visual Studio then.

It's not a problem after Ctrl-T or Ctrl-T-T

Visual Studio 2017 (15.8,1)

This is in Resharper 2018.1 and in 2018.2

The problem is always there, so easy to reproduce here.

RSRP-471396: [Performance Report] Slow text input

$
0
0
Reporter Jackson Horne (jhorne) Jackson Horne (jhorne)
Created Sep 5, 2018 12:00:06 AM
Updated Oct 2, 2018 7:57:24 PM
Resolved Oct 2, 2018 7:57:24 PM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Show-stopper
State Incomplete
Type Performance Problem
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 6.3.9600.0
Product: ReSharper, Version: 2018.1.20180414.71556
Time Zone: Central Standard Time

Description

Hello - there is input lag when I type with visual studio resharper enabled. Can you please help? It typically happens more and more the longer the class file is. I have applied all of the performance suggestions on the resharper website. I am using a VM.

RSRP-470408: Cannot resolve symbol 'string'

$
0
0
Reporter Daniel Bonecke (sq_dmb) Daniel Bonecke (sq_dmb)
Created Jul 2, 2018 9:54:17 AM
Updated Oct 2, 2018 7:57:42 PM
Resolved Oct 2, 2018 7:57:42 PM
Subsystem Code Analysis
Assignee Ivan Serduk (IvanSerduk)
Priority Show-stopper
State Incomplete
Type Bug
Fix version 2018.3
Affected versions 2018.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

For whatever reason ReSharper cannot resolve lots of references.
It definitely has to do with ReSharper as the issue goes away if I suspend ReSharper.
I am using VS 2017 15.7.3 (not available here in the VsVersion combobox).
I have attached the logs.

RSRP-470934: Integration test for R# SDK

$
0
0
Reporter Anna Milova (anna.milova) Anna Milova (anna.milova)
Created Aug 6, 2018 2:43:38 PM
Updated Oct 2, 2018 8:12:30 PM
Subsystem Internals
Assignee Alexander Petrovsky (apetrov2)
Priority Major
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
  1. Install R# SDK
  2. Create a plugin
  3. Install the created plugin

RSRP-471646: asp.net gives error "Parameters do not match to the method signature"

$
0
0
Reporter Ronald van Helden (ronaldvanhelden) Ronald van Helden (ronaldvanhelden)
Created Sep 27, 2018 1:02:58 AM
Updated Oct 2, 2018 8:20:35 PM
Subsystem ASP.NET
Assignee Slava Trenogin (derigel)
Priority Normal
State Fixed In Branch
Type Usability Problem
Fix version 2018.3
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
When opening the Sample.aspx page from the following repository https://gitlab.com/kiltux/GenericTypeSample
Rider / Resharper gives the following error "Parameters do not match to the method signature" as can be seen on the screenshot.

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 2, 2018 8:23:07 PM
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-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 2, 2018 8:24:01 PM
Subsystem Unit Testing
Assignee Angelina Elycheva (Angelina.Elycheva)
Priority Normal
State Submitted
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-436926: TypeLoadException when trying to run tests for FakeItEasy project

$
0
0
Reporter Igal Tabachnik (hmemcpy) Igal Tabachnik (hmemcpy)
Created Apr 6, 2015 10:07:38 AM
Updated Oct 2, 2018 8:25:50 PM
Resolved Oct 2, 2018 8:25:50 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions 9.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
https://github.com/FakeItEasy/FakeItEasy

When trying to run any test, I get the following error:
Unit Test Runner failed to run tests

System.TypeLoadException: Could not load type 'FakeItEasy.DummyFactory`1' from assembly 'FakeItEasy, Version=2.0.0.0, Culture=neutral, PublicKeyToken=eff28e2146d5fd2c' because the method 'AssertThatFakeIsOfCorrectType' has no implementation (no RVA).

at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at NUnit.Core.CoreExtensions.InstallAdhocExtensions(Assembly assembly)
at NUnit.Core.Builders.TestAssemblyBuilder.Load(String path)
at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, Boolean autoSuites)
at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, String testName, Boolean autoSuites)
at NUnit.Core.TestSuiteBuilder.Build(TestPackage package)
at NUnit.Core.SimpleTestRunner.Load(TestPackage package)
at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
at NUnit.Core.RemoteTestRunner.Load(TestPackage package)
at JetBrains.ReSharper.UnitTestRunner.nUnit.BuiltInNUnitRunner.RunTests(IRemoteTaskServer server, Dictionary`2 tests, Dictionary`2 fixtures, List`1 explicitly, Boolean useAddins, List`1 assemblies)

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 2, 2018 8:27:12 PM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Slava Trenogin (derigel)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
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-471728: System.TypeLoadException when running .Net Core NUnit tests, which target full .Net framework

$
0
0
Reporter Fedor Buyvol-Kot (Fedor.Buyvol-Kot) Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Created Oct 2, 2018 8:30:47 PM
Updated Oct 2, 2018 8:31:40 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Tests run fine, but there is this error in the execution log:

2018.10.02 20:21:49.607 ERROR System.TypeLoadException: Could not load type 'NUnit.Engine.NUnitEngineUnloadException' from assembly 'nunit.engine.api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb'.
System.TypeLoadException: Could not load type 'NUnit.Engine.NUnitEngineUnloadException' from assembly 'nunit.engine.api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb'.
System.TypeLoadException: Could not load type 'NUnit.Engine.NUnitEngineUnloadException' from assembly 'nunit.engine.api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb'.
 at NUnit.Engine.Services.DomainManager.DomainUnloader.Unload()
 at NUnit.Engine.Runners.TestDomainRunner.UnloadPackage()
 at NUnit.Engine.Runners.AbstractTestRunner.Dispose(Boolean disposing)
 at NUnit.Engine.Runners.AbstractTestRunner.Dispose()
 at NUnit.Engine.Runners.MasterTestRunner.Dispose(Boolean disposing)
 at NUnit.Engine.Runners.MasterTestRunner.Dispose()
 at JetBrains.ReSharper.UnitTestRunner.nUnit30.BuiltInNUnitRunner.<>c__DisplayClass6_0.<RunTests>b__0() in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\UnitTesting\nUnit\Runner30\Src\BuiltInNUnitRunner.cs:line 134
 at JetBrains.ReSharper.UnitTestRunner.nUnit30.BuiltInNUnitRunner.WithExtensiveErrorHandling(IRemoteTaskServer server, Action action) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\UnitTesting\nUnit\Runner30\Src\BuiltInNUnitRunner.cs:line 942

RSRP-427346: Inspectcode: Compact Framework project - Unresolved symbols everywhere

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Nov 5, 2014 5:31:39 PM
Updated Oct 2, 2018 8:36:18 PM
Resolved Oct 2, 2018 8:36:18 PM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Slava Trenogin (derigel)
Priority Major
State Obsolete
Type Bug
Fix version Backlog
Affected versions 8.2.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
I recently tried the inspectcode command line tool on my solution (Visual studio 2008) at work, and I got a lot of

"Unresolved Symbol" warnings for variable types in many files.

When using Resharper 8.2.3 tool in Visual Studio on the same solution file, I don't receive "unresolved symbol" warnings.

RSRP-439800: JetBrains Inspect Code 9.1 - issues count randomly changing windows server 2012

$
0
0
Reporter Jorge Costa (jmecosta) Jorge Costa (jmecosta)
Created May 15, 2015 4:23:00 PM
Updated Oct 2, 2018 8:38:03 PM
Resolved Oct 2, 2018 8:38:03 PM
Subsystem Platform
Assignee Serge Baltic (baltic)
Priority Critical
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Hi,

Configuration:
JetBrains Inspect Code 9.1
Running in 64-bit mode, .NET runtime 4.0.30319.0 under Microsoft Windows NT 6.2.9200.0

Always get this:
Cannot read the Application Package metadata file c:\Tekla\BuildTools\resharpercli\JetBrains.Psi.Features.ExternalAnnotations.JetMetadata.sstg. Could not deserialize the object val
ue of type JetBrains.Application.BuildScript.Application.ApplicationPackageArtifact via the IStructuredStorage constructor. Exception has been thrown by the target of an invocation
. Expected closing of the current list, but found a string.

— EXCEPTION #1/4 [InvalidOperationException]
Message = "Expected closing of the current list, but found a string."
ExceptionPath = Root.InnerException.InnerException.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.Util
StackTraceString = "
 at JetBrains.Util.Serialization.CsexpReaderEx.EndReadList(CsexpReader reader)
 at JetBrains.Util.Serialization.CsexpReaderEx.EndReadList(CsexpReader reader)
 at JetBrains.Util.Serialization.CsexpReaderEx.AutoEndReadList.Dispose()
 at JetBrains.Application.BuildScript.Application.ApplicationPackageArtifact..ctor(IStructuredStorage sstg)
"

— Outer —

— EXCEPTION #2/4 [TargetInvocationException]
Message = "Exception has been thrown by the target of an invocation."
ExceptionPath = Root.InnerException.InnerException
ClassName = System.Reflection.TargetInvocationException
InnerException = "Exception #1 at Root.InnerException.InnerException.InnerException"
HResult = COR_E_TARGETINVOCATION=80131604
Source = mscorlib
StackTraceString = "
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at JetBrains.Build.Serialization.StructuredStorageSerialization.ReadObjectValue(Type type, IStructuredStorage storageValue, OnError onerror, IBindTypeByName typebinder)
"

— Outer —

— EXCEPTION #3/4 [BuildException]
Message = "Could not deserialize the object value of type JetBrains.Application.BuildScript.Application.ApplicationPackageArtifact via the IStructuredStorage constructor."
ExceptionPath = Root.InnerException
ClassName = JetBrains.Build.BuildException
InnerException = "Exception #2 at Root.InnerException.InnerException"
HResult = COR_E_APPLICATION=80131600
Source = JetBrains.Platform.Util
StackTraceString = "
 at JetBrains.Util.OnError.<.cctor>b__18(Exception ex)
 at JetBrains.Util.OnError.<.cctor>b__18(Exception ex)
 at JetBrains.Build.Serialization.StructuredStorageSerialization.ReadObjectValue(Type type, IStructuredStorage storageValue, OnError onerror, IBindTypeByName typebinder)
 at JetBrains.Build.Serialization.SerializedValuesResolver.Instance.GetValue()
 at JetBrains.Build.Serialization.SerializedValuesResolver.Resolve(Type type)
 at JetBrains.Build.Serialization.SerializedValuesResolver.Resolve[TComponent]()
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 ?)
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 ?)
 at JetBrains.Util.Storage.StructuredStorage.StructuredStorages.OpenStream[TReturn](Stream stream, Func`2 ?, Nullable`1 formatIfKnown)
 at JetBrains.Application.BuildScript.Solution.AllAssembliesLocator.<>c__DisplayClass4.<GetAllAssembliesOnLocallyInstalledBinariesFlat>b__0(Stream stream)
 at JetBrains.Util.FileSystemPathEx.ReadStream[T](FileSystemPath path, Func`2 FRead)
 at JetBrains.Application.BuildScript.Solution.AllAssembliesLocator.GetAllAssembliesOnLocallyInstalledBinariesFlat(ProductBinariesDirArtifact bindir)
"

— Outer —

— EXCEPTION #4/4 [LoggerException]
Message = "Cannot read the Application Package metadata file c:\Tekla\BuildTools\resharpercli\JetBrains.Psi.Features.ExternalAnnotations.JetMetadata.sstg. Could not deserialize the
object value of type JetBrains.Application.BuildScript.Application.ApplicationPackageArtifact via the IStructuredStorage constructor."
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = "Exception #3 at Root.InnerException"
HResult = COR_E_APPLICATION=80131600
StackTraceString = "
 at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception ex, String message)
 at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception ex, String message)
 at JetBrains.Application.BuildScript.Solution.AllAssembliesLocator.GetAllAssembliesOnLocallyInstalledBinariesFlat(ProductBinariesDirArtifact bindir)
 at JetBrains.Application.Environment.HostParameters.CollectProductPackagesInDirectoryFlatHostMixin.CollectSubplatformPackages()
at JetBrains.Application.Environment.HostParameters.CollectProductPackagesInDirectoryFlatHostMixin.JetBrains.Application.Environment.HostParameters.IHaveFullPartCatalogSetHost
Mixin.GetFullPartCatalogSet(Lifetime lifetime)
 at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.GetFullPartCatalogSet(Lifetime lifetime)
 at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.GetFullPartCatalogSet(Lifetime lifetime)
 at JetBrains.Application.Environment.JetEnvironment..ctor(Lifetime lifetime, JetHostParametersCaller host)
 at JetBrains.Application.Environment.JetEnvironment.<>c__DisplayClasse.<InternalCreate>b__b()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Application.Environment.JetEnvironment.InternalCreate(LifetimeDefinition lifetimeDefinition, JetHostParametersCaller host, JetEnvironment& environment)
 at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams)
 at JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(Assembly assembly, HostInfo hostInfo, String[] args)
 at JetBrains.CommandLine.InspectCode.InspectCodeProgram.<Main>b__4(RunnerContext ctx)
"

The agents with windows server 2012 usually have different number of issues reported from one run to another without source changes.

Thanks in advance
jc

RSRP-471395: OnRemoved: file without persistent index

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Aug 23, 2018 10:14:51 AM
Updated Oct 2, 2018 9:57:30 PM
Subsystem No Subsystem
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
JetBrains Rider 2018.2 Build RD-182.4231.206 Date 2018-08-22T04:58:14.060+0000

— EXCEPTION #1/1 [LoggerException]
Message = “OnRemoved: file without persistent index”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.Psi.Caches.Persistence.PersistentIndexManager.IsBadFile(IPsiSourceFile sf, String methodName) in C:\Build Agent\work\6893420d5335620b\Psi.Features\Core\Psi\_Core\Src\Caches\Persistence\PersistentIndexManager.cs:line 224
 at JetBrains.ReSharper.Psi.Caches.Persistence.PersistentIndexManager.IsBadFile(IPsiSourceFile sf, String methodName) in C:\Build Agent\work\6893420d5335620b\Psi.Features\Core\Psi\_Core\Src\Caches\Persistence\PersistentIndexManager.cs:line 224
 at JetBrains.ReSharper.Psi.Caches.Persistence.PersistentIndexManager.OnRemoved(IPsiSourceFile sf) in C:\Build Agent\work\6893420d5335620b\Psi.Features\Core\Psi\_Core\Src\Caches\Persistence\PersistentIndexManager.cs:line 238
 at JetBrains.ReSharper.Psi.Caches.Persistence.PersistentIndexManager.Execute(IChangeMap changeMap) in C:\Build Agent\work\6893420d5335620b\Psi.Features\Core\Psi\_Core\Src\Caches\Persistence\PersistentIndexManager.cs:line 120
 at JetBrains.Application.changes.ChangeManagerImpl.<>c__DisplayClass21_0.<InvokeOrderedDependentProviders>b__0(IProgressIndicator pro) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Shell\Src\changes\ChangeManagerImpl.cs:line 270
 at JetBrains.Application.Progress.SimpleTaskExecutor.ExecuteTaskTrivial(Action`1 task) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Shell\Src\Progress\SimpleTaskExecutor.cs:line 90
 at JetBrains.Application.changes.ChangeManagerImpl.OnProviderChanged(IChangeProvider changeProvider, Object change, ITaskExecutor executor) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Shell\Src\changes\ChangeManagerImpl.cs:line 224
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithWriteLock(IShellLocks thіs, Action F, CallerInfo caller) in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Shell\Src\Threading\IShellLocksEx.cs:line 384
 at JetBrains.ReSharper.Feature.Services.ExternalSources.Core.Impl.ExternalSourcesServiceImpl.<>c__DisplayClass13_0.<FlushBuilder>b__1() in C:\Build Agent\work\6893420d5335620b\Psi.Features\Core\Services\ExternalSources\_Core\Src\Core\Impl\ExternalSourcesServiceImpl.cs:line 121
 at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass0_1.<Queue>b__3() in C:\Build Agent\work\a916b5002baa11c7\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuardEx.cs:line 46
 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 440
 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 693
 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 888
 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 440
 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 50
 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 21
 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 = FindDependantCodeAction

app.eap = true
app.internal = false
app.build = RD-182.4231.206
app.version.major = 2018
app.version.minor = 2
app.build.date = 2018-08-22T04:58:14.060+0000
app.build.date.release = 2018-08-24T00:00:14.060+0000
app.build.date.release = 2018-08-24T00:00:14.060+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-465308: ReSharper reports ambiguous reference in multi-target project

$
0
0
Reporter Jiri Tomek (katulus) Jiri Tomek (katulus)
Created Jul 3, 2017 3:15:05 PM
Updated Oct 2, 2018 10:11:44 PM
Subsystem Code Analysis
Assignee Maltseva Ekaterina (Maltseva.Ekaterina)
Priority Normal
State Open
Type Bug
Fix version No Fix versions
Affected versions 2017.2
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM
ReSharper 2017.2 EAP6

I have a solution with project targetting .NET 4.6.2 and .NET Standard. Sometimes ReSharper sees ambiguous reference for a type that exists just once. ReSharper sees it twice, once for each target. See attached screenshot.
This happens randomly and mostly in unit tests project. I tried creating new solution and haven't reproduced it there.

RSRP-468004: Show local variables values in editor - crashes the debugger in VS2017

$
0
0
Reporter Peter Sylvester (sylvesp) Peter Sylvester (sylvesp)
Created Jan 18, 2018 8:38:58 PM
Updated Oct 2, 2018 10:15:19 PM
Subsystem Debugger features
Assignee Maltseva Ekaterina (Maltseva.Ekaterina)
Priority Critical
State Open
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

I have VS2017 15.5.4 and trying to debug a 64bit C# plugin to Autodesk Revit.

If I turn on "Show local variables values in editor" under ReSharper->Options->Tools->Debugger->Editor Adornments and I put a break point in a function that has a decalaration of an IntPtr then - as soon as soon I hit the breakpoint - I've get two error messages, the debugging session stops and the host application (Autodesk Revit) becomes a ghost process.
The errors I get are:

  • The debugger's worker process (msvsmon.exe) unexpectedly excited. Debugging will be aborted
    and
  • The network connection to xXXXXXX has been lost. Debuggig will be aborted.

This also causes an entry in the system event log:

Faulting application name: msvsmon.exe, version: 15.0.27130.2024, time stamp: 0x5a594527
Faulting module name: msvsmon.exe, version: 15.0.27130.2024, time stamp: 0x5a594527
Exception code: 0xc0000005
Fault offset: 0x00000000000f9053
Faulting process id: 0x269c
Faulting application start time: 0x01d390828fa58f74
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Remote Debugger\x64\msvsmon.exe
Faulting module path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Remote Debugger\x64\msvsmon.exe
Report Id: 0b6fecd7-252e-40ec-93b5-2d771a7e042e
Faulting package full name:
Faulting package-relative application ID:

RSRP-471428: Incorrect spelling check for misspelled identifier when '\\' in string.

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Sep 7, 2018 7:11:30 PM
Updated Oct 2, 2018 10:35:31 PM
Subsystem ReSpeller
Assignee Artem Bukhonov (Artem.Bukhonov)
Priority Major
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

I have a line of code in my system:

using (var fs = File.OpenText("c:\\testing\\census-in.csv"))

it is getting a warning under "esting" in the string above that "esting" is a Typo in the string (Inspection: Typo in string literal), I suspect because the inspection thinks the '\t' in front of it is a tab character, rather than an escaped '' followed by 't'.

RSRP-471729: Misleading VSTO Errors

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Oct 2, 2018 10:55:28 PM
Updated Oct 2, 2018 10:57:39 PM
Subsystem Code Analysis
Assignee Alexandra Kuks (Asia.Rudenko)
Priority Normal
State To Reproduce
Type Bug
Fix version No Fix versions
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-471402: Introduce Field: "protected internal" visibility is selected when dialog opens instead of "private".

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Sep 5, 2018 12:07:59 PM
Updated Oct 2, 2018 11:21:15 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Fixed In Branch
Type Bug
Fix version 2018.3
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains.ReSharperUltimate.2018.2.EAP9D.Checked.(182.0.20180905.50240-eap09d).

public string _somethingHasFailed = "Something has failed";
  1. Invoke Introduce Field on "Something has failed".

Actual result:
"protected internal" visibility is selected.

Expected result:
"private" visibility is selected.

RSRP-471730: Unresolved References / Yellow Triangles

$
0
0
Reporter Rene Riedinger (rene_r) Rene Riedinger (rene_r)
Created Oct 3, 2018 7:07:03 AM
Updated Oct 3, 2018 7:11:13 AM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Unspecified
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Very often when opening a solution (C#, .NET 4.6.x, .NET 4.7.x, not .NET Standard) R# displays errors but compiling shows no errors (see the screenshot attached).

To get rid of the "wrong" errors, both of the following steps work
a) Clear R# Cache and restart VS (can we have a shortcut to clear the R# Caches and restart VS or even better we should not need to restart VS)
b) Navigate to the project (in the solution explorer ) that contains the class with "wrong" errors –> left click on a reference withe the yellow triangle, click somewhere else and now R# stops to show any "wrong" errors –> of course you have to do this for every project within the solution to get rid of all "wrong" errors –> that's not funny ;)

Note: the references with the yellow triangles are added via NuGet (packages.config, not via PackageReference)

This seems to be very similar to this issues:
  1. https://youtrack.jetbrains.net/issue/RSRP-329698
  2. https://youtrack.jetbrains.net/issue/RSRP-463134
Viewing all 106942 articles
Browse latest View live


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