IBM Support

PM42681: A NullPointerException can occur during JPA entity generation for BIGINT when create table in DB2 for iSeries

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When attempting to generate JPA entities from an DB2 for i5/OS
    table containing the BIGINT column type a NullPointerException
    is thrown in entity generation code:
    
    !ENTRY org.eclipse.jpt.ui 4 0 2011-05-12 10:58:16.038
    !MESSAGE
    !STACK 0
    java.lang.NullPointerException
        at
    org.eclipse.jpt.utility.internal.StringTools.removeAllWhitespace
    (StringTools.java:2558)
        at
    org.eclipse.jpt.utility.internal.ReflectionTools.buildTypeDeclar
    ation(ReflectionTools.java:1216)
        at
    org.eclipse.jpt.utility.internal.ReflectionTools.getClassNameFor
    TypeDeclaration(ReflectionTools.java:1355)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The Data type mapping from the BIGINT data type to LONG data
    type was missing in the model file.
    

Problem conclusion

  • The data type mapping has been added to correct this problem
    in Rational Application Developer v8.0.4.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM42681

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    802

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-29

  • Closed date

    2011-11-17

  • Last modified date

    2011-11-17

  • 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

  • R802 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 November 2011