IBM Support

PI80582: IBM RATIONAL DEVELOPER FOR Z SYSTEMS (RDZ/IDZ) ZUNIT FAILS WITH NPE ON SUBMIT WHEN BIDI IS TURNED ON

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • IBM Rational Developer for System z - RDz - v9.5.1
    IBM Developer for z Systems - IDz - v14
    
    Zunit fails with NPE on submit when BIDI is turned on
    
    Below is the stack trace found in the .log file:
    !ENTRY com.ibm.etools.zunit.ui 4 0 2017-04-04 15:02:42.453
    !MESSAGE
    !STACK 0
    java.lang.NullPointerException
    at com.ibm.etools.zos.subsystem.jes.JMMinerConnection.submit
    at com.ibm.ftt.jes.util.core.JesJobUtil.submit
    at com.ibm.etools.zunit.ui.operations.BuildProcess.
                                                  submitJCLFile
    at com.ibm.etools.zunit.ui.operations.BuildProcess.run
    at com.ibm.etools.zunit.ui.operations.
             BuildTestCaseOperation.buildTestCase
    at com.ibm.etools.zunit.ui.operations.
                                      BuildTestCaseOperation.run
    at org.eclipse.jface.operation.
                             ModalContext$ModalContextThread.run
    

Local fix

  • None available
    

Problem summary

  • With the BIDI preference turned on (in RDz), when the
    .JMMinerConnection.submit() API is used with a java.io.File that
     resides outside of an Eclipse project (in this case, under the
    workspace .metadata folder) an NPE is hit.
    

Problem conclusion

  • When BIDI is turned on, the java.io.File needs to be converted
    to an IFile (the Eclipse representation of a file) in order to
    be passed into the BIDI transformation API.  The APIs used to
    convert the File to an IFile result in null because they were
    not meant to be used for files that are not part of an Eclipse
    project.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for z Systems V9.5.1.6 Fix Pack which
    is available from the Recommended Fixes support download page:
    http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI80582

  • Reported component name

    DEV FOR Z SYS

  • Reported component ID

    5724T0700

  • Reported release

    951

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-04-26

  • Closed date

    2017-11-30

  • Last modified date

    2017-11-30

  • 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

    DEV FOR Z SYS

  • Fixed component ID

    5724T0700

Applicable component levels

  • R951 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 951

Reference #: PI80582

Modified date: 30 November 2017