- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
  P2                     
     - 
    6u18, 7
 
- 
        b03
 - 
        generic, x86
 - 
        generic, windows_xp
 - 
        Verified
 
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-2194022 | 7 | Alexander Potochkin | P2 | Resolved | Fixed | b97 | 
                    I was trying to launch the swingset2 demo using 6u18-b03 pit build.However, demo is not launching and throwing NPE.
I have seen this issue on all paltforms like windows vista,linux and solaris.
JDK HOME
========
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b01)
Java HotSpot(TM) Client VM (build 16.0-b09, mixed mode)
Steps to reproduce the issue
============================
1. Launch the swingset2 demo using 6u18-b03 pit build.
Error Details
==============
Exception in thread "main" java.lang.NullPointerException
at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.propertyChange(Basic
TabbedPaneUI.java:3515)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
port.java:339)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
port.java:276)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
port.java:297)
at java.awt.Component.firePropertyChange(Component.java:8168)
at javax.swing.JComponent.firePropertyChange(JComponent.java:4456)
at javax.swing.JTabbedPane.setTitleAt(JTabbedPane.java:1300)
at SwingSet2.setDemo(SwingSet2.java:715)
at SwingSet2.preloadFirstDemo(SwingSet2.java:667)
at SwingSet2.<init>(SwingSet2.java:209)
at SwingSet2.main(SwingSet2.java:230)
            
I have seen this issue on all paltforms like windows vista,linux and solaris.
JDK HOME
========
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b01)
Java HotSpot(TM) Client VM (build 16.0-b09, mixed mode)
Steps to reproduce the issue
============================
1. Launch the swingset2 demo using 6u18-b03 pit build.
Error Details
==============
Exception in thread "main" java.lang.NullPointerException
at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.propertyChange(Basic
TabbedPaneUI.java:3515)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
port.java:339)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
port.java:276)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
port.java:297)
at java.awt.Component.firePropertyChange(Component.java:8168)
at javax.swing.JComponent.firePropertyChange(JComponent.java:4456)
at javax.swing.JTabbedPane.setTitleAt(JTabbedPane.java:1300)
at SwingSet2.setDemo(SwingSet2.java:715)
at SwingSet2.preloadFirstDemo(SwingSet2.java:667)
at SwingSet2.<init>(SwingSet2.java:209)
at SwingSet2.main(SwingSet2.java:230)
- backported by
 - 
                    
JDK-2194022 SwingSet2: Demo is not launching and throwing NPE.
-         
     - Resolved
 
 -         
 
- duplicates
 - 
                    
JDK-6958902 Regression: NPE - Could not launch SwingSet2 with JDk7 - b97 - PIT build
-         
     - Closed
 
 -         
 
- relates to
 - 
                    
JDK-6670274 Incorrect tab titles for JTabbedPane if using HTML (BasicTabbedPanelUI problem)
-         
     - Closed
 
 -