java.lang.NoSuchMethodError: sun.io.ByteToCharEUC_CN.getIndex1()[S

Oracle Community | 843797 | 1 decade ago
  1. 0

    sun.io.ByteToCharEUC_CN.getIndex1() Exception

    Oracle Community | 1 decade ago | 843797
    java.lang.NoSuchMethodError: sun.io.ByteToCharEUC_CN.getIndex1()[S
  2. 0

    JDK 1.4's charset bug for solaris env

    Oracle Community | 1 decade ago | 843798
    java.lang.NoSuchMethodError: sun.io.ByteToCharEUC_CN. getIndex1()[S
  3. 0
    I was using the library hibernate-entitymanager:4.3.5.Final with java persistence API 2.0 instead of using it with hibernate-entitymanager:4.2.8.Final.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      sun.io.ByteToCharEUC_CN.getIndex1()[S

      at sun.nio.cs.ext.EUC_CN$Decoder.<init>()
    2. sun.nio.cs
      EUC_CN.newDecoder
      1. sun.nio.cs.ext.EUC_CN$Decoder.<init>(EUC_CN.java:50)
      2. sun.nio.cs.ext.EUC_CN.newDecoder(EUC_CN.java:38)
      2 frames
    3. Java RT
      String.<init>
      1. java.lang.StringCoding$CharsetSD.<init>(StringCoding.java:164)
      2. java.lang.StringCoding$CharsetSD.<init>(StringCoding.java:155)
      3. java.lang.StringCoding.decode(StringCoding.java:211)
      4. java.lang.String.<init>(String.java:327)
      5. java.lang.String.<init>(String.java:356)
      5 frames