Ticket #795 (new defect)

Opened 6 years ago

That annoying Java exception GLI gives out

Reported by: ak19 Owned by: nobody
Priority: moderate Milestone: 2.87 Release
Component: GLI Severity: major
Keywords: Cc:

Description

Dr Bainbridge has found a possible solution. He wrote:

I was just pondering our:

Exception in thread "AWT-EventQueue?-0" java.lang.NullPointerException?

...

type error message.

I'm wondering if we have the sort of issue that could be sorted out by using:

SwingUtilities?.invokeLater(...)

I had in particular focused on the article:

 http://stackoverflow.com/questions/2811795/java-swing-gui-exception-exception-in-thread-awt-eventqueue-0-java-util-nosuc

which has links back to the relevant Sun tutorials.

Could you please read up on this, and see if we think it is the cause of our issue? An example of the full exception we get in GLI is included below. If you think it's a quick fix to try out, please give it a whirl, otherwise let's discuss this in the lab later this afternoon.

Note: See TracTickets for help on using tickets.