java.lang.InternalError: Converter malfunction (Unicode) -- please submit a bug report via http://java.sun.com/cgi-bin/bugreport.cgi

java.com | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Bug ID: JDK-4929481 DOMParser.parse() cannot parse UTF-16 encoded source

    java.com | 8 months ago
    java.lang.InternalError: Converter malfunction (Unicode) -- please submit a bug report via http://java.sun.com/cgi-bin/bugreport.cgi
  2. 0

    Does there exist a surefire, cross platform way to reproduce a SIGBUS?

    Stack Overflow | 1 year ago | fge
    java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code
  3. 0

    This seems to fail with the stack trace similar to JDK-8155659, but this time it fails reliably when an external profiler, like Solaris Studio Perf Analyzer is attached to the process, and tests are loaded on bootclasspath. This blocks performance work. This simple test with attached profiler fails: $ perfanal ~/trunks/jdk9-dev/build/linux-x86_64-normal-server-release/images/jdk/bin/java -Xbootclasspath/a:. Test $ alias perfanal='~/Install/solstudio/bin/collect -o test.1.er -S on -j on -A on ' public class Test { public static void main(String... args) { for (int c = 0; c < 1000000; c++) { m(new Test()::run); } } static void m(Runnable r) { // do nothing } public void run() { // do nothing } } Exception in thread "main" java.lang.InternalError: java.lang.NullPointerException at java.lang.invoke.MethodHandles$LookupHelper.createClass(java.base@9-internal/MethodHandles.java:2204) at java.lang.invoke.MethodHandles$LookupHelper.access$200(java.base@9-internal/MethodHandles.java:2178) at java.lang.invoke.MethodHandles$LookupHelper$2.run(java.base@9-internal/MethodHandles.java:2212) at java.lang.invoke.MethodHandles$LookupHelper$2.run(java.base@9-internal/MethodHandles.java:2210) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at java.lang.invoke.MethodHandles$LookupHelper.<clinit>(java.base@9-internal/MethodHandles.java:2215) at java.lang.invoke.MethodHandles.publicLookup(java.base@9-internal/MethodHandles.java:140) at java.lang.invoke.MethodHandles$Lookup.canBeCached(java.base@9-internal/MethodHandles.java:2146) at java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(java.base@9-internal/MethodHandles.java:2111) at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(java.base@9-internal/MethodHandleNatives.java:499) at Test.main(Test.java:5) Caused by: java.lang.NullPointerException at java.lang.invoke.MethodHandles$Lookup.canBeCached(java.base@9-internal/MethodHandles.java:2147) at java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(java.base@9-internal/MethodHandles.java:2111) at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(java.base@9-internal/MethodHandleNatives.java:499) at jdk.internal.loader.BuiltinClassLoader.findResource(java.base@9-internal/BuiltinClassLoader.java:267) at jdk.internal.loader.BootLoader.findResource(java.base@9-internal/BootLoader.java:136) at java.lang.ClassLoader.getResource(java.base@9-internal/ClassLoader.java:1299) at java.lang.ClassLoader.defineClass1(java.base@9-internal/Native Method) at java.lang.ClassLoader.defineClass(java.base@9-internal/ClassLoader.java:942) at java.lang.ClassLoader.defineClass(java.base@9-internal/ClassLoader.java:806) at java.lang.invoke.MethodHandles$LookupHelper$1.findClass(java.base@9-internal/MethodHandles.java:2198) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:486) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419) at java.lang.invoke.MethodHandles$LookupHelper.createClass(java.base@9-internal/MethodHandles.java:2202) ... 10 more The circularity is caused by BuiltinClassLoader usage of lambdas. This particular instance happens when Main class links the lambdas, which initializes MH$LookupHelper when doing MH$Lookup.canBeCached. This leads to MH$LH.createClass, which doubles back on BuiltinClassLoader.findResource, which has lambdas, which goes back to MH$LookupHelper... and the circle is complete. The minimal patch that solves this particular circularity: http://cr.openjdk.java.net/~shade/8156930/poc.patch

    JDK Bug System | 10 months ago | Aleksey Shipilev
    java.lang.InternalError: java.lang.NullPointerException at java.lang.invoke.MethodHandles$LookupHelper.createClass(java.base@9-internal/MethodHandles.java:2204) at java.lang.invoke.MethodHandles$LookupHelper.access$200(java.base@9-internal/MethodHandles.java:2178) at java.lang.invoke.MethodHandles$LookupHelper$2.run(java.base@9-internal/MethodHandles.java:2212) at java.lang.invoke.MethodHandles$LookupHelper$2.run(java.base@9-internal/MethodHandles.java:2210) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at java.lang.invoke.MethodHandles$LookupHelper.<clinit>(java.base@9-internal/MethodHandles.java:2215) at java.lang.invoke.MethodHandles.publicLookup(java.base@9-internal/MethodHandles.java:140) at java.lang.invoke.MethodHandles$Lookup.canBeCached(java.base@9-internal/MethodHandles.java:2146) at java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(java.base@9-internal/MethodHandles.java:2111) at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(java.base@9-internal/MethodHandleNatives.java:499)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.InternalError

      Converter malfunction (Unicode) -- please submit a bug report via http://java.sun.com/cgi-bin/bugreport.cgi

      at sun.nio.cs.StreamDecoder$ConverterSD.malfunction()
    2. Java RT
      DOMParserImpl.parse
      1. sun.nio.cs.StreamDecoder$ConverterSD.malfunction(StreamDecoder.java:235)
      2. sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:251)
      3. sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:297)
      4. sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182)
      5. java.io.InputStreamReader.read(InputStreamReader.java:167)
      6. com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1643)
      7. com.sun.org.apache.xerces.internal.impl.XML11EntityScanner.skipString(XML11EntityScanner.java:1018)
      8. com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:188)
      9. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:188)
      10. com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.parse(DTDConfiguration.java:593)
      11. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
      12. com.sun.org.apache.xerces.internal.parsers.DOMParserImpl.parse(DOMParserImpl.java:755)
      12 frames
    3. Unknown
      Test.main
      1. Test.main(Test.java:26)
      1 frame