IBM Support

PH29289: IDZ V14.2.3 - ZUNIT TEST CASE GENERATOR THROWS JAVA EXCEPTION JAVA.UTIL.NOSUCHELEMENTEXCEPTION

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

  • While generating zUnit test case in IBM Developer for z/OS, the
    generator throws the following java exception
    java.util.NoSuchElementException --
    
    !ENTRY com.ibm.etools.zunit.ui 4 0 2020-08-25 18:02:15.741
    !MESSAGE
    !STACK 0
    java.util.NoSuchElementException
     at java.util.LinkedList.removeFirst(Unknown Source)
     at java.util.LinkedList.remove(Unknown Source)
     at
    com.ibm.etools.zunit.batch.processing.BPWrapper.processParameter
    Spec(Unknown Source)
     at
    com.ibm.etools.zunit.batch.processing.BPWrapper.processSqlStatem
    ent(Unknown Source)
     at
    com.ibm.etools.zunit.batch.processing.BPWrapper.processSqlStatem
    entGroup(Unknown Source)
     at
    com.ibm.etools.zunit.batch.processing.BPWrapper.processSqlStatem
    entGroupArray(Unknown Source)
     at
    com.ibm.etools.zunit.batch.processing.ZUnitConfigProcess.initInt
    erfaceForImportingTestData(Unknown Source)
     at
    com.ibm.etools.zunit.batch.processing.ZUnitConfigProcess.importT
    estData(Unknown Source)
     at
    com.ibm.etools.zunit.batch.processing.ZUnitOperationProcess.runF
    orImportingTestData(Unknown Source)
     at
    com.ibm.etools.zunit.ui.operations.GenerateTestCaseOperation.imp
    ortTestData(Unknown Source)
     at
    com.ibm.etools.zunit.ui.operations.GenerateTestCaseOperation.cre
    ateTestCase(Unknown Source)
     at
    com.ibm.etools.zunit.ui.operations.GenerateTestCaseOperation.run
    (Unknown Source)
     at
    org.eclipse.jface.operation.ModalContext$ModalContextThread.run(
    Unknown Source)
    

Local fix

Problem summary

  • This problem occurs when indicator is specified in VALUE of EXEC
     SQL INSERT statement.
    

Problem conclusion

  • zUnit has been corrected so that indicator of output parameters
    would be handled correctly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH29289

  • Reported component name

    DEV FOR Z/OS

  • Reported component ID

    5724T0700

  • Reported release

    E20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-09-10

  • Closed date

    2020-12-04

  • Last modified date

    2020-12-04

  • 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/OS

  • Fixed component ID

    5724T0700

Applicable component levels

[{"Line of Business":{"code":"LOB17","label":"Mainframe TPS"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSQ2R2","label":"Rational Developer for z Systems"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E20"}]

Document Information

Modified date:
05 December 2020