• CommentAuthorD. Saylor
    • CommentTimeAug 13th 2015 edited
     
    The following exception happens under the following conditions in our application:
    1) No map file is accessible.
    2) Go to the mapping screen, see the blank Telogis map control.
    3) Go to any other screen in our application
    4) Crash from Telogis.GeoBase.WPF.MapControl because of a null image. (see stack trace below)

    Our platform is WPF, in .NET 4.5. Geobase version is 4.6.0.0.

    System.ArgumentNullException was unhandled
    HResult=-2147467261
    Message=Value cannot be null.
    Parameter name: image
    ParamName=image
    Source=System.Drawing
    StackTrace:
    at System.Drawing.Graphics.FromImage(Image image)
    at Telogis.GeoBase.WPF.MapControl.cd671036f5c67b080229b5163073c8d18()
    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)
    at System.Windows.Threading.DispatcherOperation.InvokeImpl()
    at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(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 System.Windows.Application.Run()
    at MyMobile.App.Main() in C:\SVN\MyApp\MyMobile\obj\Debug\App.g.cs:line 0
    InnerException:
  1.  
    Hi D. Saylor,

    This is a known issue which we are currently working on to resolve. If you drop us an email at gbsupport@telogis.com, we will open a support case for you, and keep you updated on the progress of our investigation there.

    Thanks,

    April