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



Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Application Developer for WebSphere Software

Software version:

8.5

Reference #:

PM79094

Modified date:

2013-10-15

Translate my page

Machine Translation

Content navigation