Error in action - iterate collection via foreach


See video for bug in action,

this stacktrace is dumped:

Current file extension: cs
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic
failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at
Microsoft.VisualStudio.OLE.Interop.IOleUndoManager.EnumUndoable(IEnumOle
UndoUnits& ppEnum)
at
JetBrains.ReSharper.LiveTemplates.UI.ToolWindow.UndoUnitUtil.d__0.MoveNext() in c:\Agent\work\6f6005be76df46e2\Platform\src\VSIntegration\src\Undo\UndoU nitUtil.cs:line 26 at JetBrains.Util.CollectionUtil.GetLast[T](IEnumerable`1 e) in c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\Collections\Collect ionUtil.cs:line 443 at JetBrains.VSIntegration.DocumentModel.GroupingChangeUnit..ctor(VsTextCon trol textControl, String changeName) in c:\Agent\work\6f6005be76df46e2\Platform\src\VSIntegration\src\DocumentMo del\GroupingChangeUnit.cs:line 30 at JetBrains.VSIntegration.TextControl.VSTextControlChangeUnitFactory.Creat eChangeUnit(ITextControl textControl, String changeName, Action finishAction) in c:\Agent\work\6f6005be76df46e2\Platform\src\VSIntegration\src\TextContro l\VSTextControlChangeUnitFactory.cs:line 22 at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSessi onExecutor.ExecuteSession(HotspotSession hotspotSession, IDisposable tryFinallyCookie) in c:\Agent\work\6f6005be76df46e2\src\Feature.Services\src\LiveTemplates\Ho tspots\HotspotSessionExecutor.cs:line 65 at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSessi on.Execute() in c:\Agent\work\6f6005be76df46e2\src\Feature.Services\src\LiveTemplates\Ho tspots\HotspotSession.cs:line 157 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.IterateViaForeachAc tion.ExecuteInternalPostPSITransaction(Object[] data) in c:\Agent\work\6f6005be76df46e2\src\Intentions.CSharp\src\ContextActions\ IterateViaForeachAction.cs:line 104 at JetBrains.ReSharper.Intentions.Legacy.ContextActionBase.Execute(ISolutio n solution, ITextControl textControl, String caption, Object[] param) in c:\Agent\work\6f6005be76df46e2\src\Intentions\src\Legacy\ContextActionBa se.cs:line 122 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.Util.OneItemContext ActionBase.Execute(ISolution solution, ITextControl textControl) in c:\Agent\work\6f6005be76df46e2\src\Intentions.CSharp\src\ContextActions\ Util\OneItemContextActionBase.cs:line 31 at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.<>c__DisplayClass1.b__0() in c:\Agent\work\6f6005be76df46e2\src\Intentions\src\Bulbs\BulbIndicator.cs :line 195 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\Concurrency\Reentra ncyGuard.cs:line 306 --- End of inner exception stack trace --- LoggerException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) -> System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) at Microsoft.VisualStudio.OLE.Interop.IOleUndoManager.EnumUndoable(IEnumOle UndoUnits& ppEnum) at JetBrains.ReSharper.LiveTemplates.UI.ToolWindow.UndoUnitUtil.d__0.MoveNext() in c:\Agent\work\6f6005be76df46e2\Platform\src\VSIntegration\src\Undo\UndoU nitUtil.cs:line 26 at JetBrains.Util.CollectionUtil.GetLast[T](IEnumerable`1 e) in c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\Collections\Collect ionUtil.cs:line 443 at JetBrains.VSIntegration.DocumentModel.GroupingChangeUnit..ctor(VsTextCon trol textControl, String changeName) in c:\Agent\work\6f6005be76df46e2\Platform\src\VSIntegration\src\DocumentMo del\GroupingChangeUnit.cs:line 30 at JetBrains.VSIntegration.TextControl.VSTextControlChangeUnitFactory.Creat eChangeUnit(ITextControl textControl, String changeName, Action finishAction) in c:\Agent\work\6f6005be76df46e2\Platform\src\VSIntegration\src\TextContro l\VSTextControlChangeUnitFactory.cs:line 22 at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSessi onExecutor.ExecuteSession(HotspotSession hotspotSession, IDisposable tryFinallyCookie) in c:\Agent\work\6f6005be76df46e2\src\Feature.Services\src\LiveTemplates\Ho tspots\HotspotSessionExecutor.cs:line 65 at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSessi on.Execute() in c:\Agent\work\6f6005be76df46e2\src\Feature.Services\src\LiveTemplates\Ho tspots\HotspotSession.cs:line 157 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.IterateViaForeachAc tion.ExecuteInternalPostPSITransaction(Object[] data) in c:\Agent\work\6f6005be76df46e2\src\Intentions.CSharp\src\ContextActions\ IterateViaForeachAction.cs:line 104 at JetBrains.ReSharper.Intentions.Legacy.ContextActionBase.Execute(ISolutio n solution, ITextControl textControl, String caption, Object[] param) in c:\Agent\work\6f6005be76df46e2\src\Intentions\src\Legacy\ContextActionBa se.cs:line 122 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.Util.OneItemContext ActionBase.Execute(ISolution solution, ITextControl textControl) in c:\Agent\work\6f6005be76df46e2\src\Intentions.CSharp\src\ContextActions\ Util\OneItemContextActionBase.cs:line 31 at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.<>c__DisplayClass1.b__0() in c:\Agent\work\6f6005be76df46e2\src\Intentions\src\Bulbs\BulbIndicator.cs :line 195 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\Concurrency\Reentra ncyGuard.cs:line 306 --- End of Inner Exception Stack Trace --- at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\Concurrency\Reentra ncyGuard.cs:line 311 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action) in c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\Concurrency\Reentra ncyGuard.cs:line 339 at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.OnMenuItemClicked(Obj ect key) in c:\Agent\work\6f6005be76df46e2\src\Intentions\src\Bulbs\BulbIndicator.cs :line 205 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1.c s:line 280 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1.c s:line 390 at JetBrains.DataFlow.Signal`1.Fire(TValue value) in c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1.c s:line 360 at JetBrains.UI.PopupMenu.JetPopupMenu.<>c__DisplayClassb.]]>b__5(JetPop
upMenuItem item) in
c:\Agent\work\6f6005be76df46e2\Platform\src\UI\src\PopupMenu\JetPopupMen
u.cs:line 368
at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1.c
s:line 280
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1.c
s:line 390
at JetBrains.DataFlow.Signal`1.Fire(TValue value) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1.c
s:line 360
at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1.c
s:line 280
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1.c
s:line 390
at JetBrains.DataFlow.Signal`1.Fire(TValue value) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1.c
s:line 360
at JetBrains.UI.PopupMenu.Impl.JetPopupMenuDoc.ExecuteSelectedItem()
in
c:\Agent\work\6f6005be76df46e2\Platform\src\UI\src\PopupMenu\Impl\JetPop
upMenuDoc.cs:line 280
at
JetBrains.UI.PopupMenu.Impl.JetPopupMenuMainpartView.OnKeyDownLowPriorit
y(KeyEventArgs args) in
c:\Agent\work\6f6005be76df46e2\Platform\src\UI\src\PopupMenu\Impl\JetPop
upMenuMainpartView.cs:line 1505
at
JetBrains.UI.PopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs
args) in
c:\Agent\work\6f6005be76df46e2\Platform\src\UI\src\PopupMenu\Impl\JetPop
upMenuView.cs:line 811
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.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at JetBrains.UI.PopupMenu.Impl.JetPopupMenuView.WndProc(Message& m)
in
c:\Agent\work\6f6005be76df46e2\Platform\src\UI\src\PopupMenu\Impl\JetPop
upMenuView.cs:line 1008
at
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&
m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)



--
by Peter Sulek at 29. 5. 2009 9:12:24
XanaNews 1.18.1.6

2 comments

Peter Sulek wrote:


See video for bug in action,

this stacktrace is dumped:

Current file extension: cs
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic
failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at
Microsoft.VisualStudio.OLE.Interop.IOleUndoManager.EnumUndoable(IEnumO
le UndoUnits& ppEnum)
at
JetBrains.ReSharper.LiveTemplates.UI.ToolWindow.UndoUnitUtil.<Enumerat
eU ndoUnits>d__0.MoveNext() in
c:\Agent\work\6f6005be76df46e2\Platform\src\VSIntegration\src\Undo\Und
oU nitUtil.cs:line 26
at JetBrains.Util.CollectionUtil.GetLast[T](IEnumerable`1 e) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\Collections\Colle
ct ionUtil.cs:line 443
at
JetBrains.VSIntegration.DocumentModel.GroupingChangeUnit..ctor(VsTextC
on trol textControl, String changeName) in
c:\Agent\work\6f6005be76df46e2\Platform\src\VSIntegration\src\Document
Mo del\GroupingChangeUnit.cs:line 30
at
JetBrains.VSIntegration.TextControl.VSTextControlChangeUnitFactory.Cre
at eChangeUnit(ITextControl textControl, String changeName, Action
finishAction) in
c:\Agent\work\6f6005be76df46e2\Platform\src\VSIntegration\src\TextCont
ro l\VSTextControlChangeUnitFactory.cs:line 22
at
JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSes
si onExecutor.ExecuteSession(HotspotSession hotspotSession,
IDisposable tryFinallyCookie) in
c:\Agent\work\6f6005be76df46e2\src\Feature.Services\src\LiveTemplates\
Ho tspots\HotspotSessionExecutor.cs:line 65
at
JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSes
si on.Execute() in
c:\Agent\work\6f6005be76df46e2\src\Feature.Services\src\LiveTemplates\
Ho tspots\HotspotSession.cs:line 157
at
JetBrains.ReSharper.Intentions.CSharp.ContextActions.IterateViaForeach
Ac tion.ExecuteInternalPostPSITransaction(Object[] data) in
c:\Agent\work\6f6005be76df46e2\src\Intentions.CSharp\src\ContextAction
s\ IterateViaForeachAction.cs:line 104
at
JetBrains.ReSharper.Intentions.Legacy.ContextActionBase.Execute(ISolut
io n solution, ITextControl textControl, String caption, Object[]
param) in
c:\Agent\work\6f6005be76df46e2\src\Intentions\src\Legacy\ContextAction
Ba se.cs:line 122
at
JetBrains.ReSharper.Intentions.CSharp.ContextActions.Util.OneItemConte
xt ActionBase.Execute(ISolution solution, ITextControl textControl) in
c:\Agent\work\6f6005be76df46e2\src\Intentions.CSharp\src\ContextAction
s\ Util\OneItemContextActionBase.cs:line 31
at
JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.<>c__DisplayClass1.
<O nMenuItemClicked>b__0() in
c:\Agent\work\6f6005be76df46e2\src\Intentions\src\Bulbs\BulbIndicator.
cs :line 195
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action
action) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\Concurrency\Reent
ra ncyGuard.cs:line 306

--- End of inner exception stack trace ---
LoggerException: Catastrophic failure (Exception from HRESULT:
0x8000FFFF (E_UNEXPECTED))
->
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic
failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at
Microsoft.VisualStudio.OLE.Interop.IOleUndoManager.EnumUndoable(IEnumO
le UndoUnits& ppEnum)
at
JetBrains.ReSharper.LiveTemplates.UI.ToolWindow.UndoUnitUtil.<Enumerat
eU ndoUnits>d__0.MoveNext() in
c:\Agent\work\6f6005be76df46e2\Platform\src\VSIntegration\src\Undo\Und
oU nitUtil.cs:line 26
at JetBrains.Util.CollectionUtil.GetLast[T](IEnumerable`1 e) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\Collections\Colle
ct ionUtil.cs:line 443
at
JetBrains.VSIntegration.DocumentModel.GroupingChangeUnit..ctor(VsTextC
on trol textControl, String changeName) in
c:\Agent\work\6f6005be76df46e2\Platform\src\VSIntegration\src\Document
Mo del\GroupingChangeUnit.cs:line 30
at
JetBrains.VSIntegration.TextControl.VSTextControlChangeUnitFactory.Cre
at eChangeUnit(ITextControl textControl, String changeName, Action
finishAction) in
c:\Agent\work\6f6005be76df46e2\Platform\src\VSIntegration\src\TextCont
ro l\VSTextControlChangeUnitFactory.cs:line 22
at
JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSes
si onExecutor.ExecuteSession(HotspotSession hotspotSession,
IDisposable tryFinallyCookie) in
c:\Agent\work\6f6005be76df46e2\src\Feature.Services\src\LiveTemplates\
Ho tspots\HotspotSessionExecutor.cs:line 65
at
JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSes
si on.Execute() in
c:\Agent\work\6f6005be76df46e2\src\Feature.Services\src\LiveTemplates\
Ho tspots\HotspotSession.cs:line 157
at
JetBrains.ReSharper.Intentions.CSharp.ContextActions.IterateViaForeach
Ac tion.ExecuteInternalPostPSITransaction(Object[] data) in
c:\Agent\work\6f6005be76df46e2\src\Intentions.CSharp\src\ContextAction
s\ IterateViaForeachAction.cs:line 104
at
JetBrains.ReSharper.Intentions.Legacy.ContextActionBase.Execute(ISolut
io n solution, ITextControl textControl, String caption, Object[]
param) in
c:\Agent\work\6f6005be76df46e2\src\Intentions\src\Legacy\ContextAction
Ba se.cs:line 122
at
JetBrains.ReSharper.Intentions.CSharp.ContextActions.Util.OneItemConte
xt ActionBase.Execute(ISolution solution, ITextControl textControl) in
c:\Agent\work\6f6005be76df46e2\src\Intentions.CSharp\src\ContextAction
s\ Util\OneItemContextActionBase.cs:line 31
at
JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.<>c__DisplayClass1.
<O nMenuItemClicked>b__0() in
c:\Agent\work\6f6005be76df46e2\src\Intentions\src\Bulbs\BulbIndicator.
cs :line 195
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action
action) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\Concurrency\Reent
ra ncyGuard.cs:line 306
--- End of Inner Exception Stack Trace ---
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action
action) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\Concurrency\Reent
ra ncyGuard.cs:line 311
at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name,
Action action) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\Concurrency\Reent
ra ncyGuard.cs:line 339
at
JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.OnMenuItemClicked(O
bj ect key) in
c:\Agent\work\6f6005be76df46e2\src\Intentions\src\Bulbs\BulbIndicator.
cs :line 205
at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1
.c s:line 280
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1
.c s:line 390
at JetBrains.DataFlow.Signal`1.Fire(TValue value) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1
.c s:line 360
at
JetBrains.UI.PopupMenu.JetPopupMenu.<>c__DisplayClassb.<Show>b__5(JetP
op upMenuItem item) in
c:\Agent\work\6f6005be76df46e2\Platform\src\UI\src\PopupMenu\JetPopupM
en u.cs:line 368
at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1
.c s:line 280
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1
.c s:line 390
at JetBrains.DataFlow.Signal`1.Fire(TValue value) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1
.c s:line 360
at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1
.c s:line 280
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1
.c s:line 390
at JetBrains.DataFlow.Signal`1.Fire(TValue value) in
c:\Agent\work\6f6005be76df46e2\Platform\src\Util\src\DataFlow\Signal!1
.c s:line 360
at
JetBrains.UI.PopupMenu.Impl.JetPopupMenuDoc.ExecuteSelectedItem() in
c:\Agent\work\6f6005be76df46e2\Platform\src\UI\src\PopupMenu\Impl\JetP
op upMenuDoc.cs:line 280
at
JetBrains.UI.PopupMenu.Impl.JetPopupMenuMainpartView.OnKeyDownLowPrior
it y(KeyEventArgs args) in
c:\Agent\work\6f6005be76df46e2\Platform\src\UI\src\PopupMenu\Impl\JetP
op upMenuMainpartView.cs:line 1505
at
JetBrains.UI.PopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs
args) in
c:\Agent\work\6f6005be76df46e2\Platform\src\UI\src\PopupMenu\Impl\JetP
op upMenuView.cs:line 811
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.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at JetBrains.UI.PopupMenu.Impl.JetPopupMenuView.WndProc(Message& m)
in
c:\Agent\work\6f6005be76df46e2\Platform\src\UI\src\PopupMenu\Impl\JetP
op upMenuView.cs:line 1008
at
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at
System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr
hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Version, latest 1245

--
by Peter Sulek at 29. 5. 2009 9:14:28
XanaNews 1.18.1.6

0

Peter Sulek wrote:

Take a look at http://www.jetbrains.net/jira/browse/RSRP-109704, it
seems that latest build 1245 is broken more things!

--
by Peter Sulek at 29. 5. 2009 9:25:19
XanaNews 1.18.1.6

0

Please sign in to leave a comment.