IBM Support

PK72606: ECLIPSE JDT COMPILER OPTIONS RETRIEVED DURING THE WORKSPACEBUILD ANT TASK MAY BE NULL SO SHOULD NOT BE SAVED DURING CLEANUP

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The WorkspaceBuild J2EE Ant task retrieves 3 JDT (Java compiler)
    options which may be disabled with a value of 'null'.
    The Ant task changes these values depending on the
    DebugCompilation attribute value and then reverts them
    to their original value on clean-up.
    If the original value is 'null' then they should not be saved in
    the underlying Hashtable that the Eclipse JDT uses to store the
    values.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of WebSphere Application Server   *
    *                  Toolkit v6.1.1 and Rational Application     *
    *                  Developer v7.0                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException may happen       *
    *                      when using the WorkspaceBuild Java 2    *
    *                      Platform Enterprise Edition (J2EE)      *
    *                      Ant task                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following NullPointerException may happen during execution
    of the WorkspaceBuild J2EE Ant Task:
    
    java.lang.NullPointerException
     at java.util.Hashtable.put(Hashtable.java:632)
     at
    com.ibm.etools.ant.extras.WorkspaceBuild.restoreDebugOptions(Wor
    kspaceBuild.java:155)
     at
    com.ibm.etools.ant.extras.WorkspaceBuild.execute(WorkspaceBuild.
    java:94)
    
    The underlying Java compiler uses a Hashtable to store the
    preferences.  In this scenario we are attempting to store a
    'null' value into this Hashtable which results in the
    NullPointerException.
    

Problem conclusion

  • A null check has been added to ensure that 'null' values are
    not added to the Java compilers hashtable of options.
    
    The fix for this APAR is currently targeted for inclusion in
    the WebSphere Application Server Toolkit fixpack 6.1.1.8. and
    Rational Application Developer fixpack 7.0.0.8.  Please refer
    to the following Recommended Updates page for WebSphere
    Application Server Toolkit delivery information:
    http://www.ibm.com/support/docview.wss?uid=swg27004980
    and the following Recommended Updates page for Rational
    Application Developer delivery information:
    http://www.ibm.com/support/docview.wss?uid=swg27007823
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK72606

  • Reported component name

    WEBAPP SERVER A

  • Reported component ID

    5724J0820

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-09-23

  • Closed date

    2008-09-25

  • Last modified date

    2008-09-25

  • 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

    WEBAPP SERVER A

  • Fixed component ID

    5724J0820

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC7L5H","label":"Application Server Toolkit (AST)"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
25 September 2008