IBM Support

PI85402: EclipseLink does not recognize Java 9 platform

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

  • Eclipse does not recognize Java version 9.0 as a valid Java
    Platform. EclipseLink is expecting Java 1.9 to signify a
    Java 9 platform.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty - Java Persistence API (JPA  *
    *                  2.1)                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: The default JPA 2.1 provider,           *
    *                      EclipseLink, does not recognize Java 9  *
    *                      as a valid Java Platform and throws a   *
    *                      NullPointerException                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    EclipseLink expects the JDK to have a version of 1.9 to signify
    Java 9, however some JDKs provide a version of 9.0, which
    EclipseLink does not expect. Under this situation, a
    NullPointerException may occur.
    
    The exception may look like the following:
    
    Caused by: java.lang.NullPointerException
            at
    org.eclipse.persistence.indirection.IndirectCollectionsFactory.g
    etProvider(IndirectCollectionsFactory.java:190)
            at
    org.eclipse.persistence.indirection.IndirectCollectionsFactory.<
    clinit>(IndirectCollectionsFactory.java:43)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI85402

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-08-02

  • Closed date

    2017-10-05

  • Last modified date

    2017-10-05

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • RCD0 PSY

       UP



Document information

More support for: WebSphere Application Server

Software version: CD0

Reference #: PI85402

Modified date: 05 October 2017


Translate this page: