-
Bug
-
Resolution: Duplicate
-
P1
-
7
-
x86
-
windows_xp
To Reproduce:
Run SwingSet2, throws the NPE, stack trace is attached
D:\test-JDK\7-b97-PIT\demo\jfc\SwingSet2>..\..\..\bin\java -jar SwingSet2.jar
Exception in thread "main" java.lang.NullPointerException
at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.propertyChange(Basic
TabbedPaneUI.java:3530)
at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
port.java:327)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
port.java:263)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
port.java:283)
at java.awt.Component.firePropertyChange(Component.java:8347)
at javax.swing.JComponent.firePropertyChange(JComponent.java:4510)
at javax.swing.JTabbedPane.setTitleAt(JTabbedPane.java:1321)
at SwingSet2.setDemo(SwingSet2.java:720)
at SwingSet2.preloadFirstDemo(SwingSet2.java:672)
at SwingSet2.<init>(SwingSet2.java:208)
at SwingSet2.main(SwingSet2.java:229)
Run SwingSet2, throws the NPE, stack trace is attached
D:\test-JDK\7-b97-PIT\demo\jfc\SwingSet2>..\..\..\bin\java -jar SwingSet2.jar
Exception in thread "main" java.lang.NullPointerException
at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.propertyChange(Basic
TabbedPaneUI.java:3530)
at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
port.java:327)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
port.java:263)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
port.java:283)
at java.awt.Component.firePropertyChange(Component.java:8347)
at javax.swing.JComponent.firePropertyChange(JComponent.java:4510)
at javax.swing.JTabbedPane.setTitleAt(JTabbedPane.java:1321)
at SwingSet2.setDemo(SwingSet2.java:720)
at SwingSet2.preloadFirstDemo(SwingSet2.java:672)
at SwingSet2.<init>(SwingSet2.java:208)
at SwingSet2.main(SwingSet2.java:229)
- duplicates
-
JDK-6888130 SwingSet2: Demo is not launching and throwing NPE.
- Closed