IBM Support

IV72568: API/JAVA_NIO/CHARSET/CHARSET/INDEX.HTML#METHODS FAILS WITH JAVA.LANG.NOCLASSDEFFOUNDERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.NoClassDefFoundError:
    sun.nio.cs.ext.IBM930
    .
    Stack Trace: java.lang.NoClassDefFoundError:
    sun.nio.cs.ext.IBM930at com.ibm.oti.vm.VM.findClassOrNull(Native
    Method)at com.ibm.oti.vm.BootstrapClassLoader.loadClass(Unknown
    Source)at java.lang.Class.forNameImpl(Native Method)at
    java.lang.Class.forName(Unknown Source)at
    sun.nio.cs.AbstractCharsetProvider.lookup(Unknown Source)at
    sun.nio.cs.AbstractCharsetProvider.access$000(Unknown Source)at
    sun.nio.cs.AbstractCharsetProvider$1.next(Unknown Source)at
    sun.nio.cs.AbstractCharsetProvider$1.next(Unknown Source)at
    java.nio.charset.Charset.put(Unknown Source)at
    java.nio.charset.Charset.access$200(Unknown Source)at
    java.nio.charset.Charset$3.run(Unknown Source)at
    java.nio.charset.Charset$3.run(Unknown Source)at
    java.security.AccessController.doPrivileged(Unknown Source)at
    java.nio.charset.Charset.availableCharsets(Unknown Source)at
    javasoft.sqe.tests.api.java.nio.charset.Charset.MethodsTests.Cha
    rset0013(MethodsTests.java:600)
    .
    

Local fix

Problem summary

  • api/java_nio/charset/Charset/index.html#Methods fails with
    java.lang.NoClassDefFoundError
    

Problem conclusion

  • After some further investigation, I found that in charsets.jar,
    there is still one EBCDIC charset: IBM1377 which depends on
    sun.nio.cs.ext.DBCS_IBM_EBCDIC_Decoder which SFJ has already
    removed.To solve this problem, we need to remove the IBM1377
    charset as well so that make sure there is no EBCDIC charsets
    any more.
    .
    This APAR will be fixed in the following Java Releases:
       7 R1 SR3       (7.1.3.0)
       8    SR1       (8.0.1.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV72568

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-22

  • Closed date

    2015-04-22

  • Last modified date

    2015-04-22

  • 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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R700 PSY

       UP

  • R800 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":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022