Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8195088

[TEST_BUG] StartManagementAgent got unexpected exception

    XMLWordPrintable

Details

    Backports

      Description

        Testsuite name: jdk/test com/sun/tools/attach
        Test name(s): StartManagementAgent
        Product(s) tested: JDK 8u172 b01
        OS/architecture: Linux x64, Windows x64, Mac OS (x64)
        Reproducible: Always
        Is it a Regression: Yes, not reproducible in 8u151b12

        Exception/Error from Log:

        com.sun.tools.attach.AttachOperationFailedException: java.lang.RuntimeException: sun.management.AgentConfigurationError: java.lang.NumberFormatException: For input string: "apa"

        at sun.tools.attach.WindowsVirtualMachine.execute(WindowsVirtualMachine.java:117)
        at sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:261)
        at sun.tools.attach.HotSpotVirtualMachine.executeJCmd(HotSpotVirtualMachine.java:243)
        at sun.tools.attach.HotSpotVirtualMachine.startManagementAgent(HotSpotVirtualMachine.java:191)
        at StartManagementAgent.basicTests(StartManagementAgent.java:92)
        at StartManagementAgent.runTests(StartManagementAgent.java:111)
        at StartManagementAgent.main(StartManagementAgent.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        at java.lang.Thread.run(Thread.java:748)
        com.sun.tools.attach.AttachOperationFailedException: java.lang.RuntimeException: sun.management.AgentConfigurationError: java.lang.NumberFormatException: For input string: "apa"

        at sun.tools.attach.WindowsVirtualMachine.execute(WindowsVirtualMachine.java:117)
        at sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:261)
        at sun.tools.attach.HotSpotVirtualMachine.executeJCmd(HotSpotVirtualMachine.java:243)
        at sun.tools.attach.HotSpotVirtualMachine.startManagementAgent(HotSpotVirtualMachine.java:191)
        at StartManagementAgent.basicTests(StartManagementAgent.java:92)
        at StartManagementAgent.runTests(StartManagementAgent.java:111)
        at StartManagementAgent.main(StartManagementAgent.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        at java.lang.Thread.run(Thread.java:748)

        JavaTest Message: Test threw exception: com.sun.tools.attach.AttachOperationFailedException: java.lang.RuntimeException: sun.management.AgentConfigurationError: java.lang.NumberFormatException: For input string: "apa"

        Attachments

          Issue Links

            Activity

              People

                rsunderbabu Ramkumar Sunderbabu
                rsunderbabu Ramkumar Sunderbabu
                Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: