IBM Support

IV26906: STRINGINDEXOUTOFBOUNDSEXCEPTION WHEN RUNNING THE SDK/BIN/JDMPVIE W TOOL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Exception in thread "main"
    java.lang.StringIndexOutOfBoundsException, seen when running the
    sdk/bin/jdmpview tool.
    .
    Stack Trace: Exception in thread "main"
    java.lang.StringIndexOutOfBoundsException
            at java.lang.String.charAt(String.java:549)
            at
    com.ibm.jvm.dtfjview.Session.parseCommandLineArgs(Session.java:3
    19)
            at
    com.ibm.jvm.dtfjview.Session.sessionInit(Session.java:152)
            at com.ibm.jvm.dtfjview.Session.<init>(Session.java:138)
            at
    com.ibm.jvm.dtfjview.DTFJView.launch(DTFJView.java:38)
            at com.ibm.jvm.dtfjview.DTFJView.main(DTFJView.java:33)
    .
    Occurs when passing in an empty string as a parameter to the
    tool, for example:
    sdk/bin/jdmpview -zip ""
    

Local fix

  • Correct the parameter, to provide a valid input filename.
    

Problem summary

  • Problem is caused when the unexpected empty string is passed in
    to the jdmpview tool.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR2
    6.0.1 SR3
    .
    The jdmpview tool has been fixed, with an extra check for an
    empty quoted string as input parameter. The tool will issue a
    normal error message rather than the exception.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV26906

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-23

  • Closed date

    2012-08-23

  • Last modified date

    2012-08-23

  • 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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R260 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022