bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/22862] [AWT] silly bug in Component.paramString()


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22862] [AWT] silly bug in Component.paramString()
Date: 16 Oct 2005 01:27:30 -0000

My Stacktrace:

Exception during event dispatch:
java.lang.NullPointerException
   at java.awt.Container.paramString (Container.java:1061)
   at javax.swing.JComponent.paramString (JComponent.java:1545)
   at java.awt.Component.toString (Component.java:4189)
   at java.lang.StringBuffer.append (StringBuffer.java:298)
   at javax.swing.JComponent.updateUI (JComponent.java:2223)
   at javax.swing.SwingUtilities.updateComponentTreeUI
(SwingUtilities.java:614)
   at javax.swing.SwingUtilities.updateComponentTreeUI
(SwingUtilities.java:610)
   at javax.swing.SwingUtilities.updateComponentTreeUI
(SwingUtilities.java:610)
   at uic.widgets.MainWindow$3.run (MainWindow.java:209)
   at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:191)
   at java.awt.EventQueue.dispatchEvent (EventQueue.java:507)
   at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)


Reading the paramString sourcecode (current classpath CVS) this is logical;  it
does a layoutMgr.getClass().getName() while it just checked several lines above
that this line will only be reached if said variable IS null.


------- Comment #1 from from-classpath at savannah dot gnu dot org  2005-02-10 
12:35 -------
Fixed in CVS.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22862





reply via email to

[Prev in Thread] Current Thread [Next in Thread]