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

RSRP-102757: Unsafe property getter

$
0
0
Reporter Ilya Ryzhenkov (orangy) Ilya Ryzhenkov (orangy)
Created Apr 8, 2009 8:48:22 PM
Updated Oct 23, 2018 2:18:02 PM
Resolved Oct 23, 2018 2:18:02 PM
Subsystem Code Analysis
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Duplicate
Type Bug
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
public int foo { unsafe get { return 5; } } is a compiler error, but Resharper doesn't mark it as one.

RSRP-338714: Unsafe modifier is allowed in property setter and getter

$
0
0
Reporter Nikita Raba (nikita.raba) Nikita Raba (nikita.raba)
Created Feb 14, 2013 3:35:12 PM
Updated Oct 23, 2018 2:18:02 PM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Critical
State Reopened
Type Bug
Fix version Backlog
Affected versions 10.0.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
R# does not mark such code as incorrect:
public int MyProperty
{
unsafe get
{
//unsafe code
}
}

RSRP-277225: Refactor - Move into other assembly has odd behaviour

$
0
0
Reporter lusitania (lusitania) lusitania (lusitania)
Created Oct 17, 2011 10:56:25 PM
Updated Oct 23, 2018 2:21:53 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Open
Type Bug
Fix version Backlog
Affected versions 6.0, 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Suppose I want to move some types into a "contract" project. The project wasn't referenced before. I move the types (allowing R#er to fix namespaces) and the dialogue warns me about the missing project reference (which it will add for me) and that all calls to these types will break (WTF why?!). And that is exactly what will happen.

However if I add the reference myself before calling R#er it moves the types correctly (fixes the namespace as well as all calls to the type). Nothing broken.

I'd expect R#er to re-evaluate things after it added project dependencies. The functionality exists, its just not using it in all relevant execution paths.

My version:
JetBrains ReSharper 6.0 Full Edition
Build 6.0.2202.688 on 2011-06-29T19:14:16
Plugins: none
Visual Studio 10.0.40219.1.

RSRP-273184: Missed compiler error related to unsafe

$
0
0
Reporter T (thymin) T (thymin)
Created Jun 24, 2011 3:29:33 PM
Updated Oct 23, 2018 2:25:02 PM
Resolved Oct 23, 2018 2:25:02 PM
Subsystem Code Analysis
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Fixed
Type Bug
Fix version Unidentified prior version
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
var fpManaged = new int[10];
fixed (int* fpManagedPtr = fpManaged)
{
int x = 0;
var y = &fpManagedPtr; //cannot take the address of a readonly value
}

RSRP-471943: Namespace Provider's "False" value isn't respected for newly created subfolders

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Oct 22, 2018 5:12:31 PM
Updated Oct 23, 2018 2:47:00 PM
Subsystem Platform - Project Model
Assignee Sergey Kuks (coox)
Priority Normal
State Submitted
Type Bug
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
1st scenario
resharper will often ignore the value and apply a namespace even when the value is set to false. I have to restart VS to get it to work properly.

  • Choose a root folder (in my case a project folder named Code with Namespace Provider = False)
  • Alt-Ins -> New Folder
  • name folder "test"
  • with "test" folder selected, Alt-Ins Class
  • name class "testclass"
  • class will have namespace <ProjectName>.test
  • change value of NamespaceProvider to False on test folder, which will have defaulted to True
  • right click "test" folder and choose Refactor -> Adjust Namespaces
  • refactoring fails to detect that "test" namespace should now be removed from testclass


2nd scenario (workaround it to reopen the solution)
Create few domain folders (namespace = true), fe. BusinessLogic, Configuration, Reporting. Then you create a few subfolders (namespace = false), fe. Entities, Enums, Helpers, Services, Interfaces. Try create a few new files / Try move files between folders. / Try create new folders and move files in. / Try create another subfolders of Entities where namespace provider is also disabled. The base idea is to keep the same namespace for many files within the same "domain", for example


3rd scenario, reopening doesn't help
another thing I noticed is that after deleting the "test" folder and "testclass" class file, when running through these steps making a new "test" folder, the new folder ended up having Namespace Provider default to False, so it remembered the setting from the deleted folder. Even so, it the refactoring still would not change the namespace to not say "test".


Reproduced with 2018.3 EAP

Having the property for the TestFolder1stLeve parent folder set to False and then adding new Test subfolder with False and then adding a new file results in ConsoleApp1.TestFolder1stLevel.Test namespace for the file. Reloading the solution doesn't fix the issue.

RSRP-468497: Error when saving cshtml file in .NET Core solution

$
0
0
Reporter Justin C (ccano.chen) Justin C (ccano.chen)
Created Feb 25, 2018 4:52:45 PM
Updated Oct 23, 2018 3:03:30 PM
Subsystem Platform - VS Integration
Assignee Alexandra Kuks (Asia.Rudenko)
Priority Normal
State Waiting for Info
Type Bug
Fix version Backlog
Affected versions 2017.3.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Hi guys,
An error "the operation could not be completed" occurs when saving cshtml file in .NET Core solution.

Please note, this error only happens when I put cursor in C# code part, otherwise I can save file normally.
See attached screenshot for your reference.

Version:
Visual Studio 2017 15.5.7
Resharper 2017.3.2

RSRP-471954: Incorrect 'Possible InvalidOperationException' warning

$
0
0
Reporter Andrey Dyatlov (Andrey.Dyatlov) Andrey Dyatlov (Andrey.Dyatlov)
Created Oct 23, 2018 2:26:14 PM
Updated Oct 23, 2018 3:04:50 PM
Subsystem Code Analysis - Control Flow
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Lifted math operators like - and comparison operators like > in the code below return null and false if any of the operands is null.
The warning below is invalid since if i is null
1. 9m - i is always null
2. 9m - i > j => null > j is always false
using System;

class C
{
public void Test()
{
decimal? c = Environment.TickCount;
var m = new ItemStaticListMember();
decimal? i = m.SourcePrice - m.SourcePrice / 100 * m.Value;
decimal? j = c / 2;

if (9m - i > j)
{
var a = i.Value; // incorrect possible InvalidOperatrionException warning
var b = j.Value;
}
}

public class ItemStaticListMember
{
public decimal Value { get; set; }

public decimal? SourcePrice { get; set; }
}
}

Interestingly enough if you change the i variable declaration to the following the warning will disappear
decimal? i = m.SourcePrice / 100 * m.Value;

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 23, 2018 3:49:32 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-468433: Test categories are displayed wrong in .NET Core projects

$
0
0
Reporter Thomas Fröhle (Thomas.Fröhle) Thomas Fröhle (Thomas.Fröhle)
Created Feb 18, 2018 3:52:02 AM
Updated Oct 23, 2018 3:53:38 PM
Subsystem Unit Testing
Assignee Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Priority Critical
State To Reproduce
Type Bug
Fix version Unidentified prior version
Affected versions 2017.3
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.6

There seams to be a bug with displaying test categories in the Resharper Test Explorer in net core projects.
We categorize out tests with the Category-Attribute like so:


In netcoreapp2.0 test-projects Resharper's Test Explorer has problems with displaying the categories.
If we group the test by category we get 3 nodes. One (correct) for "Unit", one for "Unit]" and one for "[Category". UnitTest1 appears in the two nodes "Unit]" and "[Category"]:

Sometimes it corrects itself when double clicking on a test in a "wrong" node. But they keep appearing in this wrong way.
This behavior is reproducible on multiple development machines and has been like this for various Resharper and Visual Studio Updates.
The same kind of categorizing works for .NET Framework projects.

I attached a sample project.

RSRP-462601: Add postfix templates for common collections

$
0
0
Reporter Boris Modylevsky (Boris.Modylevsky) Boris Modylevsky (Boris.Modylevsky)
Created Jan 18, 2017 11:19:06 AM
Updated Oct 23, 2018 4:12:23 PM
Subsystem Live Templates
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Improvement
Fix version No Fix versions
Affected versions 2016.3.1, 2016.3.2, 2016.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
I would like to be able to create collections from a single member using a postfix template,

For example:

11.array would create "new int[] { 11 }"
11.list would create new List<int> { 11 }
{ 11, "value" }.dict would create "new Dictionary<int, string>{ { 11, "value" } }"

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 23, 2018 4:23:57 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-471955: Create Type from .cshtml - two identical targets shown

$
0
0
Reporter Alexandra Kuks (Asia.Rudenko) Alexandra Kuks (Asia.Rudenko)
Created Oct 23, 2018 4:25:11 PM
Updated Oct 23, 2018 4:25:31 PM
Subsystem Quick Fixes - Create From Usage
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
1. create new project from Web / ASP.NET Web Application (not .NET Core!) / MVC
2. add new item / Helper (Razor v3) - .cshtml file is opened
3. replace its content with:
@helper BookList(IEnumerable<BookStore.Models.Book> books)
{

}
4. Alt+Enter on BookStore / Create Type - R# suggests two identical targets:

RSRP-471576: Type reference could be only for type reference but is used on

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Sep 20, 2018 4:58:04 PM
Updated Oct 23, 2018 4:26:02 PM
Subsystem JavaScript
Assignee Nikita Popov (poksh)
Priority Normal
State Submitted
Type Exception
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _3f3919c0ProjectModel — JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180918.154710-eap01d

JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180918.160255-eap01d

Type reference could be only for type reference but is used on

— EXCEPTION #1/1 [LoggerException]
Message = “Type reference could be only for type reference but is used on”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool(L) #7”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180918.154710-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180918.160255-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183-deferred-projects::f881e303bc575e4fd458361426a27fbf97c94603


Platform\VisualStudio:
    git::refs/heads/183-deferred-projects

Data.VsVersion = 15.8.28010.2026
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.FailWithSensitiveData(String messageText, Pair`2[] sensitiveData)
 at JetBrains.Util.Logging.Logger.FailWithSensitiveData(String messageText, Pair`2[] sensitiveData)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.PrimitiveTypeExtensions.GetTypeReferenceType(JsPrimitive primitive, String name)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsTypeBase.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsTypeWithSignaturesBase.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsNamedType.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ProcessDerivedTypes(JsTypeResolveResult type, JsResolveContext context, JsTypeDescriptionOpInfo derivedTypeInfo, StrongTypeMode mode, Boolean expectedType, JsUnresolvedTypeFlags flags, Boolean addStandardTypes, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.<>c.<.cctor>b__58_1(JsResolveContext context1, JsUnresolvedTypeBase me, MyCalculationIdentifier ident)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ExpandRecursively(JsResolveContext context, Boolean standardTypes, Boolean expectedTypes, JsUnresolvedTypeFlags flags, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.<>c.<.cctor>b__58_1(JsResolveContext context1, JsUnresolvedTypeBase me, MyCalculationIdentifier ident)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ExpandRecursively(JsResolveContext context, Boolean standardTypes, Boolean expectedTypes, JsUnresolvedTypeFlags flags, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ResolveType(JsResolveContext context, Boolean standardTypes, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Syntax.TypeScriptOwnInspectionsProcess.VisitTsReferenceName(ITsReferenceName tsReferenceNameParam, IHighlightingConsumer context)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Tree.TypeScript.TsReferenceName.Accept[TContext](TsTreeNodeVisitor`1 visitor, TContext context)
 at JetBrains.ReSharper.Daemon.JavaScript.Prelude.TypeScript.TsDaemonStageProcessBase.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Syntax.TypeScriptOwnInspectionsProcess.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants[TContext](ITreeNode root, IRecursiveElementProcessor`1 processor, TContext context)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Syntax.TypeScriptOwnInspectionsProcess.<Execute>b__10_0(IJavaScriptFile file, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Daemon.JavaScript.Prelude.TypeScript.TsDaemonStageProcessBase.HighlightInFile(Action`2 fileHighlighter, Action`1 commiter)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Syntax.TypeScriptOwnInspectionsProcess.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__DisplayClass47_1.<DoHighlighting>g__Stage|2(IDaemonStage stage)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass49_1.<PrepareRunActionForStages>b__0()
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass49_1.<PrepareRunActionForStages>b__0()
 at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass22_1.<EnqueueDependentJobs>b__2()
 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 #D.JetPool(L) #7(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-471956: Move To Folder: move to another project does not add using.

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

JetBrains.ReSharperUltimate.2018.3.EAP4D.Checked.(183.0.20181023.40040-eap04d).
Test solution: \\unit-1019\Share\Clean Test Projects\AspNetCore2.zip.

  1. Invoke Move To Folder on ISomeInterface in AspNetCore.Startup.cs.
  2. Set NetStandard as Target folder; select "Put classes into separate files"; check "Fix namespaces".
  3. Click Next.
  4. Build solution.

Actual result:
Build fails because using NetStandard; was not added to AspNetCore.Startup.cs.

Expected result:
Build succeeds.

RSRP-471860: TextView has disconnected from TextControl on TextViewDataChanged.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Oct 9, 2018 6:07:02 PM
Updated Oct 23, 2018 5:00:20 PM
Subsystem No Subsystem
Assignee Denis Korneev (Denis.Korneev)
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 _c04239a4 — JetBrains ReSharper Ultimate 2018.3 EAP 1 Build 183.0.20181005.161021-eap01

JetBrains dotCover 2018.3 EAP 1 Build 2018.3.20181005.162547-eap01
JetBrains dotMemory 2018.3 EAP 1 Build 2018.3.20181005.162416-eap01
JetBrains dotTrace 2018.3 EAP 1 Build 2018.3.20181005.162553-eap01
JetBrains ReSharper 2018.3 EAP 1 Build 2018.3.20181005.162249-eap01

TextView has disconnected from TextControl on TextViewDataChanged.

— EXCEPTION #1/1 [LoggerException]
Message = “TextView has disconnected from TextControl on TextViewDataChanged.”
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 1 Build 183.0.20181005.161021-eap01”
Data.SubProducts.#0 = “JetBrains dotCover 2018.3 EAP 1 Build 2018.3.20181005.162547-eap01”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.3 EAP 1 Build 2018.3.20181005.162553-eap01”
Data.SubProducts.#2 = “JetBrains ReSharper 2018.3 EAP 1 Build 2018.3.20181005.162249-eap01”
Data.SubProducts.#3 = “JetBrains dotMemory 2018.3 EAP 1 Build 2018.3.20181005.162416-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183-eap1::0eb0065d062c9bfc4eb1590bcaf200021b887a20


Platform\VisualStudio:
    git::refs/heads/183-eap1::e3ef340faae02e8bc8af03a0370466b734b63622

Data.VsVersion = 15.8.28010.2041
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.VsTextViewDataForTextControlCollectorDevTen.<>c__DisplayClass0_1.<.ctor>b__6(EventArgs`1 args)
 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.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.TrackVsTextViewDataForTextControlChangesEx.<>c__DisplayClass0_0.<FireTextViewDataChanged>b__0()
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.TrackVsTextViewDataForTextControlChangesEx.FireTextViewDataChangedImpl(ITrackVsTextViewDataForTextControlChanges trackVsTextViewDataForTextControlChanges, Lifetime lifetime, IShellLocks locks, Action action)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.TrackVsTextViewDataForTextControlChangesEx.FireTextViewDataChanged(ITrackVsTextViewDataForTextControlChanges trackVsTextViewDataForTextControlChanges, Lifetime lifetime, IShellLocks locks, Func`1 isEventStillActual, IWpfTextView wpfTextView)
 at JetBrains.Platform.VisualStudio.SinceVs10.IDE.VsDocumentManagerWhidbey_TrackVsTextViewDataForTextControlChanges.<>c__DisplayClass0_0.<.ctor>b__2()
 at JetBrains.UI.Application.LocalReentrancyGuard.TryExecute(Action action)
 at JetBrains.Platform.VisualStudio.SinceVs10.IDE.VsDocumentManagerWhidbey_TrackVsTextViewDataForTextControlChanges.<>c__DisplayClass0_1.<.ctor>b__0(EventArgs`1 args)
 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.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.OnRegisterTextBuffer(VsTextBufferData textBufferData, Boolean forceReregisterEventProjectFileIsTheSame)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.<>c__DisplayClass26_0.<OnRdtAfterFirstDocumentLock>b__0()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.<>c__DisplayClass23_0.<ExecuteOrQueueOrMergeUnguardedCallbackWithLog>b__0()
 at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass8_1.<ExecuteOrQueueOrMerge>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F, TaskPriority priority)
 at JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(Lifetime lifetimeQueue, String name, Action F)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.ExecuteOrQueueOrMergeUnguardedCallbackWithLog(String eventName, VSCOOKIE docCookie, Action action)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.OnRdtAfterFirstDocumentLock(EventArgs`1 args)
 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.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.<>c__DisplayClass4_0.<OnAfterFirstDocumentLock>b__0()
 at JetBrains.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.<>c__DisplayClass3_0.<FireSignalWithLog>b__0()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.FireSignalWithLog(Action fireAction, String format, Object[] args)
 at JetBrains.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.OnAfterFirstDocumentLock(UInt32 docCookie, UInt32 dwRdtLockType, UInt32 dwReadLocksRemaining, UInt32 dwEditLocksRemaining)
 at JetBrains.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnAfterFirstDocumentLock(UInt32 docCookie, UInt32 dwRdtLockType, UInt32 dwReadLocksRemaining, UInt32 dwEditLocksRemaining)
 at Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable2.FindOrRegisterAndLockDocument(UInt32 grfRDTLockType, String pszMkDocument, IVsHierarchy pHierPreferred, UInt32 itemidPreferred, IntPtr punkDocData, IVsHierarchy& ppHierActual, UInt32& pitemidActual, IntPtr& ppunkDocDataActual, UInt32& pdwCookie)
 at Microsoft.VisualStudio.Platform.WindowManagement.Rdt.FindOrRegisterAndLockDocument(RdtFlags flags, String moniker, IVsHierarchy hier, UInt32 itemID, IntPtr punkDocData, RdtLock& rdtLock)
 at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.RegisterAndLockDocData(String lpstrMkDoc, RdtFlags rdtLockType, Object docData)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.set_DocumentSite(DocumentObjectSite value)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateContentPane(FrameMoniker frameMoniker, Boolean isDocument, String lpstrMkDoc, UInt32 eCreateWindowFlags, Object punkView, Object punkData, IServiceProvider pServiceProvider, IVsUIHierarchy pUIHierarchy, UInt32 vsid, Guid rguidCmdUI, ViewGroup parent, IVsWindowFrame& ppWindowFrame)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateContentPane(String pszName, Int32 fDockViewOn, Int32 fDocument, String lpstrMkDoc, UInt32 eCreateWindowFlags, UInt32 dwToolWinId, Object punkView, Object punkData, IServiceProvider pServiceProvider, IVsUIHierarchy pUIHierarchy, UInt32 vsid, Int32& pfDefaultPosition, Guid& rguidCmdUI, IVsWindowFrame& ppWindowFrame)
 at Microsoft.VisualStudio.Shell.Interop.IVsProject2.ReopenItem(UInt32 itemid, Guid& rguidEditorType, String pszPhysicalView, Guid& rguidLogicalView, IntPtr punkDocDataExisting, IVsWindowFrame& ppWindowFrame)
 at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.ReopenDocumentFrame(WindowManagerService windowManager, StubWindowInfo stubInfo, ReopenDocumentOptions options, DocumentGroup docGroup, Int32& hr)
 at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.ReopenDocumentFrame(IWindowManagerPrivate windowManager, StubWindowInfo stubInfo, ReopenDocumentOptions options, DocumentGroup docGroup, Int32& hr)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.EnsureStubFrameInitialized(Boolean show, StubWindowInitializationReason reason)
 at Microsoft.VisualStudio.Platform.WindowManagement.StubWindowInfo.Microsoft.Internal.VisualStudio.Shell.Interop.IVsStubWindowPrivate.EnsureLoaded()
 at Microsoft.Internal.VisualStudio.Shell.Interop.IVsRunningDocumentTablePrivate.NotifyOnBeforeShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame)
 at Microsoft.VisualStudio.Platform.WindowManagement.Rdt.NotifyOnBeforeShow(UInt32 cookie, Boolean firstShow, IVsWindowFrame frame)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.NotifyFrameShowing(UInt32 cookie, Boolean firstShow)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.EnsureContentConstructed()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(Object sender, ActiveViewChangedEventArgs e)
 at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
 at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(View view, ActivationType type)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.ActivateViewFromTabControl(TabControl tabControl, ActivationType type)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.OnTabControlSelectionChanged(Object sender, SelectionChangedEventArgs args)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.<>c.<.cctor>b__23_27(Object sender, SelectionChangedEventArgs args)
 at System.Windows.Controls.SelectionChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
 at System.Windows.Controls.TabControl.OnSelectionChanged(SelectionChangedEventArgs e)
 at Microsoft.VisualStudio.PlatformUI.LayoutSynchronizedTabControl.OnSelectionChanged(SelectionChangedEventArgs e)
 at System.Windows.Controls.Primitives.Selector.InvokeSelectionChanged(List`1 unselectedInfos, List`1 selectedInfos)
 at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()
 at System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info, Boolean assumeInItemsCollection)
 at System.Windows.Controls.Primitives.Selector.OnSelectedItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
 at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
 at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
 at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
 at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
 at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
 at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
 at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
 at System.Windows.Data.BindingExpression.ScheduleTransfer(Boolean isASubPropertyChange)
 at MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean dependencySourcesChanged, Boolean initialValue, Boolean isASubPropertyChange)
 at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
 at MS.Internal.Data.PropertyPathWorker.OnDependencyPropertyChanged(DependencyObject d, DependencyProperty dp, Boolean isASubPropertyChange)
 at MS.Internal.Data.ClrBindingWorker.OnSourceInvalidation(DependencyObject d, DependencyProperty dp, Boolean isASubPropertyChange)
 at System.Windows.Data.BindingExpression.HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
 at System.Windows.Data.BindingExpressionBase.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
 at System.Windows.Data.BindingExpression.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
 at System.Windows.DependentList.InvalidateDependents(DependencyObject source, DependencyPropertyChangedEventArgs sourceArgs)
 at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
 at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
 at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
 at Microsoft.VisualStudio.PlatformUI.Shell.NestedGroup.UpdateSelectionCore(Int32 oldIndex)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewGroup.UpdateSelection(Int32 previousSelectionIndex)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewGroup.OnChildVisibilityChanged(ViewElement item)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewElement.OnIsVisibleChanged()
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewElement.OnIsVisibleChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
 at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
 at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
 at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
 at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
 at Microsoft.VisualStudio.PlatformUI.Shell.View.Hide()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Hide>b__480_0()
 at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method, Boolean reportError, Boolean setShellErrorInfo)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Hide()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.DisposeManagedResources()
 at Microsoft.VisualStudio.PlatformUI.DisposableObject.Dispose(Boolean disposing)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<>c__DisplayClass452_0.<CloseFrame>b__0()
 at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method, Boolean reportError, Boolean setShellErrorInfo)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.CloseFrame(__FRAMECLOSE frameClose)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.frameView_Hiding(Object sender, CancelEventArgs e)
 at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent(CancelEventHandler eventHandler, Object source, CancelEventArgs args)
 at Microsoft.VisualStudio.PlatformUI.Shell.View.RaiseHiding()
 at Microsoft.VisualStudio.PlatformUI.Shell.View.Hide()
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.OnHideViewCore(ViewElement closingViewElement, Boolean hideOnlyActiveView)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.OnHideView(Object sender, ExecutedRoutedEventArgs args)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.<>c.<.cctor>b__23_9(Object sender, ExecutedRoutedEventArgs args)
 at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
 at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
 at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
 at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
 at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
 at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
 at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
 at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
 at Microsoft.VisualStudio.Platform.WindowManagement.DocumentTabItemStyle.OnMouseDown(Object sender, MouseButtonEventArgs e)
 at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
 at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
 at System.Windows.Input.InputManager.ProcessStagingArea()
 at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
 at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
 at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
 at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

RSRP-471181: Cannot evaluate disposed iterator

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

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

Cannot evaluate disposed iterator

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


— Outer —

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

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

RSRP-471957: [Performance Report] ReSharper intellisense extremely slow in class method with lots of lambdas

$
0
0
Reporter Jakub Holovsky (JakubHolovsky) Jakub Holovsky (JakubHolovsky)
Created Oct 23, 2018 5:14:31 PM
Updated Oct 23, 2018 5:19:09 PM
Subsystem No Subsystem
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Open
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 10.0.17134.0
Product: ReSharper, Version: 2018.2.20180912.160227
Time Zone: Central Europe Standard Time

Description

I observe this happening in our AutoMapper configuration class where there is a lot of lambdas.
I am attaching the class to this issue so you can have a look at it.

Steps to reproduce:
1) create class with method that contains a lot of lambdas
2) observe that anytime intellisense kicks in it's EXTREMELY slow and sluggish, basically unusable
3) disable ReSharper
4) observe that intellisense in the same class method kicks in quick with no lags

Here is a recording that shows the whole issue:
https://jakubholovsky.tinytake.com/sf/MzAxMDM0N185MDIxNzc3

RSRP-471826: Resharper Installer needs local admin rights for Visual Studio 2017

$
0
0
Reporter peter wellstein (petercosmic) peter wellstein (petercosmic)
Created Oct 12, 2018 4:01:08 PM
Updated Oct 23, 2018 5:31:47 PM
Subsystem Installation
Assignee Denis Korneev (Denis.Korneev)
Priority Normal
State Open
Type Bug
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
When trying to install JetBrains.ReSharperUltimate.2018.2.3.exe we face the issue that for integration with VS 2017 we apparently need local admin rights (not needed for VS2015). However this is prevented by company policy. Is there a way to get around it?

RSRP-466121: Unable to perform any solution-wide refactoring on large solutions.

$
0
0
Reporter Thijs Tijsma (thijstijsma) Thijs Tijsma (thijstijsma)
Created Sep 2, 2017 3:10:50 PM
Updated Oct 23, 2018 5:39:35 PM
Subsystem Quick Fixes
Assignee Lilia Shamsutdinova (Lilia.Shamsutdinova)
Priority Normal
State Waiting for Info
Type Bug
Fix version No Fix versions
Affected versions 2017.2
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.6
I'm trying to clean up a legacy code base and I want to use ReSharper to do so.

The issue I'm having is that when I select "Remove unused namespaces... in solution" it crashes halfway through the solution (~2500 of ~5500 files). It might be because ReSharper is trying to open all those unsaved documents?

It would be great if there was a way to override this behavior if that's the behavior that's causing it.

Kind regards,

Thijs Tijsma

RSRP-471765: The given key was not present in the dictionary.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Sep 19, 2018 11:03:06 AM
Updated Oct 23, 2018 5:39:46 PM
Subsystem Build Scripts
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Normal
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 _3f3919c0 — JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180919.22621-eap01d

JetBrains dotCover 2018.3 EAP 1 D Build 2018.3.20180919.24125-eap01d
JetBrains dotMemory 2018.3 EAP 1 D Build 2018.3.20180919.23937-eap01d
JetBrains dotTrace 2018.3 EAP 1 D Build 2018.3.20180919.24133-eap01d
JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180919.23820-eap01d
JetBrains ReSharper C++ 2018.3 EAP 1 D Build 2018.3.20180919.23820-eap01d
JetBrains TeamCity Add-in 2018.3 EAP 1 D Build 2018.3.20180919.23833-eap01d

The given key was not present in the dictionary.

— EXCEPTION #1/2 [KeyNotFoundException]
Message = “The given key was not present in the dictionary.”
ExceptionPath = Root.InnerException
ClassName = System.Collections.Generic.KeyNotFoundException
HResult = COR_E_KEYNOTFOUND=80131577
Source = mscorlib
StackTraceString = “
 at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
 at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
 at JetBrains.ReSharper.Psi.BuildScripts.ReferenceManager.GetMappedFile(IEnumerable`1 nodes, IDictionary`2 mapping)
 at JetBrains.ReSharper.Psi.BuildScripts.ReferenceManager.BuildDeclaredElements(BuildScriptGraph graph)
 at JetBrains.ReSharper.Psi.BuildScripts.InclusionEngine.BuildScriptCache.ForceGraphLoad()
 at JetBrains.ReSharper.Psi.BuildScripts.InclusionEngine.BuildScriptCache.CheckBuildScriptGraph()
 at JetBrains.ReSharper.Psi.BuildScripts.InclusionEngine.BuildScriptCache.BuildStateForFile(IPsiSourceFile psiSourceFile, Boolean isStartup)
 at JetBrains.ReSharper.Psi.BuildScripts.InclusionEngine.BuildScriptCache.Build(IPsiSourceFile sourceFile, Boolean isStartup)
 at JetBrains.ReSharper.Psi.Caches.Jobs.JobUpdateProjectFiles.<>c__DisplayClass14_0.<BuildSourceFile>b__0()


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “The given key was not present in the dictionary.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool(S) #5”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180919.22621-eap01d”
Data.SubProducts.#0 = “JetBrains dotCover 2018.3 EAP 1 D Build 2018.3.20180919.24125-eap01d”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.3 EAP 1 D Build 2018.3.20180919.24133-eap01d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.3 EAP 1 D Build 2018.3.20180919.23820-eap01d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.3 EAP 1 D Build 2018.3.20180919.23833-eap01d”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180919.23820-eap01d”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.3 EAP 1 D Build 2018.3.20180919.23937-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183::5d0d97d12df0d17c8a4183b9ac7f76b286efbc04


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

Data.VsVersion = 15.8.28010.2026
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.Psi.Caches.Jobs.JobUpdateProjectFiles.<>c__DisplayClass14_0.<BuildSourceFile>b__0()
 at JetBrains.ReSharper.Psi.Caches.Jobs.JobUpdateProjectFiles.<>c__DisplayClass14_0.<BuildSourceFile>b__0()
 at JetBrains.Util.Logging.ILoggerStructuredEx.DoCalculation[T](LoggerWithSeverity logger, String key, String message, Func`1 action, Func`2 report)
 at JetBrains.ReSharper.Psi.Caches.Jobs.JobUpdateProjectFiles.BuildSourceFile(IPsiSourceFile sourceFile, IDocument doc)
 at JetBrains.ReSharper.Psi.Caches.Jobs.JobUpdateProjectFiles.<>c__DisplayClass13_1.<ExecuteUpdate>b__1(IPsiSourceFile file, IDocument doc)
 at JetBrains.ReSharper.Psi.Caches.Jobs.CacheJobService2.<>c__DisplayClass37_0`2.<WrappedJob>b__0()
 at JetBrains.ReSharper.Psi.Caches.Jobs.CacheJobService2.<>c__DisplayClass35_0`2.<ExecuteWithPrerocessAndInterrupt>b__1(T x, TPreprocessResult y)
 at JetBrains.Application.Threading.Tasks.TaskHostEx.<>c__DisplayClass5_1`2.<PreprocessSingleThreadedAndParallelize>b__1()
 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 #3.JetPool(S) #5(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()
Viewing all 106942 articles
Browse latest View live


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