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

RSRP-290193: value is pure null, should be null type

$
0
0
Reporter Daniel Corbett (danielcor) Daniel Corbett (danielcor)
Created Mar 15, 2012 1:16:10 PM
Updated Mar 30, 2012 12:25:08 PM
Resolved Mar 30, 2012 12:25:08 PM
Priority Normal
Type Exception
Fix versions 7.0
State Fixed
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
ReSharper 7 Preview for Visual Studio 11 Beta EAP Version=7.0.0.325, Built=2012-03-02T23:39:56, Configuration=“Csharp PublicMode Vbnet VS1100”
value is pure null, should be null type

--- EXCEPTION #1/2 [AssertionException]
Message = “value is pure null, should be null type”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.ReSharper.Util
StackTraceString = “
  at JetBrains.Util.Assertion.Fail(String message, Object[] args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Assertion.cs:line 25
     at JetBrains.Util.Assertion.Assert(Boolean condition, String message, Object[] args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Assertion.cs:line 17
     at JetBrains.ReSharper.Psi.CSharp.Impl.Types.ConstantType..ctor(ConstantValue value, IPsiModule module) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Impl\Types\ConstantType.cs:line 19
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpLiteralExpression.CalculateExpressionTypeAux(IResolveContext resolveContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Impl\Tree\CSharpLiteralExpression.cs:line 219
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpExpressionBase.CalculateExpressionType(IResolveContext resolveContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Impl\Tree\CSharpExpressionBase.cs:line 81
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.UniversalContext.ExpressionType(IManagedExpression expression) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\Resolve\Managed\UniversalContext.cs:line 21
     at JetBrains.ReSharper.Psi.Resolve.Managed.ManagedExtensionsDispatcher.GetExpressionType(IExpression expression, IResolveContext resolveContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\Resolve\Managed\IResolveContext.cs:line 79
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpArgument.GetExpressionType(IResolveContext resolveContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Impl\Tree\CSharpArgument.cs:line 183
     at JetBrains.ReSharper.Psi.CSharp.Resolve.OverloadResolution.OverloadResolutionEngine.<>c__DisplayClass8.<ForkIfNeeded>b__6(ICSharpArgumentInfo argument, IType targetType, ParameterKind parameterKind, Boolean checkingParamArray) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Resolve\OverloadResolution\OverloadResolutionEngine.cs:line 276
     at JetBrains.ReSharper.Psi.CSharp.Resolve.OverloadResolution.OverloadResolutionDataExtensions.ProcessWithTypes(IList`1 matches, ISubstitution substitution, ParameterProcessor processor) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Resolve\OverloadResolution\IOverloadResolutionData.cs:line 48
     at JetBrains.ReSharper.Psi.CSharp.Resolve.OverloadResolution.OverloadResolutionEngine.ForkIfNeeded(IResolveContext resolveContext, InferedCandidate candidate) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Resolve\OverloadResolution\OverloadResolutionEngine.cs:line 271
     at JetBrains.ReSharper.Psi.CSharp.Resolve.OverloadResolution.OverloadResolutionEngine.IsApplicableAfterTypeInference(IResolveContext resolveContext, InferedCandidate candidate, CandidateWithResolveContext& candidateWithResolveContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Resolve\OverloadResolution\OverloadResolutionEngine.cs:line 348
     at JetBrains.ReSharper.Psi.CSharp.Resolve.OverloadResolution.OverloadResolutionEngine.CheckApplicability(MatchedCandidate candidate, IResolveContext resolveContext, CandidateWithResolveContext& candidateWithResolveContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Resolve\OverloadResolution\OverloadResolutionEngine.cs:line 235
     at JetBrains.ReSharper.Psi.CSharp.Resolve.OverloadResolution.OverloadResolutionEngine.CheckApplicability(IList`1 inferenceResults, IList`1& typeInferenceResults) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Resolve\OverloadResolution\OverloadResolutionEngine.cs:line 205
     at JetBrains.ReSharper.Psi.CSharp.Resolve.OverloadResolution.OverloadResolutionEngine.ResolveOverloads(IList`1 invocables) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Resolve\OverloadResolution\OverloadResolutionEngine.cs:line 64
     at JetBrains.ReSharper.Psi.CSharp.Impl.Resolve.CSharpResolveUtil.ResolveConstructor(IResolveContext resolveContext, ISymbolTable table, IAccessContext context, IList`1 arguments, Version languageVersion, ICSharpTypeConversionRule typeConversionRule, Boolean isConstructorInitializer) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Impl\Resolve\CSharpResolveUtil.cs:line 263
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ConstructorReference.Resolve(IResolveContext resolveContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Impl\Tree\ConstructorReference.cs:line 25
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.<.cctor>b__1(IManagedReferenceImpl reference, Object _, IResolveContext resolveContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\Resolve\Managed\ResolveContext.cs:line 162
     at JetBrains.ReSharper.Psi.Impl.Resolve.Managed.CalculationProcess.Get[TKey,TParameter,TValue](CascadingCacheKey cacheKey, TKey key, TParameter param, IResolveContext resolveContext, Func`4 calculator) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\resolve\Managed\CalculationProcess.cs:line 129
     at JetBrains.ReSharper.Psi.Impl.Resolve.Managed.UniversalCalculationProcess.Get[TKey,TParameter,TValue](CascadingCacheKey cacheKey, TKey key, TParameter param, IResolveContext resolveContext, Func`4 calculator) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\resolve\Managed\UniversalCalculationProcess.cs:line 14
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.ResolveWithInfo(IManagedReference reference) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\Resolve\Managed\ResolveContext.cs:line 144
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ManagedReferenceBase`1.JetBrains.ReSharper.Psi.Resolve.IReference.Resolve() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\Resolve\Managed\ManagedReferenceBase.cs:line 82
     at JetBrains.ReSharper.Intentions.CSharp.ContextActions.Misc.Check.CheckArgumentActionBase.GetDeclaredElement(IReference reference) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\CSharp\src\ContextActions\Check\CheckArgumentActionBase.cs:line 129
     at JetBrains.ReSharper.Intentions.CSharp.ContextActions.Misc.Check.CheckArgumentActionBase.GetParametersOwner(ICSharpArgumentsOwner argumentsOwner) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\CSharp\src\ContextActions\Check\CheckArgumentActionBase.cs:line 119
     at JetBrains.ReSharper.Intentions.CSharp.ContextActions.Misc.Check.CheckArgumentActionBase.CreateMemberInfo(ITreeNode element) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\CSharp\src\ContextActions\Check\CheckArgumentActionBase.cs:line 151
     at JetBrains.ReSharper.Intentions.CSharp.ContextActions.Misc.Check.CheckArgumentActionBase.IsAvailable(IUserDataHolder cache) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\CSharp\src\ContextActions\Check\CheckArgumentActionBase.cs:line 89
     at JetBrains.ReSharper.Intentions.ContextActionTableImpl.InstantiateAvailableActions(Func`3 fDataContext, IDictionary`2 cache, IUserDataHolder dataHolder, Boolean onlyPopup) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\ContextActionTableImpl.cs:line 144


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “value is pure null, should be null type”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cs
Data.ManagedThreadName = “Pool Thread #3”
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.ReSharper.Intentions.ContextActionTableImpl.InstantiateAvailableActions(Func`3 fDataContext, IDictionary`2 cache, IUserDataHolder dataHolder, Boolean onlyPopup) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\ContextActionTableImpl.cs:line 154
     at JetBrains.ReSharper.Intentions.Bulbs.BulbItemsBuilder.<>c__DisplayClass7.<BuildAvailableActionsList>b__2() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbItemsBuilder.cs:line 119
     at JetBrains.ReSharper.Intentions.Bulbs.BulbItemsBuilder.BackgroundContextActionBuilder.Work() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbItemsBuilder.cs:line 378
     at JetBrains.Application.InterruptableReadActivity.DoWork() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\Threading\InterruptableReadActivity.cs:line 209
     at JetBrains.Application.InterruptableReadActivity.WorkerThreadProc() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\Threading\InterruptableReadActivity.cs:line 89
     at JetBrains.Threading.ThreadManager.PooledThread.ThreadProc() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Threading\ThreadManager.cs:line 152
     at JetBrains.Util.Logger.Catch(Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Logger\Logger.cs:line 243
     at JetBrains.Threading.ThreadManager.PooledThread.<.ctor>b__1() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Threading\ThreadManager.cs:line 116
     at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Threading.ThreadHelper.ThreadStart()

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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