commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bugs #11918] [AWT] silly bug in Component.paramString()


From: Thomas Zander
Subject: [commit-cp] [bugs #11918] [AWT] silly bug in Component.paramString()
Date: Thu, 10 Feb 2005 12:15:31 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) KHTML/3.3.91 (like Gecko)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11918>

                 Summary: [AWT] silly bug in Component.paramString()
                 Project: classpath
            Submitted by: zander
            Submitted on: Thu 02/10/2005 at 12:15
                Category: classpath
                Severity: 5 - Average
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

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.






    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11918>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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