IBM Support

PI80586: IBM EXPLORER FOR Z/OS (ZEXPL) ZUNIT FAILS WITH NPE ON SUBMIT WHEN BIDI IS TURNED ON

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • IBM Explorer for z/OS - zExpl
    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.buildT
    estCase
        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 IDz), 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.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI80586

  • Reported component name

    EXP FOR Z/OS CL

  • Reported component ID

    5655EXP00

  • Reported release

    300

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-04-26

  • Closed date

    2017-05-24

  • Last modified date

    2017-05-24

  • 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

    EXP FOR Z/OS CL

  • Fixed component ID

    5655EXP00

Applicable component levels

  • R301 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSBDYH","label":"IBM Explorer for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.0.0","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
24 May 2017