IV16908: NULLPOINTEREXCEPTION (NPE) WITH NIMBUS LOOK AND FEEL WHILE OPENI NG FILE CHOOSER WINDOW

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: The failure can be observed with System Tray or
    other file chooser Windows applications.
    .
    Stack Trace: Exception in thread "AWT-EventQueue-0"
    java.lang.NullPointerException
            at
    sun.swing.plaf.synth.SynthFileChooserUIImpl.installStrings(Synth
    FileChooserUIImpl.java:490)
            at
    javax.swing.plaf.basic.BasicFileChooserUI.installDefaults(BasicF
    ileChooserUI.java:229)
            at
    sun.swing.plaf.synth.SynthFileChooserUI.installDefaults(SynthFil
    eChooserUI.java:191)
            at
    javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileCho
    oserUI.java:144)
            at
    sun.swing.plaf.synth.SynthFileChooserUI.installUI(SynthFileChoos
    erUI.java:134)
            at javax.swing.JComponent.setUI(JComponent.java:673)
            at
    javax.swing.JFileChooser.updateUI(JFileChooser.java:1774)
            at javax.swing.JFileChooser.setup(JFileChooser.java:371)
            at
    javax.swing.JFileChooser.<init>(JFileChooser.java:344)
            at
    javax.swing.JFileChooser.<init>(JFileChooser.java:297)
            at
    FileChooserDemo.createFileChooser(FileChooserDemo.java:149)
            at
    FileChooserDemo$2.actionPerformed(FileChooserDemo.java:168)
            at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.ja
    va:2006)
            at
    javax.swing.AbstractButton$Handler.actionPerformed(AbstractButto
    n.java:2329)
            at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButton
    Model.java:398)
            at
    javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.jav
    a:253)
            at
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicBu
    ttonListener.java:247)
            at
    java.awt.Component.processMouseEvent(Component.java:6299)
            at
    javax.swing.JComponent.processMouseEvent(JComponent.java:3278)
            at java.awt.Component.processEvent(Component.java:6064)
            at java.awt.Container.processEvent(Container.java:2052)
            at
    java.awt.Component.dispatchEventImpl(Component.java:4662)
            at
    java.awt.Container.dispatchEventImpl(Container.java:2110)
            at java.awt.Component.dispatchEvent(Component.java:4492)
            at
    java.awt.LightweightDispatcher.retargetMouseEvent(Container.java
    :4588)
            at
    java.awt.LightweightDispatcher.processMouseEvent(Container.java:
    4249)
            at
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:4179
    )
            at
    java.awt.Container.dispatchEventImpl(Container.java:2096)
            at java.awt.Window.dispatchEventImpl(Window.java:2490)
            at java.awt.Component.dispatchEvent(Component.java:4492)
            at
    java.awt.EventQueue.dispatchEventImpl(EventQueue.java:654)
            at java.awt.EventQueue.access$000(EventQueue.java:95)
            at java.awt.EventQueue$1.run(EventQueue.java:613)
            at java.awt.EventQueue$1.run(EventQueue.java:611)
            at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:224)
            at
    com.ibm.oti.security.CheckedAccessControlContext.securityCheck(C
    heckedAccessControlContext.java:30)
            at
    com.ibm.oti.security.CheckedAccessControlContext.securityCheck(C
    heckedAccessControlContext.java:34)
            at
    sun.misc.JavaSecurityAccessWrapper.doIntersectionPrivilege(JavaS
    ecurityAccessWrapper.java:46)
            at java.awt.EventQueue$2.run(EventQueue.java:627)
            at java.awt.EventQueue$2.run(EventQueue.java:625)
            at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:224)
            at
    com.ibm.oti.security.CheckedAccessControlContext.securityCheck(C
    heckedAccessControlContext.java:30)
            at
    sun.misc.JavaSecurityAccessWrapper.doIntersectionPrivilege(JavaS
    ecurityAccessWrapper.java:41)
            at
    java.awt.EventQueue.dispatchEvent(EventQueue.java:624)
            at
    java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatc
    hThread.java:280)
            at
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchTh
    read.java:195)
            at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatc
    hThread.java:185)
            at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java
    :180)
            at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java
    :172)
            at
    java.awt.EventDispatchThread.run(EventDispatchThread.java:133)
    .
    Similar issue is not seen with other look and feels like
    Metal,Motif and system L&F.
    

Local fix

  • Change look and feel of Java user interface if your application
    provides the option.
    

Problem summary

  • The problem was caused as some key value pairs were missing in
    synth.properties file.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR10 FP1
    6.0.1 SR2
    .
    The JVM is updated to add the missing key value pairs into the
    properties file.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV16908

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-12

  • Closed date

    2012-03-12

  • Last modified date

    2012-06-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Runtimes for Java Technology
Java Class Libraries

Software version:

6.0

Reference #:

IV16908

Modified date:

2012-06-01

Translate my page

Machine Translation

Content navigation