[2013-06-05 14:42:23:732] Error|ClrObjectRuntime.CreateInstance => XamlTypeInvoker.CreateInstance => MainWindow..ctor System.NullReferenceException: Object reference not set to an instance of an object. at JMMClient.MainWindow..ctor() in C:\Projects\SVN\JMM\trunk\JMMClient\JMMClient\MainWindow.xaml.cs:line 115 [2013-06-05 14:42:23:841] Fatal|UnhandledExceptionManager.UnhandledExceptionHandler => UnhandledExceptionManager.GenericExceptionHandler => UnhandledExceptionManager.ExceptionToFile (Inner Exception) Date and Time: 6/5/2013 2:42:23 PM Machine Name: IP Address: 192.168.1.186 Current User: Application Domain: JMMDesktop.exe Assembly Codebase: file:///C:/Program Files (x86)/OtakuMM/JMM Desktop/JMMDesktop.exe Assembly Full Name: JMMDesktop, Version=3.1.28.0, Culture=neutral, PublicKeyToken=c59d437d72a058a3 Assembly Version: 3.1.28.0 Assembly Build Date: 1/8/2013 6:27:50 PM Exception Source: PresentationFramework Exception Type: System.InvalidOperationException Exception Message: Cannot have nested BeginInit calls on the same instance. Exception Target Site: BeginInit ---- Stack Trace ---- System.Windows.FrameworkElement.BeginInit() JMMDesktop.exe: N 16857582 MS.Internal.Xaml.Runtime.ClrObjectRuntime.InitializationGuard(xamlType As XamlType, obj As Object, begin As Boolean) JMMDesktop.exe: N 00090 (Outer Exception) Date and Time: 6/5/2013 2:42:23 PM Machine Name: IP Address: 192.168.1.186 Current User: Application Domain: JMMDesktop.exe Assembly Codebase: file:///C:/Program Files (x86)/OtakuMM/JMM Desktop/JMMDesktop.exe Assembly Full Name: JMMDesktop, Version=3.1.28.0, Culture=neutral, PublicKeyToken=c59d437d72a058a3 Assembly Version: 3.1.28.0 Assembly Build Date: 1/8/2013 6:27:50 PM Exception Source: PresentationFramework Exception Type: System.Windows.Markup.XamlParseException Exception Message: 'Initialization of 'JMMClient.MainWindow' threw an exception.' Line number '7' and line position '9'. Exception Target Site: Load ---- Stack Trace ---- System.Windows.Markup.WpfXamlLoader.Load(xamlReader As XamlReader, writerFactory As IXamlObjectWriterFactory, skipJournaledProperties As Boolean, rootObject As Object, settings As XamlObjectWriterSettings, baseUri As Uri) JMMDesktop.exe: N 16911574 System.Windows.Markup.WpfXamlLoader.LoadBaml(xamlReader As XamlReader, skipJournaledProperties As Boolean, rootObject As Object, accessLevel As XamlAccessLevel, baseUri As Uri) JMMDesktop.exe: N 00111 System.Windows.Markup.XamlReader.LoadBaml(stream As Stream, parserContext As ParserContext, parent As Object, closeStream As Boolean) JMMDesktop.exe: N 00778 System.Windows.Application.LoadBamlStreamWithSyncInfo(stream As Stream, pc As ParserContext) JMMDesktop.exe: N 00270 System.Windows.Application.DoStartup() JMMDesktop.exe: N 00245 System.Windows.Application.<.ctor>b__1(unused As Object) JMMDesktop.exe: N 00104 System.Windows.Threading.ExceptionWrapper.InternalRealCall(callback As Delegate, args As Object, numArgs As Int32) JMMDesktop.exe: N 00090 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(source As Object, method As Delegate, args As Object, numArgs As Int32, catchHandler As Delegate) JMMDesktop.exe: N 00071 System.Windows.Threading.Dispatcher.WrappedInvoke(callback As Delegate, args As Object, numArgs As Int32, catchHandler As Delegate) JMMDesktop.exe: N 00093 System.Windows.Threading.DispatcherOperation.InvokeImpl() JMMDesktop.exe: N 00177 System.Threading.ExecutionContext.runTryCode(userData As Object) JMMDesktop.exe: N 00376 System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(code As TryCode, backoutCode As CleanupCode, userData As Object) JMMDesktop.exe: N 00000 System.Threading.ExecutionContext.Run(executionContext As ExecutionContext, callback As ContextCallback, state As Object, ignoreSyncCtx As Boolean) JMMDesktop.exe: N 00161 System.Threading.ExecutionContext.Run(executionContext As ExecutionContext, callback As ContextCallback, state As Object) JMMDesktop.exe: N 00059 System.Windows.Threading.DispatcherOperation.Invoke() JMMDesktop.exe: N 00109 System.Windows.Threading.Dispatcher.ProcessQueue() JMMDesktop.exe: N 00639 System.Windows.Threading.Dispatcher.WndProcHook(hwnd As IntPtr, msg As Int32, wParam As IntPtr, lParam As IntPtr, handled As Boolean&) JMMDesktop.exe: N 00179 MS.Win32.HwndWrapper.WndProc(hwnd As IntPtr, msg As Int32, wParam As IntPtr, lParam As IntPtr, handled As Boolean&) JMMDesktop.exe: N 00317 MS.Win32.HwndSubclass.DispatcherCallbackOperation(o As Object) JMMDesktop.exe: N 00151 System.Windows.Threading.ExceptionWrapper.InternalRealCall(callback As Delegate, args As Object, numArgs As Int32) JMMDesktop.exe: N 00090 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(source As Object, method As Delegate, args As Object, numArgs As Int32, catchHandler As Delegate) JMMDesktop.exe: N 00071 System.Windows.Threading.Dispatcher.WrappedInvoke(callback As Delegate, args As Object, numArgs As Int32, catchHandler As Delegate) JMMDesktop.exe: N 00093 System.Windows.Threading.Dispatcher.InvokeImpl(priority As DispatcherPriority, timeout As TimeSpan, method As Delegate, args As Object, numArgs As Int32) JMMDesktop.exe: N 00210 MS.Win32.HwndSubclass.SubclassWndProc(hwnd As IntPtr, msg As Int32, wParam As IntPtr, lParam As IntPtr) JMMDesktop.exe: N 00356 MS.Win32.UnsafeNativeMethods.DispatchMessage(msg As MSG&) JMMDesktop.exe: N 00000 System.Windows.Threading.Dispatcher.PushFrameImpl(frame As DispatcherFrame) JMMDesktop.exe: N 00314 System.Windows.Application.RunInternal(window As Window) JMMDesktop.exe: N 00303 System.Windows.Application.Run() JMMDesktop.exe: N 00187 JMMClient.App.Main() App.g.cs: line 0000, col 00, IL 0014