nsk.share.Failure: Unexpected exception during test execution: java.lang.InternalError: instrument library is missing in target VM

JDK Bug System | Joseph Provino | 8 months 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

    The change for JDK-8164913 was backed out due to failing a large number of tests. We should look at doing this change properly in JDK 10. [2016-09-10T04:36:57.67] VirtualMachine.loadAgent(null) [2016-09-10T04:36:57.67] TargetApp (stderr): Error opening zip file or JAR manifest missing: [2016-09-10T04:36:57.68] TargetApp (stdout): Signal received: 'null' [2016-09-10T04:36:57.69] Exception in thread "main" nsk.share.Failure: Unexpected exception during test execution: java.lang.InternalError: instrument library is missing in target VM [2016-09-10T04:36:57.69] at nsk.share.aod.AODTestRunner.runTest(AODTestRunner.java:144) [2016-09-10T04:36:57.69] at nsk.aod.VirtualMachine.VirtualMachine01.VirtualMachine01.main(VirtualMachine01.java:133) [2016-09-10T04:36:57.69] Caused by: java.lang.InternalError: instrument library is missing in target VM [2016-09-10T04:36:57.69] at sun.tools.attach.HotSpotVirtualMachine.loadAgent(jdk.attach@9-internal/HotSpotVirtualMachine.java:107) [2016-09-10T04:36:57.69] at com.sun.tools.attach.VirtualMachine.loadAgent(jdk.attach@9-internal/VirtualMachine.java:539) [2016-09-10T04:36:57.69] at nsk.aod.VirtualMachine.VirtualMachine01.VirtualMachine01.doTestActions(VirtualMachine01.java:69) [2016-09-10T04:36:57.69] at nsk.share.aod.AODTestRunner.runTest(AODTestRunner.java:120) [2016-09-10T04:36:57.69] ... 1 more [2016-09-10T04:36:57.69] Caused by: com.sun.tools.attach.AgentLoadException: Failed to load agent library [2016-09-10T04:36:57.69] at sun.tools.attach.VirtualMachineImpl.execute(jdk.attach@9-internal/VirtualMachineImpl.java:214) [2016-09-10T04:36:57.69] at sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(jdk.attach@9-internal/HotSpotVirtualMachine.java:60) [2016-09-10T04:36:57.69] at sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(jdk.attach@9-internal/HotSpotVirtualMachine.java:81) [2016-09-10T04:36:57.69] at sun.tools.attach.HotSpotVirtualMachine.loadAgent(jdk.attach@9-internal/HotSpotVirtualMachine.java:105)

    JDK Bug System | 8 months ago | Joseph Provino
    nsk.share.Failure: Unexpected exception during test execution: java.lang.InternalError: instrument library is missing in target VM

    Root Cause Analysis

    1. java.lang.InternalError

      instrument library is missing in target VM at sun.tools.attach.HotSpotVirtualMachine.loadAgent(jdk.attach@9-internal/HotSpotVirtualMachine.java:107) at com.sun.tools.attach.VirtualMachine.loadAgent(jdk.attach@9-internal/VirtualMachine.java:539)

      at nsk.aod.VirtualMachine.VirtualMachine01.VirtualMachine01.doTestActions()
    2. nsk.aod.VirtualMachine
      VirtualMachine01.doTestActions
      1. nsk.aod.VirtualMachine.VirtualMachine01.VirtualMachine01.doTestActions(VirtualMachine01.java:69)
      1 frame
    3. nsk.share.aod
      AODTestRunner.runTest
      1. nsk.share.aod.AODTestRunner.runTest(AODTestRunner.java:120)
      1 frame
    4. nsk.aod.VirtualMachine
      VirtualMachine01.main
      1. nsk.aod.VirtualMachine.VirtualMachine01.VirtualMachine01.main(VirtualMachine01.java:133)
      1 frame