IBM Support

PM79094: Running Prepare for Deployment might result in a NullPointerException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempt to run Prepare for Deployment might result in a
    NullPointerException.
    
    Problem:
    
    1. File ? New, EJB ? EJB Project, EJB module version 2.0,
    specify name test. Click Finish
    2. File ? New, Java ? Source Folder, specify name ejbdeploy
    4. File ? New, EJB ? Enterprise Bean (1.x-2.x), select CMP,
    press Finish
    5. Select project test, open JavaEE ? Prepare for deployment
    6. Delete everything generated within ejbModule except
    ejbModule\META-INF\ibm_ejbext.properties
    7. Select project test, open Project Properties, property page
    EJB Deployment folder ejbdeploy
    8. Select project test, open JavaEE ? Prepare for deployment
    Result:
    NullPointerException
    !MESSAGE Problem with WAS EJB Deploy:
    !STACK 0
    java.lang.NullPointerException
        at
    com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.generateEjbEx
    tensionPropertyFile(EJBDeployOperation.java:2304)
        at
    com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doRun(EJBDepl
    oyOperation.java:1624)
        at
    com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.run(EJBDeploy
    Operation.java:1492)
    
    Local fix:
    
    Delete the file ibm_ejbext.properties within the source folder
    ejbModule and continue
    

Local fix

Problem summary

  • EJB Deploy was looking to an incorrect file path when creating
    properties files for the backend.
    

Problem conclusion

  • The path to the backend properties file was corrected.
    The fix for this APAR is included in Rational Application
    Developer v8.5.5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM79094

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-12-13

  • 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

[{"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.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2013