Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6888130

SwingSet2: Demo is not launching and throwing NPE.

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      generic, x86
    • OS:
      generic, windows_xp
    • Verification:
      Verified

      Backports

        Description

        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)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alexp Alexander Potochkin (Inactive)
                  Reporter:
                  vthotasunw Vinay Thota (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: