Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Unhandled exception uppon startup in SD

$
0
0
Hello,
i installed SD and, after trying to do some changes to the workbench, i may have dragged something to a wrong place because everytime i start SD again, i get an unhandled exception as shown below. Even after uninstalling and installing SD again, the problem persists.
Do anybody know how to "reset" the workbench to a default state so that i can use SD again? Regards.
SharpDevelop Version : 4.3.0.9390-e0365b10
.NET Version         : 4.0.30319.1008
OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture      : Portuguese (Brazil) (pt-BR)
Current UI language  : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 57752kb
GC Heap Memory       : 7495kb
Exception thrown:
System.InvalidOperationException: UIElement.Measure(availableSize) cannot be called with NaN size.
   at System.Windows.UIElement.Measure(Size availableSize)
   at AvalonDock.ResizingPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at AvalonDock.ResizingPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at AvalonDock.ResizingPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at AvalonDock.ResizingPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at AvalonDock.Pane.OnItemsChanged(NotifyCollectionChangedEventArgs e)
   at AvalonDock.DockablePane.OnItemsChanged(NotifyCollectionChangedEventArgs e)
   at System.Windows.Controls.ItemsControl.OnItemCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   at System.Windows.Controls.ItemCollection.System.Windows.IWeakEventListener.ReceiveWeakEvent(Type managerType, Object sender, EventArgs e)
   at System.Windows.WeakEventManager.DeliverEventToList(Object sender, EventArgs args, ListenerList list)
   at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
   at System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
   at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   at MS.Internal.Controls.InnerItemCollectionView._RemoveAt(Int32 index, Int32 indexR, Object item)
   at MS.Internal.Controls.InnerItemCollectionView.Remove(Object item)
   at System.Windows.Controls.ItemCollection.Remove(Object removeItem)
   at AvalonDock.Pane.RemoveContent(ManagedContent contentToRemove)
   at AvalonDock.Pane.RemoveContent(Int32 index)
   at AvalonDock.DockablePane.RemoveContent(Int32 index)
   at AvalonDock.ManagedContent.DetachFromContainerPane()
   at AvalonDock.DockingManager.Hide(DockableContent content)
   at AvalonDock.DockingManager.RestoreLayout(XmlDocument doc)
   at AvalonDock.DockingManager.RestoreLayout(String filename)
   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.LoadLayout(String fileName, Boolean hideAllLostPads)
   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.TryLoadConfiguration()
   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.LoadConfiguration()
---- Recent log messages:
09:26:12.416 [1] DEBUG - Add pad ICSharpCode.SharpDevelop.Gui.Pads.WatchPad at Bottom, Hidden
09:26:12.416 [1] DEBUG - Add pad ICSharpCode.SharpDevelop.Gui.Pads.ObjectGraphPad at Bottom, Hidden
09:26:12.416 [1] DEBUG - Add pad ICSharpCode.SharpDevelop.Gui.Pads.ParallelStackPad at Bottom, Hidden
09:26:12.416 [1] DEBUG - Add pad ICSharpCode.Data.Addin.Pad.DatabasesTreeViewPad at Right, Hidden
09:26:12.416 [1] DEBUG - Add pad ICSharpCode.XmlEditor.XPathQueryPad at Bottom, Hidden
09:26:12.416 [1] DEBUG - Add pad MSHelpSystem.Controls.Help3TocPad at Right, Hidden
09:26:12.416 [1] DEBUG - Add pad MSHelpSystem.Controls.Help3SearchPad at Right, Hidden
09:26:12.416 [1] DEBUG - Add pad ICSharpCode.PackageManagement.Scripting.PackageManagementConsolePad at Bottom, Hidden
09:26:12.416 [1] DEBUG - Add pad ICSharpCode.Reports.Addin.ReportExplorerPad at Right, Hidden
09:26:12.416 [1] INFO - Starting workbench...
09:26:12.416 [1] DEBUG - NavigationService -- suspend logging
09:26:12.416 [1] INFO - Loading addin Start Page
09:26:12.446 [1] DEBUG - ActiveContentChanged to ICSharpCode.StartPage.StartPageViewContent
09:26:12.446 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Start Page]
09:26:12.446 [1] DEBUG - NavigationService
ActiveViewContent: Start Page
         Subview: TabPageText
09:26:12.446 [1] DEBUG - ActiveViewContentChanged to ICSharpCode.StartPage.StartPageViewContent
09:26:12.446 [1] DEBUG - NavigationService -- resume logging
09:26:12.446 [5] DEBUG - RecentProjectsControl: Looking up path 'C:\Users\Ramiro\Documents\SharpDevelop Projects\teste\teste.sln'
09:26:12.606 [1] INFO - Number of screens: 1
09:26:12.606 [1] INFO - Screen {X=0,Y=0,Width=1366,Height=768}: Validating {X=10,Y=10,Width=750,Height=550}; intersection {X=10,Y=10,Width=750,Height=550}
09:26:12.626 [1] INFO - dockingManager_Loaded
09:26:12.626 [1] INFO - Loading layout file: C:\Users\Ramiro\AppData\Roaming\ICSharpCode/SharpDevelop4\layouts\Default.xml, hideAllLostPads=False
09:26:12.636 [1] DEBUG - ActiveContentChanged to 
09:26:12.656 [1] ERROR - 
--> Exception:
System.InvalidOperationException: UIElement.Measure(availableSize) cannot be called with NaN size.
   at System.Windows.UIElement.Measure(Size availableSize)
   at AvalonDock.ResizingPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at AvalonDock.ResizingPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at AvalonDock.ResizingPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at AvalonDock.ResizingPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at AvalonDock.Pane.OnItemsChanged(NotifyCollectionChangedEventArgs e)
   at AvalonDock.DockablePane.OnItemsChanged(NotifyCollectionChangedEventArgs e)
   at System.Windows.Controls.ItemsControl.OnItemCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   at System.Windows.Controls.ItemCollection.System.Windows.IWeakEventListener.ReceiveWeakEvent(Type managerType, Object sender, EventArgs e)
   at System.Windows.WeakEventManager.DeliverEventToList(Object sender, EventArgs args, ListenerList list)
   at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
   at System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
   at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   at MS.Internal.Controls.InnerItemCollectionView._RemoveAt(Int32 index, Int32 indexR, Object item)
   at MS.Internal.Controls.InnerItemCollectionView.Remove(Object item)
   at System.Windows.Controls.ItemCollection.Remove(Object removeItem)
   at AvalonDock.Pane.RemoveContent(ManagedContent contentToRemove)
   at AvalonDock.Pane.RemoveContent(Int32 index)
   at AvalonDock.DockablePane.RemoveContent(Int32 index)
   at AvalonDock.ManagedContent.DetachFromContainerPane()
   at AvalonDock.DockingManager.Hide(DockableContent content)
   at AvalonDock.DockingManager.RestoreLayout(XmlDocument doc)
   at AvalonDock.DockingManager.RestoreLayout(String filename)
   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.LoadLayout(String fileName, Boolean hideAllLostPads)
   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.TryLoadConfiguration()
   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.LoadConfiguration()
09:26:12.656 [1] WARN - Stack trace of last exception log:
   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at ICSharpCode.Core.MessageService.ShowException(Exception ex, String message)
   at ICSharpCode.Core.MessageService.ShowException(Exception ex)
   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.LoadConfiguration()
   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.dockingManager_Loaded(Object sender, RoutedEventArgs e)
   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 System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   at MS.Internal.LoadedOrUnloadedOperation.DoWork()
   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   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(WindowMessage 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, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(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.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   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.Application.<RunInternal>b__f(Object obj)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, 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, Boolean ignoreSyncCtx)
   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, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(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.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at ICSharpCode.SharpDevelop.Commands.WorkbenchStartup.Run(IList`1 fileList)
   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)
   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbench(WorkbenchSettings settings)
   at ICSharpCode.SharpDevelop.Sda.SharpDevelopHost.RunWorkbench(WorkbenchSettings settings)
   at ICSharpCode.SharpDevelop.SharpDevelopMain.RunApplication()
   at ICSharpCode.SharpDevelop.SharpDevelopMain.Run()
   at ICSharpCode.SharpDevelop.SharpDevelopMain.Main(String[ args)
---- Post-error application state information:
Installed 3rd party AddIns: 
Workbench.ActiveContent: <null>
ProjectService.OpenSolution: <null>
ProjectService.CurrentProject: <null>

Viewing all articles
Browse latest Browse all 1764

Trending Articles