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

SwingSet NPE when invoking 'Windows Look & Feel' under 95

XMLWordPrintable

      Build : 'O'
      OS : 95 (GDI & DX6, NT[SP3] ok, Solaris n/applicable)
      app : SwingSet /usr/local/java/jdk1.2


      Get an NPE upon initiating 'Windows Look and feel' however asof 'O' it is inconsistent and having little difficulties but does produce NPE.

      Scenario best to repo the bug:
        1. launch SwingSet (DO NOT CLICK ON ANY OTHER ITEMS ON THE DESKTOP)
        2. with SwingSet up *never having lost focus* goto Options->Windows Look/Feel

      OR
        1. run few applets.
        2. launch SwingSet.
        3. execute Options->Windows Look/Feel

        - At this point, you should get an NPE. It's more like 80% of the time.
      Caveat to this bug:

      NPE dump:
      Exception occurred during event dispatching:
      java.lang.NullPointerException
        at javax.swing.text.ComponentView.setComponentParent(Compiled Code)
        at javax.swing.text.ComponentView$1.run(ComponentView.java:267)
        at javax.swing.SystemEventQueueUtilities.processRunnableEvent(Compiled Code)
        at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Compiled Code)
        at java.awt.Component.dispatchEventImpl(Compiled Code)
        at java.awt.Component.dispatchEvent(Compiled Code)
        at java.awt.EventQueue.dispatchEvent(Compiled Code)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)Exception occurred during event dispatching:java.lang.NullPointerException
        at javax.swing.text.ComponentView.setComponentParent(Compiled Code)
        at javax.swing.text.ComponentView$1.run(ComponentView.java:267)
        at javax.swing.SystemEventQueueUtilities.processRunnableEvent(Compiled Code)
        at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Compiled Code)
        at java.awt.Component.dispatchEventImpl(Compiled Code)
        at java.awt.Component.dispatchEvent(Compiled Code)
        at java.awt.EventQueue.dispatchEvent(Compiled Code)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)

            tprinzing Tim Prinzing (Inactive)
            rckim Robert Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: