question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Opening 2D plot generates an "unhandled UI exception"error then a crash

See original GitHub issue

Description

Tried to open a 2D plot in a separate window. Got the Unhandled UI exception error message (info copied below) then clicked on to continue and EDDiscovery crashed.

Additional Information

Exception Details:

EDDiscovery v10.0.0.0 There was an unhandled UI exception.

==== BEGIN ====
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'OxyPlot.WindowsForms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=245eacd6b5d2d338' or one of its dependencies. The system cannot find the file specified.
  at EDDiscovery.UserControls.UserControlPlot.InitializeComponent()
  at EDDiscovery.UserControls.UserControlPlot..ctor() in C:\Code\EDDiscovery\EDDiscovery\UserControls\UserControlPlot.cs:line 50
  --- End of inner exception stack trace ---
  at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
  at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
  at System.Activator.CreateInstance(Type type, Boolean nonPublic)
  at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
  at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
  at System.Activator.CreateInstance(Type type, Object[] args)
  at EDDiscovery.Forms.PanelInformation.Create(PanelIDs p) in C:\Code\EDDiscovery\EDDiscovery\PanelAndPopOuts.cs:line 213
  at EDDiscovery.Forms.PopOutControl.PopOut(PanelIDs selected) in C:\Code\EDDiscovery\EDDiscovery\PanelAndPopOuts.cs:line 296
  at System.Windows.Forms.Control.OnClick(EventArgs e)
  at System.Windows.Forms.Button.OnClick(EventArgs e)
  at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ButtonBase.WndProc(Message& m)
  at System.Windows.Forms.Button.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
===== END =====

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
klightspeedcommented, May 9, 2018

Looks like those 2 DLLs might not have been included in the installer.

0reactions
robbyxp1commented, May 10, 2018

Yep, my conclusion… going to do a new version today to fix another bug, i will include!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Opening the "settings://" protocol causes the WinUI3 ...
However, when I try to open the protocol using the Run window with "settings://", it crashes. The error message: Exception thrown: 'System.
Read more >
Winforms app still crashes after unhandled exception handler
ThreadException only handles exceptions on the Winforms UI thread. The exception never got to the UI thread, so this event doesn't fire.
Read more >
"Unhandled exception has occurred in a component in ...
Accessing a command that changes the user interface, such as producing a palette (External References, Layer, Properties, etc.)
Read more >
Problems Repaired for Version 6.2
Trying to open 2 plans at once for a dataset with gates will cause the plotter to crash.
Read more >
Archived: TestStand 4.2.x Known Issues
This document contains the TestStand 4.2.x known issues that were discovered before and since the release of TestStand 4.2.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found