Reporter | ReSharper anonymous (resharper) |
---|---|
Created | Mar 29, 2012 10:09:41 PM |
Updated | Mar 29, 2012 10:09:41 PM |
Priority | Normal |
Type | Exception |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
ReSharper 7 EAP for Visual Studio 11 Beta Version=7.0.6.61, Built=2012-03-26T17:39:52, Configuration=“Csharp PublicMode Vbnet VS1100”
An exception has occurred during action 'SurroundWith' execution. Value cannot be null. Parameter name: proelem
--- EXCEPTION #1/2 [ArgumentNullException]
Message = “Value cannot be null.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentNullException
HResult = COR_E_NULLREFERENCE=E_POINTER=80004003
Source = JetBrains.Platform.ReSharper.ProjectModel
ParamName = proelem
StackTraceString = “
”
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “
An exception has occurred during action 'SurroundWith' execution. Value cannot be null.
Parameter name: proelem
”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
”
An exception has occurred during action 'SurroundWith' execution. Value cannot be null. Parameter name: proelem
--- EXCEPTION #1/2 [ArgumentNullException]
Message = “Value cannot be null.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentNullException
HResult = COR_E_NULLREFERENCE=E_POINTER=80004003
Source = JetBrains.Platform.ReSharper.ProjectModel
ParamName = proelem
StackTraceString = “
at JetBrains.ProjectModel.DataContext.DataContextsEx.ToDataContext(IProjectModelElement proelem) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Projects\src\DataContext\DataContextsEx.cs:line 16 at JetBrains.ReSharper.LiveTemplates.Surround.SurroundAction.GetSurroundTemplates(ICollection`1 realScopePoints, IDictionary`2 surroundMnemonics, TemplateAcceptanceContext acceptanceContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\LiveTemplates\_Core\src\Surround\SurroundAction.cs:line 159 at JetBrains.ReSharper.LiveTemplates.Surround.SurroundAction.Execute(IDataContext context, DelegateExecute nextExecute) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\LiveTemplates\_Core\src\Surround\SurroundAction.cs:line 84 at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\Action\ExecutableAction.cs:line 36
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “
An exception has occurred during action 'SurroundWith' execution. Value cannot be null.
Parameter name: proelem
”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
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.ActionManagement.ActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 184 at JetBrains.VsIntegration.ActionManagement.VsActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1375 at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass6.<ExecuteActionIfAvailable>b__5(Lifetime lifetime) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 162 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 41 at JetBrains.ActionManagement.ActionManager.ExecuteActionIfAvailable(IExecutableAction action, IDataContext dataContextOverride) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 154 at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetExec_Product(String actionid, Boolean isAuxiliaryCommand, IntPtr vIn, IntPtr vOut) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 860 at JetBrains.VsIntegration.ActionManagement.VsActionManager.<>c__DisplayClass22.<OleCommandTargetExec>b__1f() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 332 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 415 at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetExec(CommandID commandid, OLECMDEXECOPT nCmdExecOpt, IntPtr vIn, IntPtr vOut, VsCommandHandlerStage stage) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 328 at JetBrains.VsIntegration.ActionManagement.VsActionManager.<Init>b__59(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1421 at JetBrains.VsIntegration.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\Package\VsPackageSdkStub.cs:line 223 at Microsoft.VisualStudio.Shell.Interop.IVsFilterKeys2.TranslateAcceleratorEx(MSG[] pMsg, UInt32 dwFlags, UInt32 cKeyBindingScopes, Guid[] rgguidKeyBindingScopes, Guid& pguidCmd, UInt32& pdwCmd, Int32& fCmdTranslated, Int32& pfKeyComboStartsChord) at JetBrains.VsIntegration.CodeEditorEmbedding.CodeEditorNativeWindow.PreFilterMessage(Message& m) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\CodeEditorEmbedding\CodeEditorUserControl.cs:line 528 at JetBrains.VsIntegration.CodeEditorEmbedding.CodeEditorUserControl.PreProcessMessage(Message& msg) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\CodeEditorEmbedding\CodeEditorUserControl.cs:line 61 at JetBrains.VsIntegration.PersistableView.VsPersistableViewWindowPane.PreProcessMessage(Message& m) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\PersistableView\VSPersistableViewWindowPane.cs:line 94 at Microsoft.VisualStudio.Shell.WindowPane.Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.TranslateAccelerator(MSG[] msg) at Microsoft.VisualStudio.Platform.WindowManagement.WindowPaneDocumentObject.TranslateAccelerator(MSG& lpmsg) at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.TranslateAccelerator(MSG& oleMsg) at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.TranslateAccelerator(MSG[] lpmsg)