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

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 Aug 13, 2018 12:23:26 PM
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-471027: False positive of "Expression is always null" inside a switch

$
0
0
Reporter Dieter Enns (Yeah69) Dieter Enns (Yeah69)
Created Aug 11, 2018 7:02:53 PM
Updated Aug 13, 2018 12:24:41 PM
Subsystem Code Analysis - Control Flow
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.3.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

The screenshot depicts a false positive case of "Expression is always null"

RSRP-469740: Waiting in FireOutgoing more than 30000 ms. Possible livelock. Breaking

$
0
0
Reporter Fedor Buyvol-Kot (Fedor.Buyvol-Kot) Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Created Feb 19, 2018 7:16:10 PM
Updated Aug 13, 2018 12:35:52 PM
Resolved Aug 7, 2018 1:07:21 PM
Subsystem External Sources
Assignee Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Priority Show-stopper
State Duplicate
Type Exception
Fix version No Fix versions
Affected versions 2018.1.1, 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 12 — JetBrains ReSharper Ultimate 2018.1 EAP 1 Build 112.0.20180217.80255-eap01

JetBrains dotCover 2018.1 EAP 1 Build 2018.1.20180217.134746-eap01
JetBrains dotMemory 2018.1 EAP 1 Build 2018.1.20180217.134747-eap01
JetBrains dotTrace 2018.1 EAP 1 Build 2018.1.20180217.134740-eap01
JetBrains ReSharper 2018.1 EAP 1 Build 2018.1.20180217.81231-eap01
JetBrains ReSharper C++ 2018.1 EAP 1 Build 2018.1.20180217.81230-eap01

Waiting in FireOutgoing more than 30000 ms. Possible livelock. Breaking

— EXCEPTION #1/1 [LoggerException]
Message = “Waiting in FireOutgoing more than 30000 ms. Possible livelock. Breaking”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = FileSystemTrackerCommit
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 1 Build 112.0.20180217.80255-eap01”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 1 Build 2018.1.20180217.134746-eap01”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 1 Build 2018.1.20180217.134740-eap01”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 1 Build 2018.1.20180217.81230-eap01”
Data.SubProducts.#3 = “JetBrains ReSharper 2018.1 EAP 1 Build 2018.1.20180217.81231-eap01”
Data.SubProducts.#4 = “JetBrains dotMemory 2018.1 EAP 1 Build 2018.1.20180217.134747-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave12-eap1

Data.VsVersion = 14.0.25431.1
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Application.Threading.Tasks.FreeThreadedGroupingEvent.FireOutgoing(Boolean waitIfAlreadyFiring, Boolean fireIfNoIncoming)
 at JetBrains.Application.Threading.Tasks.FreeThreadedGroupingEvent.FireOutgoing(Boolean waitIfAlreadyFiring, Boolean fireIfNoIncoming)
 at JetBrains.Application.Threading.Tasks.FreeThreadedGroupingEvent.WaitAndPumpUntilNoIncoming()
 at JetBrains.ReSharper.Feature.Services.ExternalSources.Pdb.Cache.PdbCacheInvalidator.OnPossibleCacheFileChanged(ICollection`1 names)
 at JetBrains.ReSharper.Feature.Services.ExternalSources.Pdb.Cache.PdbCacheInvalidator.OnFileSystemChange(FileSystemChange change)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.Application.FileSystemTracker.FileSystemTrackerImpl.DispatchChange(FileSystemChange change)
 at JetBrains.Application.FileSystemTracker.FileSystemTrackerImpl.DoCommit(FileSystemPath[] paths)
 at JetBrains.Application.FileSystemTracker.FileSystemTrackerImpl.AsyncCommitThread.<CommitChanges>b__11_0()
 at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass0_0.<Queue>b__3()
 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)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run()
 at JetBrains.Threading.JetDispatcher.<>c__DisplayClass19_1.<CreateDispatcherThread>b__0()
 at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart()

RSRP-460964: Add default shortcuts for camel hump navigation

$
0
0
Reporter Fabian Schmied (fabian.schmied@gmail.com) Fabian Schmied (fabian.schmied@gmail.com)
Created Sep 23, 2016 5:10:48 PM
Updated Aug 13, 2018 12:36:08 PM
Subsystem Typing Assistance
Assignee Slava Tutushkin (slava.tutushkin)
Priority Normal
State Submitted
Type Improvement
Fix version No Fix versions
Affected versions 2016.2.2
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
When the "Use CamelHumps" ReSharper option is turned off, it's very handy to have ReSharper_HumpNext, ReSharper_HumpNextExtend, ReSharper_HumpPrev, and ReSharper_HumpPrevExtend mapped to keyboard shortcuts. That way, one can easily switch between navigating in a "hump-wise" and the normal word-wise way.

While I can add my own shortcuts (e.g., Ctrl+Alt+Arrows and Ctrl+Alt+Shift+Arrows), it would be great if ReSharper came with default bindings for these commands, so that navigation works the same on different PCs.

RSRP-469035: Transition failed: Transition from state on event . Cause: System.ServiceModel.EndpointNotFoundException: There

$
0
0
Reporter David Stacey-Gee (mikeg@gee-soft.co.uk) David Stacey-Gee (mikeg@gee-soft.co.uk)
Created Mar 20, 2018 1:24:45 PM
Updated Aug 13, 2018 12:37:09 PM
Resolved Apr 4, 2018 9:00:12 AM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Duplicate
Type Exception
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 12 Hive _188944d0 — JetBrains ReSharper Ultimate 2018.1 EAP 3 Build 112.0.20180317.133322-eap03

JetBrains dotCover 2018.1 EAP 3 Build 2018.1.20180317.134708-eap03
JetBrains dotMemory 2018.1 EAP 3 Build 2018.1.20180317.134710-eap03
JetBrains dotTrace 2018.1 EAP 3 Build 2018.1.20180317.134715-eap03
JetBrains ReSharper 2018.1 EAP 3 Build 2018.1.20180317.134525-eap03
JetBrains ReSharper C++ 2018.1 EAP 3 Build 2018.1.20180317.134526-eap03
JetBrains TeamCity Add-in 2018.1 EAP 3 Build 2018.1.20180317.134527-eap03

Transition failed: Transition from state <RunnerStarting> on event <local::RunnerStarted>. Cause: System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at net.pipe://mikestacey-b4a7/vstest.discoveryengine/21084 that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. —> System.IO.PipeException: The pipe endpoint 'net.pipe://mikestacey-b4a7/vstest.discoveryengine/21084' could not be found on your local machine. — End of inner exception stack trace — Server stack trace: at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings) at System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey(EndpointAddress address, Uri via) at System.ServiceModel.Channels.CommunicationPool2.TakeConnection(EndpointAddress address, Uri via, TimeSpan timeout, TKey& key) at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.VisualStudio.TestPlatform.Core.ITestRunnerService.InitializeConnection(IEnumerable1 pathToAdditionalExtensions, Boolean loadOnlyWellKnownExtensions) at JetBrains.ReSharper.UnitTesting.MSTest.Provider.Execution.Wcf.TestRunnerServiceProxy.InitializeConnection(IEnumerable1 pathToAdditionalExtensions, Boolean loadOnlyWellKnownExtensions) at JetBrains.ReSharper.UnitTesting.MSTest.Provider.Execution.MsTestDiscoveryProtocol.<>c__DisplayClass23_0.<OpenClient>b__1(ITestRunnerService x) at JetBrains.ReSharper.UnitTesting.MSTest.Provider.Execution.Wcf.ResurrectableProxy1.WithTimeout(Action1 action) at JetBrains.ReSharper.UnitTesting.MSTest.Provider.Execution.MsTestDiscoveryProtocol.OpenClient() at Appccelerate.StateMachine.Machine.ActionHolders.ArgumentLessActionHolder.Execute(Object argument) at Appccelerate.StateMachine.Machine.States.State2.ExecuteEntryAction(IActionHolder actionHolder, ITransitionContext2 context)

--- EXCEPTION #1/1 [LoggerException]
Message = “
Transition failed: Transition from state <RunnerStarting> on event <local::RunnerStarted>.
Cause: System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at net.pipe://mikestacey-b4a7/vstest.discoveryengine/21084 that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.IO.PipeException: The pipe endpoint 'net.pipe://mikestacey-b4a7/vstest.discoveryengine/21084' could not be found on your local machine.
--- End of inner exception stack trace ---

Server stack trace:
at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings)
at System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.CommunicationPool
2.TakeConnection(EndpointAddress address, Uri via, TimeSpan timeout, TKey& key)
 at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
 at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
 at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
 at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
 at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
 at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
 at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
 at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
 at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
 at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
 at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
 at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
 at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
 at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
 at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
 at Microsoft.VisualStudio.TestPlatform.Core.ITestRunnerService.InitializeConnection(IEnumerable`1 pathToAdditionalExtensions, Boolean loadOnlyWellKnownExtensions)
 at JetBrains.ReSharper.UnitTesting.MSTest.Provider.Execution.Wcf.TestRunnerServiceProxy.InitializeConnection(IEnumerable`1 pathToAdditionalExtensions, Boolean loadOnlyWellKnownExtensions)
 at JetBrains.ReSharper.UnitTesting.MSTest.Provider.Execution.MsTestDiscoveryProtocol.<>c__DisplayClass23_0.<OpenClient>b__1(ITestRunnerService x)
 at JetBrains.ReSharper.UnitTesting.MSTest.Provider.Execution.Wcf.ResurrectableProxy`1.WithTimeout(Action`1 action)
 at JetBrains.ReSharper.UnitTesting.MSTest.Provider.Execution.MsTestDiscoveryProtocol.OpenClient()
 at Appccelerate.StateMachine.Machine.ActionHolders.ArgumentLessActionHolder.Execute(Object argument)
 at Appccelerate.StateMachine.Machine.States.State`2.ExecuteEntryAction(IActionHolder actionHolder, ITransitionContext`2 context)

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = vb
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 3 Build 112.0.20180317.133322-eap03”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 3 Build 2018.1.20180317.134708-eap03”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 3 Build 2018.1.20180317.134715-eap03”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 3 Build 2018.1.20180317.134526-eap03”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.1 EAP 3 Build 2018.1.20180317.134527-eap03”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.1 EAP 3 Build 2018.1.20180317.134525-eap03”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.1 EAP 3 Build 2018.1.20180317.134710-eap03”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12-eap3-take2

Platform\VisualStudio:
    git::refs/heads/wave12-eap3-take2::52fab4436e0faa19489e3510ea47c7a0f301d5b4

Data.VsVersion = 15.7.27512.0
Data.VsPreview = True
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.UnitTesting.MSTest.Provider.Execution.MsTestDiscoveryProtocol.<.ctor>b__17_16(Object sender, TransitionExceptionEventArgs`2 args)
 at JetBrains.ReSharper.UnitTesting.MSTest.Provider.Execution.MsTestDiscoveryProtocol.<.ctor>b__17_16(Object sender, TransitionExceptionEventArgs`2 args)
 at Appccelerate.StateMachine.Machine.StateMachine`2.RaiseEvent[T](EventHandler`1 eventHandler, T arguments, ITransitionContext`2 context, Boolean raiseEventOnException)
 at Appccelerate.StateMachine.Machine.StateMachine`2.OnExceptionThrown(ITransitionContext`2 context, Exception exception)
 at Appccelerate.StateMachine.Machine.Contexts.TransitionContext`2.OnExceptionThrown(Exception exception)
 at Appccelerate.StateMachine.Machine.States.State`2.HandleException(Exception exception, ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.States.State`2.HandleEntryActionException(ITransitionContext`2 context, Exception exception)
 at Appccelerate.StateMachine.Machine.States.State`2.ExecuteEntryAction(IActionHolder actionHolder, ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.States.State`2.ExecuteEntryActions(ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.States.State`2.Entry(ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.Transitions.Transition`2.Fire(IState`2 source, IState`2 target, ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.Transitions.Transition`2.Fire(ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.States.State`2.Fire(ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.StateMachine`2.Fire(TEvent eventId, Object eventArgument)
 at Appccelerate.StateMachine.ActiveStateMachine`2.ProcessEventQueue(CancellationToken cancellationToken)
 at Appccelerate.StateMachine.ActiveStateMachine`2.<Start>b__32_0()
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at System.Threading.Tasks.ThreadPoolTaskScheduler.LongRunningThreadWork(Object obj)
 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(Object obj)

RSRP-471032: Memory Leak after branch switches/solution reload

$
0
0
Reporter Fabian Schmied (fabian.schmied@gmail.com) Fabian Schmied (fabian.schmied@gmail.com)
Created Aug 13, 2018 12:44:33 PM
Updated Aug 13, 2018 12:59:11 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Performance Problem
Fix version No Fix versions
Affected versions 2018.1.3 RTM
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.6

After a few branch switches involving a solution reload, Visual Studio with R# holds about 600-800 MB more memory than before, getting us into the 2GB zone where working with VS/R# becomes nearly impossible. For us, the issue is severe as we're working with branches a lot and thus VS/R# gets unusable all the time, forcing us to restart Visual Studio and waiting until R# has re-initialized.

This is with VS 15.7 and R# 2018.1.4. We have a few R# extensions installed: Implicit Nullability, XML Doc Inspections, Serialization Inspections, Test Linker, Roflcopter.

I tried to report this using the "ReSharper Ultimate - Feedback Center", but that always failed while uploading my memory snapshot. Unfortunately, I can't add the memory snapshot here either, as it's 442 MB in size and I get an error that the "Max Upload File Size setting" for my system is 48 MB.

Please tell me how I can provide you with the memory snapshot for analysis.

RSRP-471025: Fix in scope does not respect "Elements to skip"

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Aug 10, 2018 8:28:05 PM
Updated Aug 13, 2018 1:07:40 PM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Major
State Fixed In Branch
Type Bug
Fix version 2018.2
Affected versions 2018.1.3 RTM
Fixed In Version ReSharper Undefined
VsVersion All Versions
Happens for files excluded with folder and as a file mask as well.





E.g. make field readonly





Rename to _first



RSRP-471006: Failed to get language preferences. Language service: b2f072b0-abc1-11d0-9d62-00c04fd9dfd9 Value does not fall within the expected range. The error co

$
0
0
Reporter Alex Berezoutsky (fergard) Alex Berezoutsky (fergard)
Created Jun 22, 2018 2:54:32 PM
Updated Aug 13, 2018 1:15:15 PM
Resolved Aug 13, 2018 1:15:14 PM
Subsystem Platform - VS Integration
Assignee Denis Korneev (Denis.Korneev)
Priority Normal
State Fixed
Type Exception
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 182 Hive _356e0e20 — JetBrains ReSharper Ultimate 2018.2 EAP 0 D Build 182.0.20180622.80900-eap00d

JetBrains dotCover 182 Build 182.0.20180622.85040-eap00d
JetBrains dotMemory 182 Build 182.0.20180622.85055-eap00d
JetBrains dotTrace 182 Build 182.0.20180622.85144-eap00d
JetBrains ReSharper 182 Build 182.0.20180622.82041-eap00d
JetBrains ReSharper C++ 182 Build 182.0.20180622.82045-eap00d
JetBrains TeamCity Add-in 182 Build 182.0.20180622.82043-eap00d

Failed to get language preferences. Language service: b2f072b0-abc1-11d0-9d62-00c04fd9dfd9 Value does not fall within the expected range. The error code is COR_E_ARGUMENT, or E_INVALIDARG, or 0x80070057.

— EXCEPTION #1/2 [COMException]
Message = “Value does not fall within the expected range. The error code is COR_E_ARGUMENT, or E_INVALIDARG, or 0x80070057.”
ExceptionPath = Root.InnerException
ClassName = System.Runtime.InteropServices.COMException
HResult = E_INVALIDARG=COR_E_ARGUMENT=80070057
Source = JetBrains.PsiFeatures.VisualStudio.Core
StackTraceString = “
 at JetBrains.PsiFeatures.VisualStudio.Core.Interop.VsLanguagePreferences.GetLangPreferences(Guid langServiceGuid)
 at JetBrains.PsiFeatures.VisualStudio.Core.Interop.VsLanguagePreferences.GetLangPreferences(Guid langServiceGuid)
 at JetBrains.PsiFeatures.VisualStudio.Core.Options.Intellisense.IntellisenseGeneralPage.TryGetVsLangPreferences(Guid langServiceGuid)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Failed to get language preferences. Language service: b2f072b0-abc1-11d0-9d62-00c04fd9dfd9 Value does not fall within the expected range. The error code is COR_E_ARGUMENT, or E_INVALIDARG, or 0x80070057.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.2 EAP 0 D Build 182.0.20180622.80900-eap00d”
Data.SubProducts.#0 = “JetBrains dotCover 182 Build 182.0.20180622.85040-eap00d”
Data.SubProducts.#1 = “JetBrains dotTrace 182 Build 182.0.20180622.85144-eap00d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 182 Build 182.0.20180622.82045-eap00d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 182 Build 182.0.20180622.82043-eap00d”
Data.SubProducts.#4 = “JetBrains ReSharper 182 Build 182.0.20180622.82041-eap00d”
Data.SubProducts.#5 = “JetBrains dotMemory 182 Build 182.0.20180622.85055-eap00d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/182-js-linters

Data.VsVersion = 15.7.27703.2035
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.PsiFeatures.VisualStudio.Core.Options.Intellisense.IntellisenseGeneralPage.TryGetVsLangPreferences(Guid langServiceGuid)
 at JetBrains.PsiFeatures.VisualStudio.Core.Options.Intellisense.IntellisenseGeneralPage.TryGetVsLangPreferences(Guid langServiceGuid)
 at JetBrains.PsiFeatures.VisualStudio.Core.Options.Intellisense.IntellisenseGeneralPage.GetVsIntellisenseState(PsiLanguageType language)
 at JetBrains.PsiFeatures.VisualStudio.Core.Options.Intellisense.IntellisenseGeneralPage.<>c__DisplayClass7_0.<GetLanguageIntellisenseItems>b__0(LanguageSpecificIntellisenseManager manager)
 at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
 at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
 at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
 at System.Collections.ObjectModel.ObservableCollection`1.CopyFrom(IEnumerable`1 collection)
 at System.Collections.ObjectModel.ObservableCollection`1..ctor(IEnumerable`1 collection)
 at JetBrains.PsiFeatures.VisualStudio.Core.Options.Intellisense.IntellisenseEnabledListViewModel..ctor(IEnumerable`1 languageSpecificIntellisenseProperties)
 at JetBrains.PsiFeatures.VisualStudio.Core.Options.Intellisense.IntellisenseGeneralPage..ctor(Lifetime lifetime, OptionsSettingsSmartContext optionsSettingsSmartContext, IActionManager actionManager, IEnumerable`1 intellisenseManagers, VsPsiLanguages vsPsiLanguages, VsLanguagePreferences vsLangPreferences)
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at JetBrains.Application.Components.SingletonTypeComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)
 at JetBrains.Application.Components.SingletonTypeComponentDescriptor.CreateInstance(IValueResolveContext context)
 at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)
 at JetBrains.Application.Components.SingletonDescriptor.GetValue()
 at JetBrains.Application.Components.InitializationStrategyDefault.Schedule(Lifetime lifetime, ICollection`1 dscs, IComponentContainer container)
 at JetBrains.Application.Components.ComponentStorage.ComposeDescriptors(ICollection`1 descriptors)
 at JetBrains.Application.Components.ComponentStorage.Compose()
 at JetBrains.Application.Components.FactoryComponentContainer.CreateInstanceCore(Lifetime lifetime, Type type, IComponentContainer parent, Object[] args)
 at JetBrains.Application.Components.FactoryComponentContainer.CreateInstance(Lifetime lifetime, Type objecttype, IComponentContainer parent, Object[] args)
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsPageFactory.CreateOptionsPage(OptionsPageDescriptor pagedescriptor, IComponentContainer containerParent, OptionsSettingsSmartContext injectSettingsStoreSmartContext, IShellLocks locks)
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsPageInOptionsContextAutomation.GetOrCreateOptionsPage()
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsPageInOptionsContextAutomation.GetControlFromExistingOptionsPage()
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsAutomation.GetSearchablePage(OptionsPageWithoutContextAutomationFactory factoryPagesWithoutContext, OptionsPageWithoutContextAutomation node, OptionsPageInOptionsContextAutomationFactory fact, UserFriendlySettingsLayer optContext, IContextBoundSettingsStoreLive trans)
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsAutomation.<>c__DisplayClass12_0.<HandleSearchRequest>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F, TaskPriority priority)
 at JetBrains.Application.Threading.IThreadingEx.ExecuteOrQueue(IThreading thіs, Lifetime lifetime, String name, Action action)
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsAutomation.HandleSearchRequest(Lifetime currentSearchLifetime, OptionsModel model, IShellLocks locks, String searchText, IProperty`1 propFactoryPagesInContext, OptionsPageWithoutContextAutomationFactory factoryPagesWithoutContext, StaticKeywordsPerPageKeeper staticKeywordsPerPageKeeper, UsageStatistics activityTracking)
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsAutomation.<>c__DisplayClass11_4.<.ctor>b__33(LifetimeDefinition definition, Lifetime currentSearchLifetime)
 at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILog logger)
 at JetBrains.DataFlow.SequentialLifetimes.DefineNext(Action`2 FNext)
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsAutomation.<>c__DisplayClass11_1.<.ctor>b__22(String args)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.UI.Options.OptionsDialog2.OptionsView.<>c__DisplayClass11_0.<CreateTemplate_PagesTree>b__6(Object o, SearchViewEventArgs e)
 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.Delegate.DynamicInvokeImpl(Object[] args)
 at System.Windows.RoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
 at JetBrains.UI.Controls.Misc.SearchTextBox.RaiseSearchEvent()
 at JetBrains.UI.Controls.Misc.SearchTextBox.OnSeachEventDelayTimerTick(Object o, EventArgs e)
 at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
 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.DispatcherOperation.InvokeImpl()
 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
 at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
 at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
 at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
 at System.Windows.Window.ShowHelper(Object booleanBox)
 at System.Windows.Window.Show()
 at System.Windows.Window.ShowDialog()
 at JetBrains.UI.Extensions.WindowUtil.<>c__DisplayClass15_2.<ShowDialogWithGuardedCreation>b__5()
 at JetBrains.Application.UI.Components.UIApplication.ApplicationModalStateEx.<>c__DisplayClass0_0`1.<WithModalState>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
 at JetBrains.Application.UI.Components.UIApplication.ApplicationModalStateEx.WithModalState[T](IApplicationModalState appModalState, Func`1 modalAction)
 at JetBrains.UI.Extensions.WindowUtil.ShowDialogWithGuardedCreation(Lifetime lifetime, WindowModality modality, Func`3 FCreateView, IThreading threading, Object ownerwindow, IApplicationModalState applicationModalState)
 at JetBrains.UI.Extensions.WindowUtil.<>c__DisplayClass15_0.<ShowDialogWithGuardedCreation>b__1()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Application.Threading.IThreadingEx.<>c__DisplayClass13_1.<ExecuteOrQueueWhenNotGuarded>b__4()
 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-470847: Do not show installation error in case of invalid path in registry

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created Jul 31, 2018 2:01:28 PM
Updated Aug 13, 2018 1:15:32 PM
Resolved Aug 13, 2018 1:15:32 PM
Subsystem Installation
Assignee Denis Korneev (Denis.Korneev)
Priority Normal
State Fixed
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-470926: resharper will cause mouse strange movement when using on-screen keyboard

$
0
0
Reporter 水强 陆 (liesauer) 水强 陆 (liesauer)
Created Aug 4, 2018 5:26:36 AM
Updated Aug 13, 2018 1:15:39 PM
Resolved Aug 13, 2018 1:15:39 PM
Subsystem Platform - VS Integration
Assignee Denis Korneev (Denis.Korneev)
Priority Normal
State Fixed
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

when i pressed a key, the mouse will move to other place just like the gif showed
press the "f", it jumps to ","
press the "u", it jumps to "q"

RSRP-467643: Actions with update requirements can get executed without prior call to Update

$
0
0
Reporter Eugene Strizhok (Eugene.Strizhok) Eugene Strizhok (Eugene.Strizhok)
Created Dec 18, 2017 3:56:26 PM
Updated Aug 13, 2018 1:18:39 PM
Subsystem Platform
Assignee Denis Korneev (Denis.Korneev)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.2.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
If an action with an update requirement is asked to evaluate when its requirement is not yet ready, the action is treated as if it has evaluated successfully (see JetBrains.Application.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Evaluate:96). It will then be subscribed to IActionRequirement.Done signal and executed without call to IExecutableAction.Update (see. JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync:116)

For repro see https://youtrack.jetbrains.com/issue/RSRP-467575#comment=27-2611447

RSRP-470542: Error while performing update to latest version

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Jul 9, 2018 5:50:53 PM
Updated Aug 13, 2018 1:33:33 PM
Subsystem Installation
Assignee Denis Korneev (Denis.Korneev)
Priority Major
State Fixed In Branch
Type Bug
Fix version No Fix versions
Affected versions 2018.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
09:12:34.705 |V| InstallerInstallService       | Deleting folder C:\Users\user\AppData\Local\JetBrains\Installations\ReSharperPlatformVs15_7d676542
09:12:35.584 |W| FileSystemPath                | Access is denied.

--- EXCEPTION #1/2 [UnauthorizedAccessException]
Message = “Access is denied.”
ExceptionPath = Root.InnerException
ClassName = System.UnauthorizedAccessException
HResult = E_ACCESSDENIED=COR_E_UNAUTHORIZEDACCESS=Win32AccessDenied=80070005
Source = JetBrains.Platform.Core
StackTraceString = “
  at JetBrains.Util.Win32FileSystemWriteHandler.Move(FileSystemPath it, FileSystemPath destinationFilePath)
     at JetBrains.Util.Win32FileSystemInteraction.Move(FileSystemPath thіs, FileSystemPath destinationFilePath)
     at JetBrains.Util.FileSystemPathEx.DoMoveAside(FileSystemPath path, FileSystemPath dirMoveAsideDestination)
     at JetBrains.Util.FileSystemPathEx.DeleteDirectoryWithMoveAside(FileSystemPath dirToDelete, FileSystemPath dirMoveAsideDestination, FileSystemPath& pathWithErrors)
”

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Access is denied.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Util.FileSystemPathEx.DeleteDirectoryWithMoveAside(FileSystemPath dirToDelete, FileSystemPath dirMoveAsideDestination, FileSystemPath& pathWithErrors)
     at JetBrains.Util.FileSystemPathEx.DeleteWithMoveAside(FileSystemPath path)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.<>c__DisplayClass32_0.<DeleteFolder>b__0()
     at JetBrains.Util.OnError.Catch(Action action)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.DeleteFolder(FileSystemPath folder, OnError onError, IList`1 notDeletedFolders)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.<>c__DisplayClass30_1.<CleanUnusedHostFolders>b__1()
     at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.<>c__DisplayClass30_0.<CleanUnusedHostFolders>b__0()
     at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.CleanUnusedHostFolders(LocalPaths localPaths, IList`1 notCleanFolders)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.<>c__DisplayClass29_0.<FinalCleanup>b__0()
     at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.FinalCleanup(InstalledProducts productsAfter, InstallerContext context, IProgressIndicator pi)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.<>c__DisplayClass7_0.<Install>b__0()
     at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.Install(InstallTargets targets, InstallerContext context, InstalledProductsDiscovery productsDiscovery, IProgressOwner owner, Boolean ignoreExtensions)
     at JetBrains.Platform.Installer.Models.InstallerViewModel.<GoInstall>b__183_0(InstallTargets targets, IProgressOwner progress)
     at JetBrains.Platform.Installer.Models.ReadyToInstallPage.<GoInstall>b__41_0(Lifetime lifetime, IProgressOwner owner)
     at JetBrains.Platform.Installer.Models.InstallerPageWithProgress.<>c__DisplayClass21_0.<RunAction>b__3()
     at JetBrains.Util.Logging.Logger.Catch(Action action)
     at JetBrains.Platform.Installer.Models.InstallerPageWithProgress.<>c__DisplayClass21_0.<RunAction>b__2()
     at JetBrains.Util.Logging.Logger.Catch(Action action)
     at JetBrains.Platform.Installer.Models.InstallerPageWithProgress.<>c__DisplayClass21_0.<RunAction>b__1()
     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()
”

09:12:35.588 |E| InstallerInstallService       | Some directory could not be deleted because something is locked and cannot be deleted or even moved to some other path.

--- EXCEPTION #1/2 [UnauthorizedAccessException]
Message = “Some directory could not be deleted because something is locked and cannot be deleted or even moved to some other path.”
ExceptionPath = Root.InnerException
ClassName = System.UnauthorizedAccessException
HResult = E_ACCESSDENIED=COR_E_UNAUTHORIZEDACCESS=Win32AccessDenied=80070005
Source = JetBrains.Platform.Core
StackTraceString = “
  at JetBrains.Util.FileSystemPathEx.DeleteWithMoveAside(FileSystemPath path)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.<>c__DisplayClass32_0.<DeleteFolder>b__0()
     at JetBrains.Util.OnError.Catch(Action action)
”

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Some directory could not be deleted because something is locked and cannot be deleted or even moved to some other path.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Util.OnError.<>c__DisplayClass13_0.<Error>b__0(Exception ex)
     at JetBrains.Util.OnError.Handle(Exception ex)
     at JetBrains.Util.OnError.Catch(Action action)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.DeleteFolder(FileSystemPath folder, OnError onError, IList`1 notDeletedFolders)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.<>c__DisplayClass30_1.<CleanUnusedHostFolders>b__1()
     at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.<>c__DisplayClass30_0.<CleanUnusedHostFolders>b__0()
     at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.CleanUnusedHostFolders(LocalPaths localPaths, IList`1 notCleanFolders)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.<>c__DisplayClass29_0.<FinalCleanup>b__0()
     at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.FinalCleanup(InstalledProducts productsAfter, InstallerContext context, IProgressIndicator pi)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.<>c__DisplayClass7_0.<Install>b__0()
     at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
     at JetBrains.Platform.Installer.Services.InstallerInstallService.Install(InstallTargets targets, InstallerContext context, InstalledProductsDiscovery productsDiscovery, IProgressOwner owner, Boolean ignoreExtensions)
     at JetBrains.Platform.Installer.Models.InstallerViewModel.<GoInstall>b__183_0(InstallTargets targets, IProgressOwner progress)
     at JetBrains.Platform.Installer.Models.ReadyToInstallPage.<GoInstall>b__41_0(Lifetime lifetime, IProgressOwner owner)
     at JetBrains.Platform.Installer.Models.InstallerPageWithProgress.<>c__DisplayClass21_0.<RunAction>b__3()
     at JetBrains.Util.Logging.Logger.Catch(Action action)
     at JetBrains.Platform.Installer.Models.InstallerPageWithProgress.<>c__DisplayClass21_0.<RunAction>b__2()
     at JetBrains.Util.Logging.Logger.Catch(Action action)
     at JetBrains.Platform.Installer.Models.InstallerPageWithProgress.<>c__DisplayClass21_0.<RunAction>b__1()
     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-471002: Incorrect warnings about `Enum.ToString()` method when using Enum constraint

$
0
0
Reporter Andrey Dyatlov (Andrey.Dyatlov) Andrey Dyatlov (Andrey.Dyatlov)
Created Aug 9, 2018 5:50:10 PM
Updated Aug 13, 2018 1:45:42 PM
Subsystem Code Analysis - C#
Assignee Andrew Karpov (andrew.karpov)
Priority Critical
State Fixed In Branch
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
using System;
using System.Globalization;

class C
{
public void M1(Enum e)
{
var s = e.ToString(); // works fine with just Enum
Console.WriteLine(s);
}

// with enum constraint no matter how you write it you get a warning:
public void M2<T>(T e) where T : Enum
{
var s = e.ToString(); // Specify string culture explicitly
Console.WriteLine(s);
}

// QF in method M2 results in the following code:
public void M3<T>(T e) where T : Enum
{
var s = e.ToString(CultureInfo.InvariantCulture); // Method System.Enum.ToString is obsolete. The provider argument is not used. Please use ToString().
Console.WriteLine(s);
}
}

RSRP-470884: DocumentRange is invalid

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jun 5, 2018 8:54:39 PM
Updated Aug 13, 2018 2:20:14 PM
Subsystem ReSpeller
Assignee Artem Bukhonov (Artem.Bukhonov)
Priority Critical
State Fixed In Branch
Type Exception
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 182 Hive _53b8c6f9 — JetBrains ReSharper Ultimate 2018.2 EAP 0 D Build 182.0.20180604.210836-eap00d

JetBrains dotCover 182 Build 182.0.20180604.214841-eap00d
JetBrains dotMemory 182 Build 182.0.20180604.214916-eap00d
JetBrains dotTrace 182 Build 182.0.20180604.214929-eap00d
JetBrains ReSharper 182 Build 182.0.20180604.212206-eap00d
JetBrains ReSharper C++ 182 Build 182.0.20180604.212005-eap00d

DocumentRange is invalid

— EXCEPTION #1/2 [AssertionException]
Message = “DocumentRange is invalid”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.DocumentModel
StackTraceString = “
 at JetBrains.DocumentModel.DocumentRange.AssertValid()
 at JetBrains.DocumentModel.DocumentRange.AssertValid()
 at JetBrains.ReSharper.Features.ReSpeller.Analyzers.AnalyzerHelper.GenerateRangeBasedHighlightings(ISpellService service, IHighlightingConsumer consumer, IFile file, DocumentRange range, Func`2 highlightingCreator)
 at JetBrains.ReSharper.Features.ReSpeller.Analyzers.XmlTypoAnalysis.ProcessBeforeInterior(ITreeNode element, IHighlightingConsumer highlightings)
 at JetBrains.ReSharper.Daemon.Xml.Stages.XmlAnalysisStageProcess.JetBrains.ReSharper.Psi.IRecursiveElementProcessor.ProcessBeforeInterior(ITreeNode element)
 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants(ITreeNode root, IRecursiveElementProcessor processor)
 at JetBrains.ReSharper.Daemon.Xml.Stages.XmlAnalysisStageProcess.Execute(Action`1 committer)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.RunStage(IDaemonStage stage, DaemonProcessKind processKind, Action`2 commiter, IContextBoundSettingsStore contextBoundSettingsStore, JetHashSet`1 disabledStages)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “DocumentRange is invalid”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool(L) #2”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.2 EAP 0 D Build 182.0.20180604.210836-eap00d”
Data.SubProducts.#0 = “JetBrains dotCover 182 Build 182.0.20180604.214841-eap00d”
Data.SubProducts.#1 = “JetBrains dotTrace 182 Build 182.0.20180604.214929-eap00d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 182 Build 182.0.20180604.212005-eap00d”
Data.SubProducts.#3 = “JetBrains ReSharper 182 Build 182.0.20180604.212206-eap00d”
Data.SubProducts.#4 = “JetBrains dotMemory 182 Build 182.0.20180604.214916-eap00d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182-n500-respeller::aaaea63c77e483990cbbfd1db40303175a37d4ca


Platform\VisualStudio:
    git::refs/heads/182-n500-respeller::78f784f59ea882d6faa189d37f34b8cb77adc59c

Data.VsVersion = 15.7.27703.2026
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 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__DisplayClass44_1.<DoHighlighting>g__Stage|2(IDaemonStage stage)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass46_1.<PrepareRunActionForStages>b__0()
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass46_1.<PrepareRunActionForStages>b__0()
 at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass22_1.<EnqueueDependentJobs>b__2()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass33_0.<Create>b__1(Object state)
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
at ANNOTATED: JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread #8.JetPool(L) #2(Action )
 at JetBrains.Util.Reflection.CallStackAnnotation.InvokeAnnotated(String classNameOfNewFrame, String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Util.Reflection.CallStackAnnotation.CatchAnnotatedInvocation[TClassOfNewFrame](String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.<Start>b__19_0()
 at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart()

RSRP-471033: FieldInfo.GetRawConstantValue() may return null, but is marked as [NotNull]

$
0
0
Reporter Arsène von Wyss (avonwyss) Arsène von Wyss (avonwyss)
Created Aug 13, 2018 2:22:58 PM
Updated Aug 13, 2018 2:22:58 PM
Subsystem Code Analysis - Annotations
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-470875: Unable to update Resharper via "Check for Updates"/web installer

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Aug 1, 2018 3:24:49 PM
Updated Aug 13, 2018 2:30:19 PM
Subsystem Installation
Assignee Denis Korneev (Denis.Korneev)
Priority Critical
State Fixed In Branch
Type Bug
Fix version 2018.2
Affected versions 2018.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
15:46:48.647 |I| Used args: "/HostsToUpdate=ReSharperPlatformVs15_77278396" 
15:46:48.712 |I| Downloading "https://download.jetbrains.com/resharper/resharper-version.json" 
15:46:48.812 |W| Failed to download "resharper-version.json" from "https://download.jetbrains.com/resharper/". HR=80131509. The remote server returned an error: (407) Proxy Authentication Required. 
15:46:48.812 |I| Downloading "https://download.jetbrains.com/resharper/resharper-version-eap.json" 
15:46:48.817 |W| Failed to download "resharper-version-eap.json" from "https://download.jetbrains.com/resharper/". HR=80131509. The remote server returned an error: (407) Proxy Authentication Required. 
15:46:48.817 |I| RTM version: 0.0.0.0 
15:46:48.818 |I| EAP version: 0.0.0.0 
15:46:48.818 |I| Use the RTM installer. 
15:46:48.825 |I| The folder to download the installer: "C:\Users\zinovyev\AppData\Local\Temp\JetBrains\InstallerBootstrap" 
15:46:48.825 |I| Downloading "JetBrains.ReSharperUltimate.LightInstaller.exe" from "https://download.jetbrains.com/resharper/" to "C:\Users\zinovyev\AppData\Local\Temp\JetBrains\InstallerBootstrap" 
15:46:48.844 |E| Failed to download "JetBrains.ReSharperUltimate.LightInstaller.exe" from "https://download.jetbrains.com/resharper/" to "C:\Users\zinovyev\AppData\Local\Temp\JetBrains\InstallerBootstrap". HR=80131509. System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required. 
at System.Net.WebClient.DownloadFile(Uri address, String fileName) 
at JetBrains.Platform.Installer.Bootstrap.Runs.<>c__DisplayClass7_2.<RunInternal>b__9() 
15:46:48.844 |E| Bootstrap failed. HR=80131509. System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required. 
at System.Net.WebClient.DownloadFile(Uri address, String fileName) 
at JetBrains.Platform.Installer.Bootstrap.Runs.<>c__DisplayClass7_2.<RunInternal>b__9()
Failed to discover ReSharper package gallery at "https://download.jetbrains.com/resharper/". The operation has timed out

--- EXCEPTION #1/2 [WebException]

Message = “The operation has timed out”

ExceptionPath = Root.InnerException

ClassName = System.Net.WebException

HResult = COR_E_INVALIDOPERATION=80131509

Source = System

StackTraceString = “

at System.Net.HttpWebRequest.GetResponse()

at JetBrains.Platform.Installer.Services.PackageGalleryFactory.<>c__DisplayClass8_0.<ReportNoCdnGallery>b__0()

”

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]

Message = “Failed to discover ReSharper package gallery at "https://download.jetbrains.com/resharper/". The operation has timed out”

ExceptionPath = Root

ClassName = JetBrains.Util.LoggerException

Data.ManagedThreadName = <NULL>

InnerException = “Exception #1 at Root.InnerException”

HResult = COR_E_APPLICATION=80131600

StackTraceString = “

at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception ex, String message)

at JetBrains.Platform.Installer.Services.PackageGalleryFactory.ReportNoCdnGallery()

at JetBrains.Platform.Installer.Services.PackageGalleryFactory.JetBrains.Platform.Installer.Services.IPackageGalleryFactory.CreatePackageGallery()

at JetBrains.Platform.Installer.Models.InstallerViewModel.NegotiatePackageGallery()

at JetBrains.Platform.Installer.Models.InstallerViewModel.<.ctor>b__172_18()

at JetBrains.Platform.Installer.Models.InstallerViewModel.ValidateElevationAndRun(Action startWork)

at JetBrains.Platform.Installer.Models.InstallerViewModel..ctor(WaveInfo waveInfo, InstallerStartupOptions options, IPackageGalleryFactory galleryFactory, InstallerInstallService installerService, LocalPaths perMachinePaths, LocalPaths perUserPaths, VisualStudioHostDiscovery visualStudioDiscovery, InstalledProductsDiscovery installedProductsDiscovery, IBeforeWaveDiscovery beforeWaveDiscovery, Boolean runSync)

at JetBrains.Platform.Installer.Runs.<>c__DisplayClass7_0.<Main>b__1()

at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)

at JetBrains.Platform.Installer.Runs.Main()

at JetBrains.Platform.Installer.Runs.MainMain()

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)

Workarounds:

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

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Aug 6, 2018 7:39:48 PM
Updated Aug 13, 2018 2:31:05 PM
Subsystem Platform - VS Integration
Assignee Denis Korneev (Denis.Korneev)
Priority Normal
State Open
Type Exception
Fix version 2018.2.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 182 Hive _6ef738f5ReSharper — JetBrains ReSharper Ultimate 2018.2 EAP 7 D Build 182.0.20180730.0-eap07d

JetBrains ReSharper 182 Build 182.0.20180730.0-eap07d
JetBrains TeamCity Add-in 182 Build 182.0.20180730.0-eap07d

SubProducts.0 = JetBrains TeamCity Add-in 182 Build 182.0.20180730.0-eap07d
SubProducts.1 = JetBrains ReSharper 182 Build 182.0.20180730.0-eap07d

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 = Microsoft.VisualStudio.Platform.VSEditor
StackTraceString = “
 at Microsoft.VisualStudio.Text.Structure.StructureManager.RedrawAdornments(NormalizedSnapshotSpanCollection newOrReformattedSpans)
 at Microsoft.VisualStudio.Text.Structure.StructureManager.RedrawAdornments(NormalizedSnapshotSpanCollection newOrReformattedSpans)
 at Microsoft.VisualStudio.Text.Structure.StructureManager.<>c__DisplayClass17_0.<OnLayoutChanged>b__0()
 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)


— 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 = xaml
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.2 EAP 7 D Build 182.0.20180730.0-eap07d”
Data.SubProducts.#0 = “JetBrains TeamCity Add-in 182 Build 182.0.20180730.0-eap07d”
Data.SubProducts.#1 = “JetBrains ReSharper 182 Build 182.0.20180730.0-eap07d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/182::997dd2b708b76f917b54d938d11e1c45449f3c6d

Data.VsVersion = 15.8.27906.1
Data.VsPreview = True
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\Logging\ILogger.cs:line 24
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\Logging\ILogger.cs:line 24
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message) in C:\Work\ReSharper\Main\Platform\Core\Shell\RdCore\Src\Logging\LogEx.cs:line 238
 at JetBrains.Util.Logging.Logger.LogException(Exception ex) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 982
 at JetBrains.Application.Environment.Components.ReportUnhandledExceptions.<>c.<.ctor>b__0_6(Object sender, DispatcherUnhandledExceptionEventArgs args) in C:\Work\ReSharper\Main\Platform\Core\Shell\Shell\Src\Application\Environment\Components\ReportUnhandledExceptions.cs:line 40
 at System.Windows.Threading.DispatcherUnhandledExceptionEventHandler.Invoke(Object sender, DispatcherUnhandledExceptionEventArgs e)
 at System.Windows.Threading.Dispatcher.CatchException(Exception e)
 at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
 at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
 at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce() in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 693
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.PumpMessagesOnce() in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 799
 at JetBrains.Threading.JetDispatcher.PumpMessagesOnce() in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\JetDispatcher.cs:line 240
 at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSessionExecutor.ExecuteSession(HotspotSession hotspotSession, IDisposable tryFinallyCookie) in C:\Work\ReSharper\Main\Psi.Features\Core\Services\_Core\Src\LiveTemplates\Hotspots\HotspotSessionExecutor.cs:line 96
 at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSession.Execute(IDisposable tryFinallyCookie) in C:\Work\ReSharper\Main\Psi.Features\Core\Services\_Core\Src\LiveTemplates\Hotspots\HotspotSession.cs:line 48
 at JetBrains.ReSharper.Intentions.Xaml.QuickFixes.CreateXamlTypeQuickFix.<>c__DisplayClass3_0.<ExecuteAfterPsiTransaction>b__2(ITextControl control) in C:\Work\ReSharper\Main\Psi.Features\src\Intentions\Xaml\Src\QuickFixes\CreateXamlTypeQuickFix.cs:line 161
 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.Execute(ISolution solution, ITextControl textControl) in C:\Work\ReSharper\Main\Psi.Features\Core\Services\_Core\Src\Bulbs\BulbActionBase.cs:line 116
 at JetBrains.ReSharper.Feature.Services.QuickFixes.QuickFixBase.Execute(ISolution solution, ITextControl textControl) in C:\Work\ReSharper\Main\Psi.Features\Core\Services\_Core\Src\QuickFixes\QuickFixBase.cs:line 23
 at JetBrains.ReSharper.Feature.Services.Intentions.IntentionAction.MyExecutableProxi.Execute() in C:\Work\ReSharper\Main\Psi.Features\Core\Services\_Core\Src\Intentions\IntentionAction.cs:line 80
 at JetBrains.Application.UI.Controls.BulbMenu.Keys.BulbActionKey.Clicked() in C:\Work\ReSharper\Main\Platform\Core\Shell\Shell\Src\UI\Controls\BulbMenu\Keys\BulbActionKey.cs:line 83
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.<>c__DisplayClass29_0.<InitMenuGeneral>b__0(Object objKey) in C:\Work\ReSharper\Main\Platform\Core\Shell\Shell\Src\UI\Controls\GotoByName\BulbMenuComponent.cs:line 275
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 384
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 544
 at JetBrains.DataFlow.Signal`1.Fire(TValue value) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 493
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenu.<>c__DisplayClass49_0.<InitViewModel>b__3(JetPopupMenuItem item) in C:\Work\ReSharper\Main\Platform\Core\Shell\Shell\Src\UI\Controls\JetPopupMenu\JetPopupMenu.cs:line 360
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 384
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 544
 at JetBrains.DataFlow.Signal`1.Fire(TValue value) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 493
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 384
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 544
 at JetBrains.DataFlow.Signal`1.Fire(TValue value) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 493
 at JetBrains.Application.UI.Controls.JetPopupMenu.Detail.JetPopupMenuDoc.ExecuteSelectedItem() in C:\Work\ReSharper\Main\Platform\Core\Shell\Shell\Src\UI\Controls\JetPopupMenu\Detail\JetPopupMenuDoc.cs:line 283
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuMainpartView.OnKeyDownLowPriority(KeyEventArgs args) in C:\Work\ReSharper\Main\Platform\UIInteractive\Shell\SrcView\Controls\JetPopupMenu\Impl\JetPopupMenuMainpartView.cs:line 1656
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs args) in C:\Work\ReSharper\Main\Platform\UIInteractive\Shell\SrcView\Controls\JetPopupMenu\Impl\JetPopupMenuView.cs:line 837
 at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
 at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
 at System.Windows.Forms.Control.WmKeyChar(Message& m)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
 at System.Windows.Forms.Form.WndProc(Message& m)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.WndProc(Message& m) in C:\Work\ReSharper\Main\Platform\UIInteractive\Shell\SrcView\Controls\JetPopupMenu\Impl\JetPopupMenuView.cs:line 1034
 at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
 at System.Windows.Forms.NativeWindow.WndProc(Message& m)
 at JetBrains.UI.Utils.DpiUtil.TopLevelWindowDpiTracker.WndProc(Message& m) in C:\Work\ReSharper\Main\Platform\UIInteractive\Shell\Src\Utils\DpiUtil.cs:line 537
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce() in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 693
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 855
 at JetBrains.Threading.JetDispatcher.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\JetDispatcher.cs:line 271
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.JetPopupMenuOverlordView.Show(Boolean isModal) in C:\Work\ReSharper\Main\Platform\UIInteractive\Shell\SrcView\Controls\JetPopupMenu\JetPopupMenuOverlordView.cs:line 97
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenus.ShowCore(JetPopupMenu menu, ShowWhen when, Boolean isModal, LifetimeDefinition lifetimeDefinitionOptional, IJetPopupMenuOverlordView parentView) in C:\Work\ReSharper\Main\Platform\Core\Shell\Shell\Src\UI\Controls\JetPopupMenu\JetPopupMenus.cs:line 193
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenus.ShowModal(JetPopupMenu menu, ShowWhen when, LifetimeDefinition lifetimeDefinitionOptional) in C:\Work\ReSharper\Main\Platform\Core\Shell\Shell\Src\UI\Controls\JetPopupMenu\JetPopupMenus.cs:line 127
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.ShowBulbMenuAdvanced(IEnumerable`1 menuItems, PopupWindowContextSource contextSource, GotoByNameModel gotoByNameModel, Action`1 modelInitHandler, LifetimeDefinition viewLifetimeDefinition, IAutomation captionAutomation, Action`1 beforeShow) in C:\Work\ReSharper\Main\Platform\Core\Shell\Shell\Src\UI\Controls\GotoByName\BulbMenuComponent.cs:line 170
 at JetBrains.ReSharper.Intentions.Bulbs.BulbOnGutterMarginIndicator.ExecuteIndicator(IDataContext context, BulbItemsReadyState readyState) in C:\Work\ReSharper\Main\Psi.Features\src\Intentions\_Core\Src\Bulbs\GutterMargin\BulbOnGutterMarginIndicator.cs:line 181
 at JetBrains.ReSharper.Intentions.Bulbs.IndicatorControllerBase.HandleAction(IDataContext context) in C:\Work\ReSharper\Main\Psi.Features\src\Intentions\_Core\Src\Bulbs\IndicatorControllerBase.cs:line 73
 at JetBrains.ReSharper.Intentions.Bulbs.AltEnterHandlers.HandleAction(IDataContext context) in C:\Work\ReSharper\Main\Psi.Features\src\Intentions\_Core\Src\Bulbs\AltEnterHandlers.cs:line 28
 at JetBrains.ReSharper.Intentions.Bulbs.AltEnterActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in C:\Work\ReSharper\Main\Psi.Features\src\Intentions\_Core\Src\Bulbs\AltEnterActionHandler.cs:line 40
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExecutableActionEvaluator.Execute(IAction action, IReadOnlyCollection`1 allActions, IDataContext dataContext) in C:\Work\ReSharper\Main\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\ExecutableActionEvaluator.cs:line 47
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements() in C:\Work\ReSharper\Main\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 107
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_1.<PrepareRequirementsAsync>b__0() in C:\Work\ReSharper\Main\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 56
 at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking) in C:\Work\ReSharper\Main\Platform\Core\Shell\Shell\Src\UI\ActionSystem\ActionsRevised\Handlers\RequirementsManager.cs:line 94
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith) in C:\Work\ReSharper\Main\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 47
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute() in C:\Work\ReSharper\Main\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 94
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClass17_0.<CommandTargetExec>b__0() in C:\Work\ReSharper\Main\Platform\VisualStudio\Core\Src\Shell\Actions.Revised\VsOleCommandTargetHandler.cs:line 281
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 300
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in C:\Work\ReSharper\Main\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 524
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.CommandTargetExec(CommandID commandid, OLECMDEXECOPT cmdExecOpt) in C:\Work\ReSharper\Main\Platform\VisualStudio\Core\Src\Shell\Actions.Revised\VsOleCommandTargetHandler.cs:line 274
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<.ctor>b__12_2(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out) in C:\Work\ReSharper\Main\Platform\VisualStudio\Core\Src\Shell\Actions.Revised\VsOleCommandTargetHandler.cs:line 78
 at JetBrains.VsIntegration.Shell.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut) in C:\Work\ReSharper\Main\Platform\VisualStudio\Core\Src\Shell\Package\VsPackageSdkStub.cs:line 253

RSRP-466546: ReSharper incorrectly detect MSBuild version

$
0
0
Reporter Angelina Elycheva (Angelina.Elycheva) Angelina Elycheva (Angelina.Elycheva)
Created Oct 9, 2017 1:54:59 PM
Updated Aug 13, 2018 2:32:56 PM
Resolved Aug 13, 2018 2:32:56 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Major
State Incomplete
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Trying to build the above type of projects (rooted with <Project Sdk="Microsoft.NET.Sdk">) produces the following error:
The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element.

RSRP-441361: Resharper isn't working.

$
0
0
Reporter Mikhail Filippov (filippovma) Mikhail Filippov (filippovma)
Created Jun 16, 2015 11:33:38 AM
Updated Aug 13, 2018 2:38:55 PM
Subsystem Installation
Assignee Denis Korneev (Denis.Korneev)
Priority Critical
State Reopened
Type Bug
Fix version 2018.2.1
Affected versions 9.1.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Today I start vs 2015 rc and got error message from resharper. An exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\mfilippov\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml".

Exception details:
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
 at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context)
 at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()
I attach activity log.

RSRP-461061: Unattended install problems with TeamCity Addin 2016.2.2

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Sep 29, 2016 6:36:44 PM
Updated Aug 13, 2018 2:39:21 PM
Subsystem Installation
Assignee Denis Korneev (Denis.Korneev)
Priority Critical
State Submitted
Type Task
Fix version 2018.3
Affected versions 2016.2.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
I’m trying to automate the installation and where necessary the removal of the TeamCity Add-in 2016.2.2 from Visual Studio 2012,2013 and 2015. I downloaded the recommended installer from https://www.jetbrains.com/resharper/download/ and was able to generate the relevant installation command line using the Administrative mode:

E:\installers\TeamCityForVS\JetBrains.ReSharperUltimate.2016.2.2.exe /VsVersion=11.0;12.0;14.0 /SpecificProductNames=teamCityAddin /Silent=True /PerMachine=True

And the uninstall command:

E:\installers\TeamCityForVS\JetBrains.ReSharperUltimate.2016.2.2.exe /VsVersion=11.0;12.0;14.0 /SpecificProductNamesToRemove=teamCityAddin /Silent=True /PerMachine=True

However, I found the following issues:

1. In /Silent mode the installer process forks and the initial call returns immediately. Is there a /wait or equivalent parameter that can be used to override this behaviour? At the moment I have to run a separate check for a process named JetBrains.ReSharperUltimate.2016.2.2 to recognise when the installation has completed, and that it’s safe for our installation script to move on to the next item.

2. Installing the teamCityAddin creates the following UninstallString in the registry:

C:\Program Files (x86)\JetBrains\Installations\ReSharperPlatformVs14\JetBrains.Platform.Installer.exe /HostsToRemove=ReSharperPlatformVs14 /PerMachine=True

However:
a. JetBrains.Platform.installer.exe does not exist when only installing the teamCityAddin, meaning the Control Panel Add/Remove programs entry does not work. To uninstall I had to use the JetBrains.ReSharper.Ultimate.2016.2.2.exe.
b. Using /HostsToRemove uninstalls the Resharper platform and not just the TeamCity Add in.

3. When installing the teamCityAddIn using the /SpecificProductNames=teamCityAddin parameter, the /VsVersion appears to be ignored. I initially set /VsVersion=14.0 to just install for VS2015 but the add in was installed for all versions of Visual Studio on my test PC.

4. When uninstalling the teamCityAddin using the /SpecificProductNamesToRemove=teamCityAddin there are 2 problems:
a. The /VsVersion parameter is again ignored, uninstalling the teamCityAddin from all installed versions of Visual Studio
b. Uninstalling the teamCityAddin, installs the Resharper product. This means that developers are prompted for a Resharper license when they relaunch Visual Studio.

I could work around most of these issues, but uninstalling the TeamCity add-in (4.b) is a problem. Is there a registry key, or file entry that I could check to identify users that have a licensed version of Resharper installed? With that, I could choose either /HostsToRemove for users with just the TeamCIty addin present, or /SpecificProductNamesToRemove=teamCityAddIn for users with another Resharper product enabled.
Viewing all 106942 articles
Browse latest View live