Reporter | Kirill Ponimash (Kirill.Ponimash) |
---|---|
Created | Jan 23, 2012 7:00:21 PM |
Updated | Jan 23, 2012 11:10:18 PM |
Resolved | Jan 23, 2012 9:13:15 PM |
Priority | Normal |
Type | Exception |
Fix versions | Next |
State | Fixed |
Assignee | Daniel Degtyarev (daniel.degtyarev) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | 6.5.1.3201 |
dotTrace Performance 5.0 Version=5.0.0.0, Built=2012-01-23T14:41:34, Configuration=“DotTraceApplication Professional PublicMode”
Unable to cast object of type 'WhereSelectEnumerableIterator`2[JetBrains.UI.Avalon.TreeListView.Contracts.INodeState,JetBrains.UI.Avalon.TreeListView.TreeListViewItemAutomationPeer]' to type 'System.Collections.Generic.IEnumerable`1[System.Windows.Automation.Peers.AutomationPeer]'.
--- EXCEPTION #1/2 [InvalidCastException]
Message = “Unable to cast object of type 'WhereSelectEnumerableIterator`2[JetBrains.UI.Avalon.TreeListView.Contracts.INodeState,JetBrains.UI.Avalon.TreeListView.TreeListViewItemAutomationPeer]' to type 'System.Collections.Generic.IEnumerable`1[System.Windows.Automation.Peers.AutomationPeer]'.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidCastException
HResult = COR_E_INVALIDCAST=E_NOINTERFACE=80004002
Source = JetBrains.Platform.dotTrace.UI
StackTraceString = “
”
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “Unable to cast object of type 'WhereSelectEnumerableIterator`2[JetBrains.UI.Avalon.TreeListView.Contracts.INodeState,JetBrains.UI.Avalon.TreeListView.TreeListViewItemAutomationPeer]' to type 'System.Collections.Generic.IEnumerable`1[System.Windows.Automation.Peers.AutomationPeer]'.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at Action(ShowDialogModallyWhenNotGuarded).Execute(Action )
”
Unable to cast object of type 'WhereSelectEnumerableIterator`2[JetBrains.UI.Avalon.TreeListView.Contracts.INodeState,JetBrains.UI.Avalon.TreeListView.TreeListViewItemAutomationPeer]' to type 'System.Collections.Generic.IEnumerable`1[System.Windows.Automation.Peers.AutomationPeer]'.
--- EXCEPTION #1/2 [InvalidCastException]
Message = “Unable to cast object of type 'WhereSelectEnumerableIterator`2[JetBrains.UI.Avalon.TreeListView.Contracts.INodeState,JetBrains.UI.Avalon.TreeListView.TreeListViewItemAutomationPeer]' to type 'System.Collections.Generic.IEnumerable`1[System.Windows.Automation.Peers.AutomationPeer]'.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidCastException
HResult = COR_E_INVALIDCAST=E_NOINTERFACE=80004002
Source = JetBrains.Platform.dotTrace.UI
StackTraceString = “
at JetBrains.UI.Avalon.TreeListView.TreeListViewAutomationPeer.GetChildrenCore() in c:\Work\merc\DotTrace-Trunk\Platform\src\UI\src\Controls\TreeListView\TreeListViewAutomationPeer.cs:line 98 at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren() at System.Windows.Automation.Peers.AutomationPeer.UpdateChildren() at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree() at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree() at System.Windows.ContextLayoutManager.fireAutomationEvents() at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget) at System.Windows.Interop.HwndTarget.OnResize() at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “Unable to cast object of type 'WhereSelectEnumerableIterator`2[JetBrains.UI.Avalon.TreeListView.Contracts.INodeState,JetBrains.UI.Avalon.TreeListView.TreeListViewItemAutomationPeer]' to type 'System.Collections.Generic.IEnumerable`1[System.Windows.Automation.Peers.AutomationPeer]'.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.Logger.LogException(Exception ex) in c:\Work\merc\DotTrace-Trunk\Platform\src\Util\src\Logger\Logger.cs:line 613 at JetBrains.Application.Env.Components.ReportUnhandledExceptions.<.ctor>b__6(Object sender, DispatcherUnhandledExceptionEventArgs args) in c:\Work\merc\DotTrace-Trunk\Platform\src\Shell\src\Application\Environment\Components\ReportUnhandledExceptions.cs:line 39 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, Boolean isSingleParameter, Delegate catchHandler) at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter) at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow) at System.Windows.Window.ShowHelper(Object booleanBox) at System.Windows.Window.Show() at System.Windows.Window.ShowDialog() at JetBrains.UI.CrossFramework.WindowsFormsIntegration.ShowDialog(Window window, IWin32Window win32Owner) in c:\Work\merc\DotTrace-Trunk\Platform\src\UI\src\CrossFramework\WindowsFormsIntegration.cs:line 237 at JetBrains.UI.Application.WindowUtil.<>c__DisplayClass1e.<ShowDialogWithGuardedCreation>b__18(LifetimeDefinition lifetimeDefinitionDialog, Lifetime lifetimeDialog) in c:\Work\merc\DotTrace-Trunk\Platform\src\UI\src\Extensions\WindowUtil.cs:line 382 at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILogger logger) in c:\Work\merc\DotTrace-Trunk\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 113 at JetBrains.UI.Application.WindowUtil.<>c__DisplayClass1e.<ShowDialogWithGuardedCreation>b__17() in c:\Work\merc\DotTrace-Trunk\Platform\src\UI\src\Extensions\WindowUtil.cs:line 334 at JetBrains.Util.Logger.Catch(Action action) in c:\Work\merc\DotTrace-Trunk\Platform\src\Util\src\Logger\Logger.cs:line 246 at JetBrains.UI.Application.WindowUtil.ShowDialogWithGuardedCreation(Lifetime lifetime, Modality modality, Func`3 FCreateView, IThreading threading, Object ownerwindow) in c:\Work\merc\DotTrace-Trunk\Platform\src\UI\src\Extensions\WindowUtil.cs:line 332 at JetBrains.UI.Application.WindowUtil.<>c__DisplayClass1e.<>c__DisplayClass23.<ShowDialogWithGuardedCreation>b__1b() in c:\Work\merc\DotTrace-Trunk\Platform\src\UI\src\Extensions\WindowUtil.cs:line 367 at JetBrains.Util.Logger.Catch(Action action) in c:\Work\merc\DotTrace-Trunk\Platform\src\Util\src\Logger\Logger.cs:line 246 at JetBrains.Threading.IThreadingEx.<>c__DisplayClass7.<>c__DisplayClass9.<ExecuteOrQueueWhenNotGuarded>b__4() in c:\Work\merc\DotTrace-Trunk\Platform\src\Shell\src\Threading\Invocator.cs:line 492
at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\Work\merc\DotTrace-Trunk\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 827 at JetBrains.Threading.JetDispatcher.ProcessQueue() in c:\Work\merc\DotTrace-Trunk\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 694 at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Delegate.DynamicInvokeImpl(Object[] args) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext 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, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter) at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at JetBrains.dotTrace.Starter.ProgramHelper.<>c__DisplayClass4.<>c__DisplayClass6.<RunStandaloneApplication>b__2() in C:\Work\merc\DotTrace-Trunk\Src\DotTrace\src\Starter\ProgramHelper.cs:line 103 at JetBrains.Util.Logger.Catch[TValue](Func`1 F) in c:\Work\merc\DotTrace-Trunk\Platform\src\Util\src\Logger\Logger.cs:line 264 at JetBrains.dotTrace.Starter.ProgramHelper.<>c__DisplayClass4.<RunStandaloneApplication>b__1(Lifetime lifetime) in C:\Work\merc\DotTrace-Trunk\Src\DotTrace\src\Starter\ProgramHelper.cs:line 74 at JetBrains.dotTrace.Starter.ProgramHelper.MainUsing[TRetVal](Func`2 F) in C:\Work\merc\DotTrace-Trunk\Src\DotTrace\src\Starter\ProgramHelper.cs:line 30 at JetBrains.dotTrace.Starter.ProgramHelper.RunStandaloneApplication(String[] args, IStandaloneApplicationBuilder builder) in C:\Work\merc\DotTrace-Trunk\Src\DotTrace\src\Starter\ProgramHelper.cs:line 74 at JetBrains.dotTrace.Starter.Program.Main(String[] args) in C:\Work\merc\DotTrace-Trunk\Src\DotTrace\src\Starter\Program.cs:line 11 at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()