This discussion is archived
4 Replies Latest reply: Aug 6, 2013 5:45 AM by b47e2c2a-172c-4c7a-b72b-6f4f4fccf858 RSS

Java 7 update 25 breaks exsisting code

987842 Newbie
Currently Being Moderated

Hi

 

I have an applet that seems runs fine till Java 7 update 21. I just updated to Java 7 update 25 and now it no longer works. I am sorry I cant provide more information and I still trying to figure out what triggering the issue. Here is part of stack trace.

 

Exception in thread "Thread-17"

(2013/06/20-12:19:00): 62: STDERR: java.lang.NullPointerException

(2013/06/20-12:19:00): 62: STDERR: at sun.awt.SunToolkit.getSystemEventQueueImplPP(Java)

(2013/06/20-12:19:00): 62: STDERR: at sun.awt.SunToolkit.getSystemEventQueueImplPP(Unknown Source)

(2013/06/20-12:19:00): 62: STDERR: at sun.awt.SunToolkit.getSystemEventQueueImpl(Unknown Source)

(2013/06/20-12:19:00): 62: STDERR: at java.awt.Toolkit.getEventQueue(Unknown Source)

(2013/06/20-12:19:00): 62: STDERR: at java.awt.EventQueue.isDispatchThread(Unknown Source)

(2013/06/20-12:19:00): 62: STDERR: at java.awt.EventQueue.invokeAndWait(Unknown Source)

(2013/06/20-12:19:00): 62: STDERR: at java.awt.EventQueue.invokeAndWait(Unknown Source)

(2013/06/20-12:19:00): 62: STDERR: at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)

 

Here is part of the stack trace when I try another way.

 

STDERR: Exception in thread "Thread-16"

(2013/06/20-14:32:03): 61: STDERR: java.lang.NullPointerException

(2013/06/20-14:32:03): 61: STDERR: at javax.swing.plaf.metal.MetalLookAndFeel.getCurrentTheme(Unknown Source)

(2013/06/20-14:32:03): 61: STDERR: at javax.swing.plaf.metal.MetalLookAndFeel.usingOcean(Unknown Source)

(2013/06/20-14:32:03): 61: STDERR: at javax.swing.plaf.metal.MetalBorders$ToolBarBorder.getBorderInsets(Unknown Source)

(2013/06/20-14:32:03): 61: STDERR: at javax.swing.border.AbstractBorder.getBorderInsets(Unknown Source)

(2013/06/20-14:32:03): 61: STDERR: at javax.swing.JComponent.getInsets(Unknown Source)

(2013/06/20-14:32:03): 61: STDERR: at java.awt.BorderLayout.minimumLayoutSize(Unknown Source)

(2013/06/20-14:32:03): 61: STDERR: at java.awt.Container.minimumSize(Unknown Source)

(2013/06/20-14:32:03): 61: STDERR: at java.awt.Container.getMinimumSize(Unknown Source)

(2013/06/20-14:32:03): 61: STDERR: at javax.swing.JComponent.getMinimumSize(Unknown Source)

(2013/06/20-14:32:03): 61: STDERR: at java.awt.BorderLayout.minimumLayoutSize(Unknown Source)

 

Any suggestions on how to debug this issue.

 

Thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points