Jump to content

Portal Crashes On Startup

Portal Crash

1 reply to this topic

#1 Van Bloodsand

    Rookie

  • Bad Company
  • Bad Company
  • 3 posts

Posted 21 August 2018 - 06:31 PM

Bug Location: when launching the MWO Portal.

Steps to reproduce: Launch MWO portal, just that;

Reproduction rate: every time I try to launch MWo Portal

Bug Description: When starting thew MWO portal I'm getting an error message that reads: "Caught exception trying to do version check. Undefined object reference for object instance."
Followed by the error log:

Undefined object reference for object instance.
Stack Trace:
em System.Net.WebHeaderCollection.HeaderEncoding.GetString(Byte* pBytes, Int32 byteCount)
em System.Net.WebHeaderCollection.HeaderEncoding.GetString(Byte[] bytes, Int32 byteIndex, Int32 byteCount)
em System.Net.HttpWebRequest.UpdateHeaders()
em System.Net.HttpWebRequest.SubmitRequest(ServicePoint servicePoint)
em System.Net.HttpWebRequest.GetResponse()
em System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
em System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
em System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
em System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
em System.Threading.CompressedStack.runTryCode(Object userData)
em System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
em System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
em System.Xml.XmlTextReaderImpl.OpenUrl()
em System.Xml.XmlTextReaderImpl.Read()
em System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
em System.Xml.XmlDocument.Load(XmlReader reader)
em System.Xml.XmlDocument.Load(String filename)
em MWO_Portal.ViewModel.PortalViewModel.initialize_Task()
em MWO_Portal.ViewModel.PortalViewModel.<Initialize>b__90_0()
em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
em System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
em System.Windows.Threading.DispatcherOperation.InvokeImpl()
em System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
em System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
em MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
em System.Windows.Threading.DispatcherOperation.Invoke()
em System.Windows.Threading.Dispatcher.ProcessQueue()
em System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
em MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
em MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
em System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
em System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
em MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
em MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
em System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
em System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
em System.Windows.Application.RunDispatcher(Object ignore)
em System.Windows.Application.RunInternal(Window window)
em System.Windows.Application.Run(Window window)
em MWO_Portal.App.Main()

#2 Krist Smith

    Senior Engineer

  • Developer
  • Developer
  • 629 posts

Posted 22 August 2018 - 12:49 PM

View PostVan Bloodsand, on 21 August 2018 - 06:31 PM, said:

Bug Location: when launching the MWO Portal.

Steps to reproduce: Launch MWO portal, just that;

Reproduction rate: every time I try to launch MWo Portal

Bug Description: When starting thew MWO portal I'm getting an error message that reads: "Caught exception trying to do version check. Undefined object reference for object instance."
Followed by the error log:

Undefined object reference for object instance.
Stack Trace:
em System.Net.WebHeaderCollection.HeaderEncoding.GetString(Byte* pBytes, Int32 byteCount)
em System.Net.WebHeaderCollection.HeaderEncoding.GetString(Byte[] bytes, Int32 byteIndex, Int32 byteCount)
em System.Net.HttpWebRequest.UpdateHeaders()
em System.Net.HttpWebRequest.SubmitRequest(ServicePoint servicePoint)
em System.Net.HttpWebRequest.GetResponse()
em System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
em System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
em System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
em System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
em System.Threading.CompressedStack.runTryCode(Object userData)
em System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
em System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
em System.Xml.XmlTextReaderImpl.OpenUrl()
em System.Xml.XmlTextReaderImpl.Read()
em System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
em System.Xml.XmlDocument.Load(XmlReader reader)
em System.Xml.XmlDocument.Load(String filename)
em MWO_Portal.ViewModel.PortalViewModel.initialize_Task()
em MWO_Portal.ViewModel.PortalViewModel.<Initialize>b__90_0()
em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
em System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
em System.Windows.Threading.DispatcherOperation.InvokeImpl()
em System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
em System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
em MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
em System.Windows.Threading.DispatcherOperation.Invoke()
em System.Windows.Threading.Dispatcher.ProcessQueue()
em System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
em MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
em MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
em System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
em System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
em MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
em MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
em System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
em System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
em System.Windows.Application.RunDispatcher(Object ignore)
em System.Windows.Application.RunInternal(Window window)
em System.Windows.Application.Run(Window window)
em MWO_Portal.App.Main()


Hrm, I've done a look through the Portal code and I can't find a smoking gun yet. Just a couple of questions while I continue looking:
-Did you get the Portal update that was pushed out a couple of weeks ago (specifically Aug. 13th)?
-If you go to Apps & Features in Windows, and then select the MWO Portal, what version does it show? It should be 1.0.85.0
-Did you perhaps manually move your game to a different directory or drive?

Besides that, while I continue to investigate, I'll just offer the "top of my head" suggestions. First is the classic Roy maneuvre, "have you tried turning it off and on again?" (meaning reboot your computer). Another suggestion that might be of help is to try uninstalling the Portal (not the game, just the MWO Portal itself) and re-install it.

I'll let you know if I find anything else out.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users