IV03623: NULLPOINTEREXCEPTION WHEN CALLING SETENABLED ON JCOMBOBOX

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: The partial stacktrace is as follows:
    java.lang.NullPointerException
    
    at
    javax.swing.LayoutComparator.compare(LayoutComparator.java:136)
    at
    java.util.Collections.indexedBinarySearch(Collections.java:337)
    at java.util.Collections.binarySearch(Collections.java:325)
    at
    javax.swing.SortingFocusTraversalPolicy.getComponentAfter(Sortin
    gFocusTraversalPolicy.java:302)
    at javax.swing.LayoutFocusTraversalPolicy.getComponentAfter
    (LayoutFocusTraversalPolicy.java:118)
    at java.awt.Component.nextFocusHelper(Component.java:6759
    etc...
    .
    

Local fix

Problem summary

  • When the sub-components is not be part of current focus cycle
    under iteration, it search with parent component in place for
    that particular focus cycle.However, the validation to check
    whether the parent is null does not exist and it result in a
    null pointer exception.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR13
    .
    The JDK is modified to add the required validation for null
    parent before doing the search.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV03623

  • Reported component name

    JAVA 5 CLASS LI

  • Reported component ID

    620500130

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-07-26

  • Closed date

    2011-09-23

  • Last modified date

    2011-09-23

  • 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 5 CLASS LI

  • Fixed component ID

    620500130

Applicable component levels

  • R500 PSN

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Runtimes for Java Technology
Java Class Libraries

Software version:

5.0

Reference #:

IV03623

Modified date:

2011-09-23

Translate my page

Machine Translation

Content navigation