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

RSRP-469162: Retain log history of last successful test.

$
0
0
Reporter Ryan Leach (ryantheleach) Ryan Leach (ryantheleach)
Created Apr 9, 2018 10:18:58 AM
Updated Apr 9, 2018 10:18:58 AM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

With unit testing, I came across the idea of retaining the output of the last successful/unsuccessful test.

Often when I've done some heavy refactoring, the unit tests that were previously passing will fail, But I have no idea how, or why, even whilst debugging.

What ends up happening is that I need to swap branches back to the previous commit, possibly stashing my changes if they arn't commit ready.

Run the tests, debug and store the log files generated by the test, then swap back to the failing test cases run, debug, compare.

What would be undoubtedly awesome UX would be if the last test results for unsuccessful, and successful were cached, and viewable in the test editor.

It can save people in my shoes a LOT of time, and change the way they do test logging for the better.


RSRP-459475: Large white area in Exception Browser (not internal mode)

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Jun 23, 2016 1:55:39 PM
Updated Apr 9, 2018 10:22:39 AM
Subsystem Exception submitter
Assignee Daniel Degtyarev (daniel.degtyarev)
Priority Normal
State Submitted
Type Bug
Fix version 2018.1
Affected versions 2018.1, 2016.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
In the Exception Browser between the summary list and the What were you doing when the exception occurred? box there is a large white area that shrinks and grows when resizing the window.

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

$
0
0
Reporter Brian Ricketts (briman94) Brian Ricketts (briman94)
Created Mar 3, 2018 10:17:01 PM
Updated Apr 9, 2018 10:37:23 AM
Subsystem JavaScript
Assignee Nikita Popov (poksh)
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 12 Hive _ae046853 — JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180228.142904-eap01d

JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180228.144736-eap01d

LastExtension = ts
SubProducts.0 = JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180228.144736-eap01d
ManagedThreadName = JetPool (L) Regular thread #2
ManagedThreadName = JetPool (L) Regular thread #1
ManagedThreadName = DaemonThread

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) Regular thread #1”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180228.142904-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180228.144736-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave12-RSRP-467036

Data.VsVersion = 15.6.27428.1
Data.VsPreview = True
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.ResolveType(JsResolveContext context, Boolean standardTypes, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.ResolveTypeArray(ITsSubstitution instantiation, JsResolveContext context, IList`1 javaScriptTypes, StrongTypeMode strict, List`1& resolvedTypes, JsTypeResolveInfo& info, Boolean useFirstAsContextual, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.ExpandBestCommonType(IList`1 typeList, ITsSubstitution instantiation, JsResolveContext context, StrongTypeMode strict, JsCombinedTypeKind kind, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ExpandCombinedType(JsUnresolvedTypeArray typeList, JsTypeExpandingContext expContext, ITsSubstitution instantiation, Boolean reportSuccessOrError, JsCombinedTypeKind kind, JsTypeResolveResult contextualType, JsUnresolvedTypeFlags flags)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ExpandTypeForPrimaryPrimitive(JsTypeDescriptionOpInfo info, IPsiSourceFile file, JsUnresolvedTypeFlags flags, JsTypeExpandingContext context, Boolean reportSuccessOrError, 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.Psi.JavaScript.Resolve.JsParameterInfo.GetResolvedType(JsResolveContext context, IJsFunctionSignature signature, StrongTypeMode strongTyped, Boolean allowIdentityLoss, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.GetFormalParameterType(JsParameterInfo[] paramList, Int32 index, JsResolveContext context, IJsFunctionSignature signature, StrongTypeMode strongTyped, Boolean allowIdentityLoss, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.GetParameterType(JsParameterInfo[] paramList, Int32 index, JsResolveContext context, IJsFunctionSignature signature, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.SourceSignatureIsRelatableToTarget(IJsFunctionSignature targetSignature, IJsFunctionSignature sourceSignature, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignaturesInt(JsResolveContext context, IJsFunctionSignature signature1, IJsFunctionSignature signature2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignatureSetsInt(IList`1 targetSignatures, IList`1 sourceSignatures, ITsType targetOwnerTypeInfo, ITsType sourceOwnerTypeInfo, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId 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.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypeResults(JsResolveContext context, JsTypeResolveResult sourceTypeResult, JsTypeResolveResult targetTypeResult, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId 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.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.SourceSignatureIsRelatableToTarget(IJsFunctionSignature targetSignature, IJsFunctionSignature sourceSignature, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignaturesInt(JsResolveContext context, IJsFunctionSignature signature1, IJsFunctionSignature signature2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignatureSetsInt(IList`1 targetSignatures, IList`1 sourceSignatures, ITsType targetOwnerTypeInfo, ITsType sourceOwnerTypeInfo, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId 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.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.SourceSignatureIsRelatableToTarget(IJsFunctionSignature targetSignature, IJsFunctionSignature sourceSignature, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignaturesInt(JsResolveContext context, IJsFunctionSignature signature1, IJsFunctionSignature signature2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignatureSetsInt(IList`1 targetSignatures, IList`1 sourceSignatures, ITsType targetOwnerTypeInfo, ITsType sourceOwnerTypeInfo, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId 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.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypeResults(JsResolveContext context, JsTypeResolveResult sourceTypeResult, JsTypeResolveResult targetTypeResult, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId 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.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareCombinedWithOr(JsResolveContext ctx, ITsCombinedType typeToSplit, IJsResolvedType typeToCompare, Boolean isUnion, ComparisonContext comparisonContext, JsTypeResolveInfo info1, JsTypeResolveInfo info2, ComparisonKind comparisonKind)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.UnionOrIntersectionAssignabilityOrSubtypingComparison(JsResolveContext ctx, IJsResolvedType source, JsTypeResolveInfo info1, IJsResolvedType target, JsTypeResolveInfo info2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.UnionOrIntersectionComparison(JsResolveContext ctx, IJsResolvedType type1, JsTypeResolveInfo info1, IJsResolvedType type2, JsTypeResolveInfo info2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId 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.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesWithExtendedResult(JsResolveContext context, JsTypeResolveResult type1, JsTypeResolveResult type2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypes(JsResolveContext context, JsTypeResolveResult type1, JsTypeResolveResult type2, ComparisonKind comparisonKind, IJsTypeResolveInfoMerger merger)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.IsApplicable(JsResolveContext context, IJsFunctionSignature info, IJsUnresolvedType[] parameters, JsTypeResolveResult[] typeParams, Boolean moreThanOneSignature, JsTypeExpandingContext derivedPrimitives, TempCalculationIdent ident, Boolean checkOnlySubtype, JsTypeResolveResult contextualTypeForSignature, ITsSubstitution& instantiation)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.<>c__DisplayClass12_1.<ResolveOverloadsStrongTyping>b__0(JsResolveContext ctx)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithoutRecursion(ICalculationIdentifier ident, ResolveContextKind resolveKind, Action`1 calculator)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.ResolveOverloadsStrongTyping(FrugalLocalList`1& result, FrugalLocalList`1& signatures, JsResolveContext context, IJsUnresolvedType[] parameters, JsUnresolvedTypeArray typeParams, JsTypeExpandingContext derivedPrimitives, IJsTypeResolveCalculationItem ident, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.ResolveOverloads(FrugalLocalList`1& result, FrugalLocalList`1& signatures, JsResolveContext context, JsUnresolvedTypeArray parameters, JsUnresolvedTypeArray typeParams, JsTypeExpandingContext derivedPrimitives, IJsTypeResolveCalculationItem ident, Boolean onlyWithTypeParams, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.ResolveOverloads(FrugalLocalList`1& result, FrugalLocalList`1& signatures, JsResolveContext context, JsPrimitiveKind operation, JsUnresolvedTypeArray parameters, JsUnresolvedTypeArray typeParams, JsTypeExpandingContext derivedPrimitives, IJsTypeResolveCalculationItem ident, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsTypeWithSignaturesBase.ProcessOverloads(JsResolveContext context, IJsTypeResolveCalculationItem ident, IJavaScriptTypeFileCache cache, IJsInvocationInfo info, JsTypeExpandingContext derivedPrimitives, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ExpandInvocation(IJsTypeResolveCalculationItem ident, IJsInvocationInfo info, IPsiSourceFile file, JsTypeExpandingContext context, JsTypeResolveResult contextualType, Boolean reportSuccessOrError)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.GetOverloadError(JsResolveContext context, JsTypeResolveResult contextualType, IList`1 resultsList)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.GetOverloadError(JsResolveContext context, IJsUnresolvedType invocation, JsTypeResolveResult contextualType, IList`1 resultsList)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Error.ProblemAnalyzers.TsInvocationExpressionProblemAnalyzer.Run(ITsInvocationLikeExpression tsInvocationExpressionParam, ElementProblemAnalyzerData data, IHighlightingConsumer context)
 at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzer`1.JetBrains.ReSharper.Feature.Services.Daemon.IElementProblemAnalyzer.Run(ITreeNode element, ElementProblemAnalyzerData data, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.InitialStageProcess.VisitNode(ITreeNode node, IHighlightingConsumer context)
 at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitExpressionOrSpread(IExpressionOrSpread expressionOrSpreadParam, TContext context)
 at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitJavaScriptExpression(IJavaScriptExpression javaScriptExpressionParam, TContext context)
 at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitMemberExpression(IMemberExpression memberExpressionParam, TContext context)
 at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitInvocationExpression(IInvocationExpression invocationExpressionParam, TContext context)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Tree.InvocationExpression.Accept[TContext](TreeNodeVisitor`1 visitor, TContext context)
 at JetBrains.ReSharper.Daemon.JavaScript.JavaScriptDaemonStageProcessBase.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.InitialStageProcess.<Execute>b__9_0(IJavaScriptFile file, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Daemon.JavaScript.JavaScriptDaemonStageProcessBase.HighlightInFile(Action`2 fileHighlighter, Action`1 commiter)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.InitialStageProcess.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__DisplayClass43_1.<DoHighlighting>g__Stage2(IDaemonStage stage)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass45_1.<PrepareRunActionForStages>b__0()
 at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass22_0.<EnqueueDependentJobs>b__2()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass29_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 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-468603: Analyzer 'JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Error.ProblemAnalyzers.TsInvocationExpressionProblemAnalyzer' thrown exception: Obje

$
0
0
Reporter Brian Ricketts (briman94) Brian Ricketts (briman94)
Created Mar 3, 2018 10:16:52 PM
Updated Apr 9, 2018 10:37:45 AM
Subsystem TypeScript
Assignee Nikita Popov (poksh)
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 12 Hive _ae046853 — JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180228.142904-eap01d

JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180228.144736-eap01d

LastExtension = ts
SubProducts.0 = JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180228.144736-eap01d
ManagedThreadName = JetPool (L) Regular thread #2
ManagedThreadName = JetPool (L) Regular thread #1
ManagedThreadName = DaemonThread

Analyzer 'JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Error.ProblemAnalyzers.TsInvocationExpressionProblemAnalyzer' thrown exception: 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.ReSharper.Psi.Web
StackTraceString = “
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.<>c.<.cctor>b__114_0(JsResolveContext context, String s, PrimitiveCalculationIdentifier ident)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.<>c.<.cctor>b__114_0(JsResolveContext context, String s, PrimitiveCalculationIdentifier 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.TypeScript.TsResolveImplUtil.GetTypeForNamedType(JsPrimitive primitive, JsResolveContext context, StrongTypeMode mode)
 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.ResolveType(JsResolveContext context, Boolean standardTypes, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.ResolveTypeArray(ITsSubstitution instantiation, JsResolveContext context, IList`1 javaScriptTypes, StrongTypeMode strict, List`1& resolvedTypes, JsTypeResolveInfo& info, Boolean useFirstAsContextual, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.ExpandBestCommonType(IList`1 typeList, ITsSubstitution instantiation, JsResolveContext context, StrongTypeMode strict, JsCombinedTypeKind kind, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ExpandCombinedType(JsUnresolvedTypeArray typeList, JsTypeExpandingContext expContext, ITsSubstitution instantiation, Boolean reportSuccessOrError, JsCombinedTypeKind kind, JsTypeResolveResult contextualType, JsUnresolvedTypeFlags flags)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ExpandTypeForPrimaryPrimitive(JsTypeDescriptionOpInfo info, IPsiSourceFile file, JsUnresolvedTypeFlags flags, JsTypeExpandingContext context, Boolean reportSuccessOrError, 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.Psi.JavaScript.Resolve.JsParameterInfo.GetResolvedType(JsResolveContext context, IJsFunctionSignature signature, StrongTypeMode strongTyped, Boolean allowIdentityLoss, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.GetFormalParameterType(JsParameterInfo[] paramList, Int32 index, JsResolveContext context, IJsFunctionSignature signature, StrongTypeMode strongTyped, Boolean allowIdentityLoss, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.GetParameterType(JsParameterInfo[] paramList, Int32 index, JsResolveContext context, IJsFunctionSignature signature, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.SourceSignatureIsRelatableToTarget(IJsFunctionSignature targetSignature, IJsFunctionSignature sourceSignature, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignaturesInt(JsResolveContext context, IJsFunctionSignature signature1, IJsFunctionSignature signature2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignatureSetsInt(IList`1 targetSignatures, IList`1 sourceSignatures, ITsType targetOwnerTypeInfo, ITsType sourceOwnerTypeInfo, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId 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.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypeResults(JsResolveContext context, JsTypeResolveResult sourceTypeResult, JsTypeResolveResult targetTypeResult, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId 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.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.SourceSignatureIsRelatableToTarget(IJsFunctionSignature targetSignature, IJsFunctionSignature sourceSignature, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignaturesInt(JsResolveContext context, IJsFunctionSignature signature1, IJsFunctionSignature signature2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignatureSetsInt(IList`1 targetSignatures, IList`1 sourceSignatures, ITsType targetOwnerTypeInfo, ITsType sourceOwnerTypeInfo, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId 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.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.SourceSignatureIsRelatableToTarget(IJsFunctionSignature targetSignature, IJsFunctionSignature sourceSignature, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignaturesInt(JsResolveContext context, IJsFunctionSignature signature1, IJsFunctionSignature signature2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignatureSetsInt(IList`1 targetSignatures, IList`1 sourceSignatures, ITsType targetOwnerTypeInfo, ITsType sourceOwnerTypeInfo, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId 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.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypeResults(JsResolveContext context, JsTypeResolveResult sourceTypeResult, JsTypeResolveResult targetTypeResult, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId 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.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareCombinedWithOr(JsResolveContext ctx, ITsCombinedType typeToSplit, IJsResolvedType typeToCompare, Boolean isUnion, ComparisonContext comparisonContext, JsTypeResolveInfo info1, JsTypeResolveInfo info2, ComparisonKind comparisonKind)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.UnionOrIntersectionAssignabilityOrSubtypingComparison(JsResolveContext ctx, IJsResolvedType source, JsTypeResolveInfo info1, IJsResolvedType target, JsTypeResolveInfo info2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.UnionOrIntersectionComparison(JsResolveContext ctx, IJsResolvedType type1, JsTypeResolveInfo info1, IJsResolvedType type2, JsTypeResolveInfo info2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId 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.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesWithExtendedResult(JsResolveContext context, JsTypeResolveResult type1, JsTypeResolveResult type2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypes(JsResolveContext context, JsTypeResolveResult type1, JsTypeResolveResult type2, ComparisonKind comparisonKind, IJsTypeResolveInfoMerger merger)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.IsApplicable(JsResolveContext context, IJsFunctionSignature info, IJsUnresolvedType[] parameters, JsTypeResolveResult[] typeParams, Boolean moreThanOneSignature, JsTypeExpandingContext derivedPrimitives, TempCalculationIdent ident, Boolean checkOnlySubtype, JsTypeResolveResult contextualTypeForSignature, ITsSubstitution& instantiation)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.<>c__DisplayClass12_1.<ResolveOverloadsStrongTyping>b__0(JsResolveContext ctx)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithoutRecursion(ICalculationIdentifier ident, ResolveContextKind resolveKind, Action`1 calculator)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.ResolveOverloadsStrongTyping(FrugalLocalList`1& result, FrugalLocalList`1& signatures, JsResolveContext context, IJsUnresolvedType[] parameters, JsUnresolvedTypeArray typeParams, JsTypeExpandingContext derivedPrimitives, IJsTypeResolveCalculationItem ident, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.ResolveOverloads(FrugalLocalList`1& result, FrugalLocalList`1& signatures, JsResolveContext context, JsUnresolvedTypeArray parameters, JsUnresolvedTypeArray typeParams, JsTypeExpandingContext derivedPrimitives, IJsTypeResolveCalculationItem ident, Boolean onlyWithTypeParams, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.ResolveOverloads(FrugalLocalList`1& result, FrugalLocalList`1& signatures, JsResolveContext context, JsPrimitiveKind operation, JsUnresolvedTypeArray parameters, JsUnresolvedTypeArray typeParams, JsTypeExpandingContext derivedPrimitives, IJsTypeResolveCalculationItem ident, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsTypeWithSignaturesBase.ProcessOverloads(JsResolveContext context, IJsTypeResolveCalculationItem ident, IJavaScriptTypeFileCache cache, IJsInvocationInfo info, JsTypeExpandingContext derivedPrimitives, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ExpandInvocation(IJsTypeResolveCalculationItem ident, IJsInvocationInfo info, IPsiSourceFile file, JsTypeExpandingContext context, JsTypeResolveResult contextualType, Boolean reportSuccessOrError)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.GetOverloadError(JsResolveContext context, JsTypeResolveResult contextualType, IList`1 resultsList)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.GetOverloadError(JsResolveContext context, IJsUnresolvedType invocation, JsTypeResolveResult contextualType, IList`1 resultsList)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Error.ProblemAnalyzers.TsInvocationExpressionProblemAnalyzer.Run(ITsInvocationLikeExpression tsInvocationExpressionParam, ElementProblemAnalyzerData data, IHighlightingConsumer context)
 at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzer`1.JetBrains.ReSharper.Feature.Services.Daemon.IElementProblemAnalyzer.Run(ITreeNode element, ElementProblemAnalyzerData data, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Analyzer 'JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Error.ProblemAnalyzers.TsInvocationExpressionProblemAnalyzer' thrown exception: Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool (L) Regular thread #1”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180228.142904-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180228.144736-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave12-RSRP-467036

Data.VsVersion = 15.6.27428.1
Data.VsPreview = True
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.InitialStageProcess.VisitNode(ITreeNode node, IHighlightingConsumer context)
 at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitExpressionOrSpread(IExpressionOrSpread expressionOrSpreadParam, TContext context)
 at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitJavaScriptExpression(IJavaScriptExpression javaScriptExpressionParam, TContext context)
 at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitMemberExpression(IMemberExpression memberExpressionParam, TContext context)
 at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitInvocationExpression(IInvocationExpression invocationExpressionParam, TContext context)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Tree.InvocationExpression.Accept[TContext](TreeNodeVisitor`1 visitor, TContext context)
 at JetBrains.ReSharper.Daemon.JavaScript.JavaScriptDaemonStageProcessBase.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.InitialStageProcess.<Execute>b__9_0(IJavaScriptFile file, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Daemon.JavaScript.JavaScriptDaemonStageProcessBase.HighlightInFile(Action`2 fileHighlighter, Action`1 commiter)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.InitialStageProcess.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__DisplayClass43_1.<DoHighlighting>g__Stage2(IDaemonStage stage)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass45_1.<PrepareRunActionForStages>b__0()
 at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass22_0.<EnqueueDependentJobs>b__2()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass29_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 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-468351: False errors for conversion from stackalloc to Span

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Feb 13, 2018 12:26:48 AM
Updated Apr 9, 2018 10:50:05 AM
Resolved Apr 9, 2018 10:50:05 AM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Fixed
Type Bug
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
See the full solution attached.

// C# 7.2
using System;

class Program
{
static void Main()
{
Span<byte> s = stackalloc byte[5];
}
}

This code compiles without any errors, but ReSharper reports the following:
Struct 'System.Span<T>' is obsolete: "Types with embedded references are not supported in this version of your compiler."
Cannot use unsafe construct in safe context


An Obsolete attribute with this message has a special meaning for C# 7.2 compiler (see https://github.com/dotnet/csharplang/blob/master/proposals/csharp-7.2/span-safety.md#user-content-metadata-representation-or-ref-like-structs)


RSRP-468736: Exception has been thrown by the target of an invocation. Injection point list doesn't contain appropriate node, provider: JetBrains.ReSharper.Psi.Inj

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Feb 19, 2018 2:42:02 PM
Updated Apr 9, 2018 11:05:15 AM
Subsystem Language injection
Assignee Nikita Popov (poksh)
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 12 Hive _54923974 — JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180218.170036-eap01d

JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180218.171020-eap01d
JetBrains ReSharper C++ 2018.1 EAP 1 D Build 2018.1.20180218.171023-eap01d

Exception has been thrown by the target of an invocation. Injection point list doesn't contain appropriate node, provider: JetBrains.ReSharper.Psi.Injected.XmlInCsStrings.XmlInCsStringsPsiProvider, originalNode: JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpLiteralExpression

— EXCEPTION #1/3 [AssertionException]
Message = “Injection point list doesn't contain appropriate node, provider: JetBrains.ReSharper.Psi.Injected.XmlInCsStrings.XmlInCsStringsPsiProvider, originalNode: JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpLiteralExpression”
ExceptionPath = Root.InnerException.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.RdCore
StackTraceString = “
 at JetBrains.Util.Assertion.Assert[T1,T2](Boolean condition, String message, T1 arg1, T2 arg2)
 at JetBrains.Util.Assertion.Assert[T1,T2](Boolean condition, String message, T1 arg1, T2 arg2)
 at JetBrains.ReSharper.Psi.Impl.Shared.InjectedPsi.IndependentInjectedFileContext.GetInjectForNode(ITreeNode originalNode)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.InjectedPsiExtensions.GetInjectForNodeOrParents(IInjectedFileContext context, ITreeNode originalNode)
 at JetBrains.ReSharper.Psi.Files.PsiFiles.AppendInjectedFiles(IFile originalFile, Type toLanguage, TreeTextRange range, IReadOnlyCollection`1 providersToBuild, LocalList`1& results)
 at JetBrains.ReSharper.Psi.Files.PsiFiles.AppendInjectFiles(IPsiSourceFile sourceFile, Type injectedLanguageType, DocumentRange range, LocalList`1& files)
 at JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles(IPsiSourceFile sourceFile, Type languageType, DocumentRange range, PsiLanguageCategories categories)
 at JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles(IPsiSourceFile sourceFile, PsiLanguageType languageType, DocumentRange range, PsiLanguageCategories categories)
 at JetBrains.ReSharper.Psi.DataContext.PsiDocumentRangeView.<GetOrRequestPsiFilesInTheAscendingOrderOfDocumentRange>d__8.MoveNext()
 at JetBrains.ReSharper.Psi.DataContext.PsiDocumentRangeView.CreatePsiView(PsiLanguageCategories languageCategories, PsiLanguageType languageType)
 at JetBrains.ReSharper.Psi.DataContext.PsiDocumentRangeView.View(PsiLanguageType languageType, PsiLanguageCategories languageCategories)
 at JetBrains.ReSharper.Psi.DataContext.PsiDocumentRangeView.View[TLanguage](PsiLanguageCategories languageCategories)
 at JetBrains.ReSharper.Psi.DataContext.PsiDocumentRangeViewExtensions.View[TLanguage](IPsiDocumentRangeView documentRangeView)
 at JetBrains.ReSharper.Daemon.CaretDependentFeatures.MatchingBraceContextHighlighterBase`1.CollectHighlightings(IPsiDocumentRangeView psiDocumentRangeView, MatchingHighlightingsConsumer consumer)
 at JetBrains.ReSharper.Daemon.CaretDependentFeatures.BracesHighlighterBase.ProcessDataContextImpl(Lifetime lifetime, HighlightingProlongedLifetime prolongedLifetime, IPsiDocumentRangeView psiDocumentRangeView, InvisibleBraceHintManager invisibleBraceHintManager, MatchingBraceSuggester matchingBraceSuggester, MatchingBraceConsumerFactory consumerFactory)
 at JetBrains.ReSharper.Daemon.JavaScript.ContextHighlighters.JavaScriptMatchingBraceContextHighlighter.ProcessDataContext(Lifetime lifetime, IPsiDocumentRangeView psiDocumentRangeView, InvisibleBraceHintManager invisibleBraceHintManager, MatchingBraceSuggester matchingBraceSuggester, MatchingBraceConsumerFactory consumerFactory, HighlightingProlongedLifetime prolongedLifetime)


— Outer —

— EXCEPTION #2/3 [TargetInvocationException]
Message = “Exception has been thrown by the target of an invocation.”
ExceptionPath = Root.InnerException
ClassName = System.Reflection.TargetInvocationException
InnerException = “Exception #1 at Root.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.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.ReSharper.Feature.Services.Contexts.ContextConsumersWithAttributesManager.<>c__DisplayClass7_2.<ProcessContextConsumerContainerType>b__2(Lifetime dummy)
 at JetBrains.ReSharper.Feature.Services.Contexts.ContextConsumer.<>c__DisplayClass14_0.<AsyncHandler>b__1()
 at JetBrains.Application.Threading.InterruptableReadActivityThe.Work()
 at JetBrains.Application.Threading.InterruptableReadActivity.DoWork()
 at JetBrains.Application.Threading.InterruptableReadActivity.WorkerThreadProc()
 at JetBrains.Util.Logging.Logger.Catch(Action action)


— Outer —

— EXCEPTION #3/3 [LoggerException]
Message = “Exception has been thrown by the target of an invocation.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool (S) Regular thread #3”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180218.170036-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 2018.1 EAP 1 D Build 2018.1.20180218.171023-eap01d”
Data.SubProducts.#1 = “JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180218.171020-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12

Platform\VisualStudio:
    git::refs/heads/wave12::efe6aa71a2dc02ae1da1fe492ccb1f0fab1cdfb9

Data.VsVersion = 15.0.26430.16
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHostEx.<>c__DisplayClass2_0.<RunSafe>b__0()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass29_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 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-468600: Failed to evaluate the data rule. Injection point list doesn't contain appropriate node, provider: JetBrains.ReSharper.Features.RegExp.Injecting.RegEx

$
0
0
Reporter Fredy Ferrari (Fredy_Ferrari) Fredy Ferrari (Fredy_Ferrari)
Created Mar 1, 2018 6:56:43 PM
Updated Apr 9, 2018 11:06:47 AM
Subsystem Language injection
Assignee Nikita Popov (poksh)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 12 — JetBrains ReSharper Ultimate 2018.1 EAP 1 Build 112.0.20180222.102651-eap01

JetBrains dotCover 2018.1 EAP 1 Build 2018.1.20180222.115511-eap01
JetBrains dotMemory 2018.1 EAP 1 Build 2018.1.20180222.115516-eap01
JetBrains dotTrace 2018.1 EAP 1 Build 2018.1.20180222.115516-eap01
JetBrains ReSharper 2018.1 EAP 1 Build 2018.1.20180222.104120-eap01
JetBrains ReSharper C++ 2018.1 EAP 1 Build 2018.1.20180222.103937-eap01
JetBrains TeamCity Add-in 2018.1 EAP 1 Build 2018.1.20180222.104007-eap01

Failed to evaluate the data rule. Injection point list doesn't contain appropriate node, provider: JetBrains.ReSharper.Features.RegExp.Injecting.RegExpPsiProvider, originalNode: JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpLiteralExpression

— EXCEPTION #1/3 [AssertionException]
Message = “Injection point list doesn't contain appropriate node, provider: JetBrains.ReSharper.Features.RegExp.Injecting.RegExpPsiProvider, originalNode: JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpLiteralExpression”
ExceptionPath = Root.InnerException.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.RdCore
StackTraceString = “
 at JetBrains.Util.Assertion.Assert[T1,T2](Boolean condition, String message, T1 arg1, T2 arg2)
 at JetBrains.Util.Assertion.Assert[T1,T2](Boolean condition, String message, T1 arg1, T2 arg2)
 at JetBrains.ReSharper.Psi.Impl.Shared.InjectedPsi.IndependentInjectedFileContext.GetInjectForNode(ITreeNode originalNode)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.InjectedPsiExtensions.GetInjectForNodeOrParents(IInjectedFileContext context, ITreeNode originalNode)
 at JetBrains.ReSharper.Psi.Files.PsiFiles.AppendInjectedFiles(IFile originalFile, Type toLanguage, TreeTextRange range, IReadOnlyCollection`1 providersToBuild, LocalList`1& results)
 at JetBrains.ReSharper.Psi.Files.PsiFiles.AppendInjectFiles(IPsiSourceFile sourceFile, Type injectedLanguageType, DocumentRange range, LocalList`1& files)
 at JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles(IPsiSourceFile sourceFile, Type languageType, DocumentRange range, PsiLanguageCategories categories)
 at JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles[TLanguage](IPsiSourceFile sourceFile, DocumentRange range, PsiLanguageCategories categories)
 at JetBrains.ReSharper.Feature.Services.Util.TextControlToPsi.<>c__DisplayClass22_0.<GetPsiFilesFromDocument>b__1(IPsiSourceFile sf)
 at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
 at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
 at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
 at JetBrains.ReSharper.Feature.Services.Util.TextControlToPsi.GetReferencesAtOffset(ISolution solution, DocumentOffset documentOffset, SourceFilesMask mask, PsiLanguageCategories categories)
 at JetBrains.ReSharper.Feature.Services.Util.TextControlToPsi.GetDeclaredElements(ISolution solution, DocumentOffset documentOffset, SourceFilesMask mask, Boolean& isPossiblyNonNullInThisDocument)
 at JetBrains.ReSharper.Feature.Services.Util.PsiDataRules.DeclaredElementsFromDocument(IDataContext context, SourceFilesMask mask)
 at JetBrains.ReSharper.Feature.Services.Util.PsiDataRules.<>c.<.ctor>b__0_3(IDataContext context)
 at JetBrains.Application.DataContext.DataRule`1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context)
 at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator)


— Outer —

— EXCEPTION #2/3 [InvalidOperationException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.DataConstant = DeclaredElementsFromAllContexts
Data.DataConstantType = “System.Collections.Generic.ICollection1[[JetBrains.ReSharper.Psi.IDeclaredElement, JetBrains.ReSharper.Psi, Version=112.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”
Data.DataRuleObject = JetBrains.Application.DataContext.DataRule
1[System.Collections.Generic.ICollection1[JetBrains.ReSharper.Psi.IDeclaredElement]]
Data.DataRulePriority = 0
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_INVALIDOPERATION=80131509

--- Outer ---

--- EXCEPTION #3/3 [LoggerException]
Message = “Failed to evaluate the data rule.”
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.1 EAP 1 Build 112.0.20180222.102651-eap01”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 1 Build 2018.1.20180222.115511-eap01”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 1 Build 2018.1.20180222.115516-eap01”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 1 Build 2018.1.20180222.103937-eap01”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.1 EAP 1 Build 2018.1.20180222.104007-eap01”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.1 EAP 1 Build 2018.1.20180222.104120-eap01”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.1 EAP 1 Build 2018.1.20180222.115516-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12-eap1

Platform\VisualStudio:
    git::refs/heads/wave12-eap1::9d28b6e35c395cef932aff004f5d3c2c8e6b14c2

Data.VsVersion = 14.0.25431.1
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message)
at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator)
at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant)
at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant
1 dataConstant)
 at JetBrains.ReSharper.Feature.Services.Navigation.ContextNavigation.ContextNavigationUtil.GetCandidateInstances(IDataContext context, ReferencePreferenceKind kind, Boolean fromAllContexts)
 at JetBrains.ReSharper.Feature.Services.Navigation.ContextNavigation.ContextNavigationUtil.GetCandidateInstances(IDataContext context, ReferencePreferenceKind kind, Boolean fromAllContexts)
 at JetBrains.ReSharper.Feature.Services.Navigation.ContextNavigation.TypeUsageContextSearchBase`1.GetOriginalCandidates(IDataContext context, ReferencePreferenceKind kind)
 at JetBrains.ReSharper.Feature.Services.Navigation.ContextNavigation.TypeUsageContextSearchBase`1.GetCandidates(IDataContext context, ReferencePreferenceKind kind)
 at JetBrains.ReSharper.Feature.Services.Navigation.ContextNavigation.RequestContextSearchBase`2.IsAvailable(IDataContext context)
 at JetBrains.ReSharper.Feature.Services.Navigation.ContextNavigation.ContextNavigationLanguageUtil.<GetAvailableContextSearches>d__0`1.MoveNext()
 at JetBrains.Util.dataStructures.ConcurrentCachingEnumerable`1.TryEnsureItemAt(Int32 index)
 at JetBrains.Util.dataStructures.ConcurrentCachingEnumerable`1.MyEnumerator.MoveNext()
 at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
 at JetBrains.ReSharper.Feature.Services.Navigation.ContextNavigation.ContextSearchesCollector`1.GetSearchesExecution(IDataContext dataContext, INavigationExecutionHost host)
 at JetBrains.ReSharper.Feature.Services.Navigation.ContextNavigation.ContextSearchActionBase`1.GetExecutes(IDataContext dataContext)
 at JetBrains.ReSharper.Feature.Services.Navigation.ContextNavigation.ContextSearchActionBase`1.Update(IDataContext context, ActionPresentation presentation, DelegateUpdate nextUpdate)
 at JetBrains.ReSharper.Features.Navigation.Features.FindDeclarations.GotoDeclarationHyperlinkProvider.CreateHyperlink(IDataContext context)
 at JetBrains.PsiFeatures.UIInteractive.Core.Hyperlink.HyperlinkManager.<>c__DisplayClass18_0.<TryCreateHyperlink>b__0(IDataContext dataContext)
 at JetBrains.PsiFeatures.UIInteractive.Core.Hyperlink.HyperlinkManager.<>c__DisplayClass22_0.<UsingDataContext>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ)
 at JetBrains.PsiFeatures.UIInteractive.Core.Hyperlink.HyperlinkManager.UsingDataContext(ITextControl textControl, Point point, Action`1 action)
 at JetBrains.PsiFeatures.UIInteractive.Core.Hyperlink.HyperlinkManager.TryCreateHyperlink(TextControlMouseEventArgs args)
 at JetBrains.PsiFeatures.UIInteractive.Core.Hyperlink.HyperlinkManager.<>c__DisplayClass14_0.<Init>b__4()
 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.PsiFeatures.UIInteractive.Core.Hyperlink.HyperlinkManager.StubbornAsyncCommitClient.<JetBrains.ReSharper.Psi.IAsyncCommitClient.BeforeCommit>b__5_0()
 at JetBrains.ReSharper.Psi.Impl.AsyncCommitServiceImpl.<>c__DisplayClass12_0.<Commit>b__0()
 at JetBrains.ReSharper.Psi.Files.PsiFiles.CommitAllDocumentsAsync(Action success, Action interrupted)
 at JetBrains.ReSharper.Psi.Impl.AsyncCommitServiceImpl.Commit(HashSet`1 clients)
 at JetBrains.ReSharper.Psi.Impl.AsyncCommitServiceImpl.<OnAlarm>b__11_0()
 at JetBrains.Application.Threading.IShellLocksEx.TryExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.ReSharper.Psi.Impl.AsyncCommitServiceImpl.OnAlarm()
 at JetBrains.Util.Concurrency.GroupingEventHostEx.<>c__DisplayClass0_1.<QueueAtShort>b__1()
 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-464958: Performance degradation during compilation

$
0
0
Reporter Artur Zając (azajac) Artur Zając (azajac)
Created Jun 2, 2017 12:31:43 PM
Updated Apr 9, 2018 11:16:42 AM
Subsystem Psi - Caches
Assignee Ivan Serduk (IvanSerduk)
Priority Critical
State Waiting for Info
Type Bug
Fix version 2018.2
Affected versions 2017.1.2
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM
This issue was fixed for VS2015 in RSRP-463798, but "processing assemblies" is still performed during compilation when Visual Studio is activated (after VS lost activated state when I switch to other application). In VS2015 there was no big problem with this, It lasted quite a short time, but now I work with VS2017 and now it hangs VS for a long time.

Additionally with VS2017 after compilation finish "processing assemblies/merging assemblies index" phase is very slow even though my computer is much faster than that with VS2017 (project is the same).

RSRP-468863: EditorConfig property "resharper_js_quote_style" is not applied

$
0
0
Reporter Manuel Pallier (manuel.pallier) Manuel Pallier (manuel.pallier)
Created Mar 26, 2018 1:16:32 PM
Updated Apr 9, 2018 11:19:46 AM
Resolved Apr 3, 2018 10:49:57 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed
Type Bug
Fix version 2018.1
Affected versions 2018.1
Fixed In Version ReSharper 2018.1 EAP 6
VsVersion All Versions

ReSharper ignores the EditorConfig property "resharper_js_quote_style" (or one of its short forms). Although it is shown as active in the File Formatting Info pane, it's neither shown as overridden in the options window nor actually used for code style suggestions.

Tested in version 2018.1 EAP 3

RSRP-468890: Index was outside the bounds of the array.

$
0
0
Reporter Patrick Davis (poodle2000) Patrick Davis (poodle2000)
Created Mar 2, 2018 4:07:43 PM
Updated Apr 9, 2018 11:23:05 AM
Subsystem Smart copy-paste
Assignee Alisa Afonina (alisa.afonina)
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 12 Hive _1a8e4269 — JetBrains ReSharper Ultimate 2018.1 EAP 1 Build 112.0.20180222.102651-eap01

JetBrains ReSharper 2018.1 EAP 1 Build 2018.1.20180222.104120-eap01

Index was outside the bounds of the array.

— EXCEPTION #1/2 [IndexOutOfRangeException]
Message = “Index was outside the bounds of the array.”
ExceptionPath = Root.InnerException
ClassName = System.IndexOutOfRangeException
HResult = COR_E_INDEXOUTOFRANGE=80131508
Source = JetBrains.ReSharper.Feature.Services
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.Clipboard.CopyPasteAssistManager.CoerceRangeAfterPaste(String pastedText, DocumentRange documentRange)
 at JetBrains.ReSharper.Feature.Services.Clipboard.CopyPasteAssistManager.CoerceRangeAfterPaste(String pastedText, DocumentRange documentRange)
 at JetBrains.ReSharper.Feature.Services.Clipboard.CopyPasteAssistManager.DoPaste(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardHandler.HandleAction(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler.Execute(Int32 handlerIndex, IDataContext context, DelegateExecute nextExecute)
 at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler.<>c__DisplayClass5_0.<Execute>b__0()
 at JetBrains.ReSharper.InplaceRefactorings.CutCopyPaste.CopyPasteManager.DoPaste(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardHandler.HandleAction(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler.Execute(Int32 handlerIndex, IDataContext context, DelegateExecute nextExecute)
 at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler.Execute(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Execute(IAction action, List`1 allActions, IDataContext dataContext)
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.<>c__DisplayClass5_1.<Execute>b__0()
 at JetBrains.ReSharper.Feature.Services.TypingAssist.ActionContext.CallNext()
 at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.ChainedContextBase`2.CallNext()
 at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.Handle[TContext,THandler](TContext context, List`1 handlers, ChainedContextBase`2 chainedContextFactory)
 at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.Act(ITextControl textControl, String actionId, DelegateExecute nextExecute)
 at JetBrains.ReSharper.Feature.Services.TypingAssist.ExternalActionHandler.Execute(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Execute(IAction action, List`1 allActions, IDataContext dataContext)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<ExecuteWithoutRequirements>b__23_0(Lifetime lt)
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements()
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_0.<PrepareRequirementsAsync>b__1()
 at JetBrains.Util.Logging.Logger.Catch(Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Index was outside the bounds of the array.”
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.1 EAP 1 Build 112.0.20180222.102651-eap01”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.1 EAP 1 Build 2018.1.20180222.104120-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12-eap1

Platform\VisualStudio:
    git::refs/heads/wave12-eap1::9d28b6e35c395cef932aff004f5d3c2c8e6b14c2

Data.VsVersion = 15.5.27130.2027
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_0.<PrepareRequirementsAsync>b__0()
 at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute()
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass26_0.<TryDelegateToTypingHandlers_NonTyping>b__0()
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun)
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.TryDelegateToTypingHandlers_NonTyping(CommandID commandid, Action`1 FExecDelegateBackToVs)
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.TryDelegateToTypingHandlers(Boolean bIsTyping, CommandID commandid, IntPtr pvaIn, Action`1 FExecDelegateBackToVsClosed)
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass29_0.<Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CompoundTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)

RSRP-469122: Cannot advance beyond the end of the range. Parameter name: units Actual value was 7.61888233252343.

$
0
0
Reporter Fedor Buyvol-Kot (Fedor.Buyvol-Kot) Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Created Apr 5, 2018 3:58:37 PM
Updated Apr 9, 2018 11:52:57 AM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
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 12 Hive _7ca6e00d — JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180405.72015-eap07

JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180405.75838-eap07
JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180405.75843-eap07
JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180405.75839-eap07
JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180405.73111-eap07
JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180405.73118-eap07

SubProducts.0 = JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180405.75838-eap07
SubProducts.1 = JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180405.75839-eap07
SubProducts.2 = JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180405.73118-eap07
SubProducts.3 = JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180405.73111-eap07
SubProducts.4 = JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180405.75843-eap07

Cannot advance beyond the end of the range. Parameter name: units Actual value was 5.81395348837209.

— EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Cannot advance beyond the end of the range.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
Data.CurrentPosition = 1
Data.AttemptedPosition = 1.058139534883721
Data.Units = 5.8139534883720927
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
ParamName = units
ActualValue = 5.8139534883720927

— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “
Cannot advance beyond the end of the range.
Parameter name: units
Actual value was 5.81395348837209.

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180405.72015-eap07”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180405.75838-eap07”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180405.75839-eap07”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180405.73118-eap07”
Data.SubProducts.#3 = “JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180405.73111-eap07”
Data.SubProducts.#4 = “JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180405.75843-eap07”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12-eap7::6f1db5735b46f32507c03777a6ef219232c03c6c


Platform\VisualStudio:
    git::refs/heads/wave12-eap7::f8c8de2b1299de97b8084ef948770cd0f67a1412

Data.VsVersion = 15.6.27428.2027
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Application.Progress.ProgressIndicator.JetBrains.Application.Progress.IProgressIndicator.Advance(Double units)
 at JetBrains.Application.Progress.ProgressIndicator.JetBrains.Application.Progress.IProgressIndicator.Advance(Double units)
 at JetBrains.ReSharper.UnitTestFramework.UI.VS.ViewModels.UnitTestSessionProgressOnTaskBar.<>c__DisplayClass0_2.<.ctor>b__8()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
 at JetBrains.Threading.JetDispatcher.Closure.Execute()
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
 at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
 at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
 at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

RSRP-466153: Live templates expansion is slow

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Sep 5, 2017 6:44:57 PM
Updated Apr 9, 2018 11:54:06 AM
Resolved Feb 20, 2018 7:18:03 PM
Subsystem ASP.NET - MVC
Assignee Slava Trenogin (derigel)
Priority Critical
State Obsolete
Type Performance Problem
Fix version 2018.1
Affected versions 2017.2
Fixed In Version ReSharper 2018.1 EAP 2
VsVersion VS 2017 RTM
100,00% DataFactory • 4 028 ms • JetBrains.ReSharper.Feature.Services.Asp.Caches.MvcCache.DataFactory(IMvcCacheProcessor, IFile, Boolean)
100,00% ProcessDescendants • 4 028 ms • JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants(ITreeNode, IRecursiveElementProcessor, TContext)
100,00% ProcessAfterInterior • 4 028 ms • JetBrains.ReSharper.Feature.Services.Asp.CSharp.Caches.MvcCSharpCacheProcessor.ProcessAfterInterior(ITreeNode, Tuple)
100,00% Accept • 4 028 ms • JetBrains.ReSharper.Psi.CSharp.Impl.Tree.PropertyInitializer.Accept(TreeNodeVisitor, TContext)
100,00% VisitPropertyInitializer • 4 028 ms • JetBrains.ReSharper.Feature.Services.Asp.CSharp.Caches.MvcCSharpCacheProcessor.VisitPropertyInitializer(IPropertyInitializer, Tuple)
100,00% DetectLayoutChanges • 4 028 ms • JetBrains.ReSharper.Feature.Services.Asp.CSharp.Caches.MvcCSharpCacheProcessor.DetectLayoutChanges(IReference, IExpression, Tuple, Boolean)
99,25% Expand • 3 998 ms • JetBrains.ReSharper.Feature.Services.ValueTracking.Model.ValueTrackingFilteredModel.Expand(IList, IProgressIndicator)
93,17% Expand • 3 753 ms • JetBrains.ReSharper.Feature.Services.ValueTracking.Model.ValueTrackingFilteredModel.Expand(IList, IProgressIndicator)
93,17% Expand • 3 753 ms • JetBrains.ReSharper.Feature.Services.ValueTracking.Engine.ValueTrackingEngine.Expand(IList, IProgressIndicator)
93,17% FindUsages • 3 753 ms • JetBrains.ReSharper.Feature.Services.Util.CachingFinder.FindUsages(ICollection, IProgressIndicator)
►86,88% FindReferences • 3 499 ms • JetBrains.ReSharper.Feature.Services.Util.CachingFinder.FindReferences(ICollection, ISearchDomain, IProgressIndicator)
►6,29% UnionSearchDomains • 253 ms • JetBrains.ReSharper.Psi.Search.DeclaredElementSearchExtensions.UnionSearchDomains(IEnumerable)
►6,09% Expand • 245 ms • JetBrains.ReSharper.Feature.Services.ValueTracking.Engine.ValueTrackingEngine.Expand(IList, IProgressIndicator)
►0,75% CheckViewLocationType • 30 ms • JetBrains.ReSharper.Feature.Services.Asp.Caches.MvcCacheProcessorHelper.CheckViewLocationType(IReference, IExpression, Boolean)

RSRP-465882: [Performance Report] Bad experience when working with .NET Core projects

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Aug 15, 2017 8:43:41 PM
Updated Apr 9, 2018 12:11:29 PM
Subsystem No Subsystem
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Open
Type Performance Problem
Fix version 2017.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.15063.0
Product: dotCover, Version: 2017.1.20170613.161351
Product: dotTrace, Version: 2017.1.20170613.161756
Product: ReSharper, Version: 2017.1.20170613.155418
Product: dotMemory, Version: 2017.1.20170613.161351
Time Zone: W. Europe Standard Time

Description

Loading caches, processing assemblies, updating source files etc, takes several minutes. In that time Visual Studio is virtual not responsible.
The performace issues occur when working with .NET Core project only.
This problem ist not specific to any .NET Core Version nor to VS 2017 v15.3.
I've been working with .NET Core projects for 2 years and the VS performace has always been worse when Resharper is active.

RSRP-458667: Convert property to method converts conditional invocation to normal invocation

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created May 5, 2016 5:16:49 PM
Updated Apr 9, 2018 12:11:30 PM
Resolved Apr 9, 2018 12:11:30 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Fixed
Type Bug
Fix version 2018.1
Affected versions 2017.3.3, 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
After the refactoring the method Caller.Affected has changed behavior and now throws when its Thingy is null.

RSRP-466364: Weird behaviour converting expression-bodied property to method using "Convert to Method(s)" refactoring

$
0
0
Reporter Maarten Balliauw (Maarten.Balliauw) Maarten Balliauw (Maarten.Balliauw)
Created Sep 22, 2017 11:43:52 AM
Updated Apr 9, 2018 12:12:25 PM
Resolved Apr 9, 2018 12:12:25 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Duplicate
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
See attached.

RSRP-465833: Convert Property to Method doesn't work with statement lambda

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Aug 14, 2017 11:04:14 AM
Updated Apr 9, 2018 12:12:25 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Submitted
Type Bug
Fix version 2017.3
Affected versions 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Converting this property into a couple of methods:
int currentIndex 
{
get => cursor.currentIndex;
set => cursor.currentIndex = value;
}
Results in this:
void setCurrentIndex(int value);

int getCurrentIndex();
I.e. the bodies are lost. The refactoring should internally convert to statement body first, if that's what's required.

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

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 6, 2018 11:37:55 AM
Updated Apr 9, 2018 12:24:04 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Submitted
Type Exception
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 12 — JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180406.50143-eap07

JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.53440-eap07
JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180406.53134-eap07
JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180406.53255-eap07
JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.53303-eap07
JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180406.52907-eap07
JetBrains TeamCity Add-in 2018.1 EAP 7 Build 2018.1.20180406.53013-eap07

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
Data.ReentrancyGuard.ActionName = FilterText::Change
HResult = E_POINTER=COR_E_NULLREFERENCE=80004003
Source = JetBrains.ReSharper.Feature.Services
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.UI.IconHostBase.UnTransform(Icon icon)
 at JetBrains.ReSharper.Feature.Services.UI.IconHostBase.UnTransform(Icon icon)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.CommonControls.TranslateCompletionEdit.<>c__DisplayClass9_0.<GetSettings>b__3(RefactoringCompletionItem item)
 at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
 at JetBrains.DataFlow.CollectionEvents`1.AddRange(IEnumerable`1 items)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.CommonControls.TranslateCompletionEdit.<>c__DisplayClass9_0.<GetSettings>b__2()
 at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass0_0.<Queue>b__3()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180406.50143-eap07”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.53440-eap07”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180406.53255-eap07”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180406.52907-eap07”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.1 EAP 7 Build 2018.1.20180406.53013-eap07”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.53303-eap07”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180406.53134-eap07”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12::961d296b25820dd383356d7696e3c1ee02979867


Platform\VisualStudio:
    git::refs/heads/wave12::fc315fa3c15a05f4b35e5107c9bc990c9b40714b

Data.VsVersion = 14.0.25431.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
 at JetBrains.Threading.JetDispatcher.Closure.Execute()
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
 at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
 at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
 at 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)

RSRP-469027: folder == null

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Apr 2, 2018 11:22:01 AM
Updated Apr 9, 2018 1:13:07 PM
Resolved Apr 9, 2018 1:13:07 PM
Subsystem Psi - Caches
Assignee Dmitry Ivanov (daivanov)
Priority Show-stopper
State Fixed
Type Exception
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
JetBrains JetBrains Rider 2018.1 Build RD-181.4379.419 Date 2018-04-01T13:26:59.246+0000

— EXCEPTION #1/2 [AssertionException]
Message = “folder == null”
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) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\RdCore\Src\Util\Assertion.cs:line 96
 at JetBrains.Util.Assertion.Fail(String message) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\RdCore\Src\Util\Assertion.cs:line 96
 at JetBrains.ProjectModel.ProjectUtil.GetPersistentID(IProjectItem projectItem) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\ProjectUtil.cs:line 332
 at JetBrains.ReSharper.Psi.Impl.PsiProjectFile.GetPersistentID() in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\impl\PsiProjectFile.cs:line 80
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.SymbolCache.Trace(IPsiSourceFile sourceFile) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\Caches\SymbolCache\SymbolCache.cs:line 519
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.SymbolCache.Drop(IPsiSourceFile sourceFile) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\Caches\SymbolCache\SymbolCache.cs:line 893
 at JetBrains.ReSharper.Psi.Caches.Jobs.JobRemoveProjectFiles.<Do>b__12_0(IPsiSourceFile sourceFile) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\Caches\Jobs\JobRemoveProjectFiles.cs:line 49
 at JetBrains.Util.Logging.Logger.Catch(Action action) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 339


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “folder == null”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.LogException(Exception ex) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 975
 at JetBrains.Util.Logging.Logger.LogException(Exception ex) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 975
 at JetBrains.Util.Logging.Logger.Catch(Action action) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 339
 at JetBrains.ReSharper.Psi.Caches.Jobs.CacheJobService2.<>c__DisplayClass36_0`1.<ExecuteSplittedWriteActivity>b__1() in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\Caches\Jobs\CacheJobService2.cs:line 336
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher[T](Func`1 action) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskHost.cs:line 173
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass34_0`1.<Create>b__1(Object state) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskHost.cs:line 282
 at System.Threading.Tasks.Task`1.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 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 JetBrains.Application.Threading.Tasks.ReentrancyGuardTaskScheduler.ExecuteInternal(Task task) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\ReentrancyGuardTaskScheduler.cs:line 103
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 300
 at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 664
 at JetBrains.Threading.JetDispatcher.Closure.Execute() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\JetDispatcher.cs:line 609
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 434
 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\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 646
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 846
 at JetBrains.ReSharper.Host.Product.ReSharperHostMain.Main(Lifetime lifetime, IReSharperHostSettings settings, ILogger logger, ShellProtocol protocol, RdModelRoot modelRoot, ApplicationShutdownRequests shutdownRequests) in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Product\ReSharperHostMain.cs:line 40
 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\364305ea1b444484\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\364305ea1b444484\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 339
 at JetBrains.Threading.JetDispatcher.Closure.Execute() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\JetDispatcher.cs:line 609
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 434
 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\364305ea1b444484\Platform\Core\Shell\RdCore\Src\Lifetime\Lifetimes.cs:line 234
 at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv) in C:\Build Agent\work\364305ea1b444484\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\364305ea1b444484\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\364305ea1b444484\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\364305ea1b444484\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\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Product\ReSharperHostProgram.cs:line 52
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\RdCore\Src\Lifetime\Lifetimes.cs:line 281
 at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.Main() in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Product\ReSharperHostProgram.cs:line 23
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
 at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)



last.action = BuildSolutionAction

app.eap = true
app.internal = true
app.build = RD-181.4379.419
app.version.major = 2018
app.version.minor = 1
app.build.date = 2018-04-01T13:26:59.246+0000
app.build.date.release = 2017-12-27T00:00:59.246+0000
app.build.date.release = 2017-12-27T00:00:59.246+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
UIUtil.isAppleRetina = false
JBUI.isHiDPI() = true
ImageScaleFactor = 2

RSRP-469146: Sytem.Attribute ambiguity

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Apr 6, 2018 5:29:30 PM
Updated Apr 9, 2018 1:17:29 PM
Subsystem Platform - Project Model
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
  • Roslyn solution from https://github.com/dotnet/roslyn
  • run Build.cmd from command line
  • open in VS
  • E:\temp.Snapshots\roslyn-master\src\Compilers\CSharp\Test\Symbol\Symbols\Source\ExternAliasTests.cs: WorkItem is not an attribute

RSRP-469163: Slow caches build process on Roslyn solution

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Apr 9, 2018 1:14:26 PM
Updated Apr 9, 2018 1:17:29 PM
Subsystem Psi - Caches
Assignee Dmitry Ivanov (daivanov)
Priority Show-stopper
State Open
Type Performance Problem
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
100,00% Build • 41 505 ms • JetBrains.ReSharper.Psi.Files.PsiFilesCommit.Build(ICollection, Boolean, IPsiFilesCache)
99,86% BuildPrimary • 41 446 ms • JetBrains.ReSharper.Psi.Files.PsiFilesCommit.BuildPrimary(PreparedSourceFile)
99,86% CachedPsiFile..ctor • 41 446 ms • JetBrains.ReSharper.Psi.Files.CachedPsiFile..ctor(IPsiSourceFile, PsiLanguageType, ReferenceProviderFactory, ILexerFactory, IShellLocks)
50,05% Create • 20 775 ms • JetBrains.ReSharper.Psi.Files.ReferenceProviderFactory.Create(IPsiSourceFile, IFile)
49,98% CreateFactory • 20 745 ms • JetBrains.ReSharper.Psi.Resolve.StatelessReferenceProviderFactoryBase.CreateFactory(IPsiSourceFile, IFile, IWordIndex)
34,29% CheckWords • 14 234 ms • JetBrains.ReSharper.Psi.JavaScript.Html.CustomReferences.HtmlEventJavaScriptReferenceFactory.CheckWords(IWordIndex, IPsiSourceFile)
34,29% CanContainAllSubwords • 14 234 ms • JetBrains.ReSharper.Feature.Services.Text.SourcesTrigramIndex.CanContainAllSubwords(IPsiSourceFile, String)
33,99% ProcessDirty • 14 108 ms • JetBrains.ReSharper.Psi.Caches.SimpleICache1.ProcessDirty
32,63% Build • 13 543 ms • JetBrains.ReSharper.Feature.Services.Text.TrigramIndex.Build(IPsiSourceFile, Boolean)
►18,03% MoveNext • 7 482 ms • JetBrains.ReSharper.Feature.Services.Text.Trigrams.BufferTrigramTokenStream.MoveNext
►6,25% get_Document • 2 595 ms • JetBrains.ReSharper.Psi.Impl.PsiProjectFile.get_Document
►5,17% Add • 2 144 ms • JetBrains.ReSharper.Feature.Services.Text.TrigramIndexEntryBuilder.Add(TrigramToken)
►1,44% Build • 597 ms • JetBrains.ReSharper.Feature.Services.Text.TrigramIndexEntryBuilder.Build
0,36% [Garbage collection] • 148 ms
►0,35% TryGetCachedPsiFilesOrEmpty • 144 ms • JetBrains.ReSharper.Psi.Files.PsiFilesCache2.TryGetCachedPsiFilesOrEmpty(IPsiSourceFile)
0,17% get_Current • 71 ms • JetBrains.ReSharper.Feature.Services.Text.Trigrams.BufferTrigramTokenStream.get_Current
0,03% ToIntArray • 14 ms • JetBrains.Util.PersistentMap.UnsafeIntArray.ToIntArray
►1,30% Merge • 539 ms • JetBrains.ReSharper.Psi.Caches.SimpleICache
1.Merge(IPsiSourceFile, Object)
►0,06% Dispose • 26 ms • JetBrains.ReSharper.Psi.CompilationContextCookie.Dispose
0,16% ToTokensArray • 65 ms • JetBrains.ReSharper.Feature.Services.Text.Trigrams.StringToTrigrams.ToTokensArray(String)
►0,15% GetEnumerator • 61 ms • JetBrains.Application.PersistentMap.OptimizedPersistentSortedMap`2.GetEnumerator(Boolean, TKey)
►15,40% CheckWords • 6 391 ms • JetBrains.ReSharper.Psi.Css.CSharp.CustomReferences.CssClassReferenceInsideAnonymousMemberReferenceProvider.CheckWords(IWordIndex, IPsiSourceFile)
►0,29% CheckWords • 121 ms • JetBrains.ReSharper.Psi.Asp.CSharp.References.HtmlTagIdReferenceInsideAnonymousMemberReferenceProvider.CheckWords(IWordIndex, IPsiSourceFile)
►0,07% CreateFactory • 30 ms • JetBrains.ReSharper.I18n.Services.CSharp.CustomReferences.DisplayNameAttributePropertyNameReferenceFactory+Factory.CreateFactory(IPsiSourceFile, IFile, IWordIndex)
►38,10% GetFullPsiFile • 15 814 ms • JetBrains.ReSharper.Psi.Caches.StubTreeNodeCache.StubTreeNodeCache.GetFullPsiFile(IPsiSourceFile, PsiLanguageType)
►10,54% ParseFile • 4 375 ms • JetBrains.ReSharper.Psi.LanguageService.ParseFile(ILexer, IPsiSourceFile)
►1,01% CreateCachingLexer • 418 ms • JetBrains.ReSharper.Psi.Parsing.LexerFactoryEx.CreateCachingLexer(ILexerFactory, IBuffer)
0,16% [Garbage collection] • 65 ms
Viewing all 106942 articles
Browse latest View live


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