java.lang.ExceptionInInitializerError

Stack Overflow | jdevelop | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    jmockit, openJDK and UnsatisfiedLinkError

    Stack Overflow | 5 years ago | jdevelop
    java.lang.ExceptionInInitializerError
  2. 0

    mvn test fails on osx with IllegalStateException

    GitHub | 4 years ago | dangerousdaren
    java.lang.IllegalStateException: Native library for Attach API not available in this JRE
  3. 0

    Building Docs Don't Mention tools.jar Dependency

    GitHub | 3 years ago | MusikPolice
    java.lang.IllegalStateException: Native library for Attach API not available in this JRE
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsatisfiedLinkError

      sun.tools.attach.LinuxVirtualMachine.isLinuxThreads()Z

      at sun.tools.attach.LinuxVirtualMachine.isLinuxThreads()
    2. Java Tools
      LinuxVirtualMachine.<clinit>
      1. sun.tools.attach.LinuxVirtualMachine.isLinuxThreads(Native Method)
      2. sun.tools.attach.LinuxVirtualMachine.<clinit>(LinuxVirtualMachine.java:364)
      2 frames
    3. Main
      Startup.initializeIfPossible
      1. mockit.internal.startup.JDK6AgentLoader.getVirtualMachineImplementationFromEmbeddedOnes(JDK6AgentLoader.java:71)
      2. mockit.internal.startup.JDK6AgentLoader.loadAgent(JDK6AgentLoader.java:54)
      3. mockit.internal.startup.AgentInitialization.initializeAccordingToJDKVersion(AgentInitialization.java:21)
      4. mockit.internal.startup.Startup.initializeIfNeeded(Startup.java:200)
      5. mockit.internal.startup.Startup.initializeIfPossible(Startup.java:215)
      5 frames
    4. JUnit
      TestResult.<clinit>
      1. junit.framework.TestResult.<clinit>(TestResult.java:19)
      1 frame
    5. Apache Ant + JUnit
      JUnitTestRunner.main
      1. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:353)
      2. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
      3. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
      3 frames