IBM Support

IV68088: JAVA.LANG.NULLPOINTEREXCEPTION IN JAVA CONSOLE ONCE F10 IS PRESS ED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: Throwable occurred:
    java.lang.NullPointerExceptionat
    sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:104
    7)at
    sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:104
    3)at
    sun.awt.SunToolkit.getSystemEventQueueImpl(SunToolkit.java:1038)
    at java.awt.Toolkit.getEventQueue(Toolkit.java:1701)at
    java.awt.EventQueue.invokeLater(EventQueue.java:1053)at
    sun.awt.X11.XBaseMenuWindow.postEvent(XBaseMenuWindow.java:923)a
    t sun.awt.X11.XWindow.postEventToEventQueue(XWindow.java:399)at
    sun.awt.X11.XWindow.handleExposeEvent(XWindow.java:537)at
    sun.awt.X11.XWindow.handleExposeEvent(XWindow.java:529)at
    sun.awt.X11.XBaseWindow.dispatchEvent(XBaseWindow.java:1127)at
    sun.awt.X11.XBaseWindow.dispatchToWindow(XBaseWindow.java:1105)a
    t sun.awt.X11.XToolkit.dispatchEvent(XToolkit.java:435)at
    sun.awt.X11.XToolkit.run(XToolkit.java:569)at
    sun.awt.X11.XToolkit.run(XToolkit.java:465)at
    java.lang.Thread.run(Thread.java:761)
    .
    

Local fix

Problem summary

  • The Java console records a NullPointerException when events like
    F10 are triggered. This may cause hang in the Java console.
    

Problem conclusion

  • Problem arises due to not attaching an appropriate AppContext
    for the AWT Event. The problem is now resolved by attaching the
    appropriate AppContext based on the source component of the
    Event added.
    .
    This APAR will be fixed in the following Java Releases:
       6    SR16 FP4  (6.0.16.4)
       6 R1 SR8 FP4   (6.1.8.4)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV68088

  • 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

    2014-12-19

  • Closed date

    2015-04-08

  • Last modified date

    2015-04-08

  • 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

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
08 April 2015