Exception when opening Studio 7.0.1

Bug reports.
wunderlich
Posts: 1
Joined: Tue Jun 27, 2017 8:35 am

Exception when opening Studio 7.0.1

Post by wunderlich » Tue Jun 27, 2017 8:45 am

From one of our developers:

On Windows 10

"When opening Ranorex and loading the data I get this exception. Reinstalling not changing anything, I can't use Ranorex"

Code: Select all

Fehlermeldung: 
System.NullReferenceException: Object reference not set to an instance of an object.
---STACKTRACE---
System.NullReferenceException: Object reference not set to an instance of an object.
  ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.get_WorkbenchWindows() +0x0
  ICSharpCode.SharpDevelop.Gui.WpfWorkbench.get_WorkbenchWindowCollection() +0xd
  ICSharpCode.SharpDevelop.Gui.WpfWorkbench.OnClosing(CancelEventArgs e) +0x4f
  System.Windows.Window.WmClose() +0x30
  System.Windows.Window.WindowFilterMessage(IntPtr hwnd,Int32 msg,IntPtr wParam,IntPtr lParam,Boolean& handled) +0xb0
  System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd,Int32 msg,IntPtr wParam,IntPtr lParam,Boolean& handled) +0x2e
  MS.Win32.HwndWrapper.WndProc(IntPtr hwnd,Int32 msg,IntPtr wParam,IntPtr lParam,Boolean& handled) +0x30
  MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) +0x36
  System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback,Object args,Int32 numArgs) +0x77
  System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source,Delegate callback,Object args,Int32 numArgs,Delegate catchHandler) +0x2

---ORIGINAL STACKTRACE---
System.NullReferenceException: Object reference not set to an instance of an object.
   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.get_WorkbenchWindows()
   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.get_WorkbenchWindowCollection()
   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.OnClosing(CancelEventArgs e)
   at System.Windows.Window.WmClose()
   at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
What to do? Are there more logs that might help? Couldn't find any.

The rest of us dont get this kind of exception on startup, usually we get them while working with studio but we can restart and its fine again.

qwertzu
Posts: 179
Joined: Wed Jan 25, 2017 11:08 am

Re: Exception when opening Studio 7.0.1

Post by qwertzu » Thu Jun 29, 2017 9:14 am

Hi wunderlich,
"When opening Ranorex and loading the data I get this exception. Reinstalling not changing anything, I can't use Ranorex
What data are you exactly trying to load?
Are you able to start/run other projects on your machine?

regards,
qwertzu