PM83902: Attempts to generate JPA entities from an DB2 for i5/OS table containing the BIGINT column type result in an NPE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to generate JPA entities from an DB2 for iSeries V5R3
    table containing the BIGINT column type result in a
    java.lang.NullPointerExcepton.
    
    Problem:
    
    Attempts to generate JPA entities from an DB2 for iSeries V5R3
    table containing the BIGINT column type using the 'JPA Tools' -?
    'Generate Entities from Tables' wizard result in the following
    exception:
    java.lang.NullPointerExcepton
    at
    org.eclipse.jpt.utility.internal.StringTools.removeAllWhitespace
    (Unknown
    Source)
    
    at
    org.eclipse.jpt.utility.internal.ReflectionTools.buildTypeDeclar
    ation(Unknown
    Source)
    at
    org.eclipse.jpt.utility.internal.ReflectionTools.getClassNameFor
    TypeDeclaration(Unknown
    Source)
    at
    org.eclipse.jpt.db.internal.DTPColumnWrapper.getJavaType(Unknown
    Source)
    .....
    NOTE: This is DB2 for iSeries V5R3 specific issue.
    
    Local fix:
    
    There is no known workaround at this time.
    

Local fix

Problem summary

  • Attempts to generate JPA entities from an DB2 for i5/OS table
    containing the BIGINT column type result in a
    java.lang.NullPointerExcepton.
    

Problem conclusion

  • The problem has been fixed by modifying the DB2 for i5/OS model
    file.
    The fix for this APAR is included in Rational Application
    Developer v8.5.5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM83902

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    851

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-28

  • Closed date

    2013-10-15

  • Last modified date

    2013-10-15

  • 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

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R900 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Application Developer for WebSphere Software

Software version:

8.5.1

Reference #:

PM83902

Modified date:

2013-10-15

Translate my page

Machine Translation

Content navigation