IBM Support

PM07843: NullPointerExceptions because validators do not run until comple tion in headless mode

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Product:
    
    Rational Application Developer 7.5.4
    Rational Software Architect for WebSphere 7.5.4
    
    Problem description:
    
    When running ANT tasks via runAnt.bat, and executing an ANT scri
    pt that invokes tasks like:
    workspaceBuild
    projectBuild
    projectSetBuild
    it is possible to observe NullPointerExceptions in the workspace
     .log, as a result of the fact that validation jobs have not bee
    n able to complete execution before the workbench shuts down.
    

Local fix

Problem summary

  • When Ant task are invoked which perform any type of build
    then all validation tasks will occur in a background job
    (thread).  As a result the ant task execution continues on
    to the next task while the background validation is still
    running.  If there are no additional tasks then the Ant
    launcher terminates and may leave the workspace in a bad
    state as a result of the validators being forcefully
    stopped.
    

Problem conclusion

  • The Ant launcher will now wait indefinitely for all
    background jobs to complete before terminating.  All build
    tasks will also wait for any validation jobs to finish
    before the task is complete.  The fix for this APAR is
    currently targeted for inclusion in Rational Application
    Developer fixpack V7.5.5.1.  Refer to the follow recommended
    fixes page for information about this fixpack:
    http://www.ibm.com/support/docview.wss?uid=swg27007823
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM07843

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    754

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-17

  • Closed date

    2010-04-01

  • Last modified date

    2010-04-01

  • 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

  • R754 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":"7.5.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
01 April 2010