Details
-
Bug
-
Resolution: Fixed
-
P3
-
8u172
-
b01
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8239167 | openjdk8u252 | Severin Gehwolf | P3 | Resolved | Fixed | b03 |
JDK-8235892 | openjdk8u242 | Severin Gehwolf | P3 | Resolved | Fixed | b05 |
JDK-8235024 | emb-8u241 | Vaibhav Choudhary | P3 | Resolved | Fixed | team |
Description
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
- backported by
-
JDK-8235024 [TEST_BUG] StartManagementAgent got unexpected exception
- Resolved
-
JDK-8235892 [TEST_BUG] StartManagementAgent got unexpected exception
- Resolved
-
JDK-8239167 [TEST_BUG] StartManagementAgent got unexpected exception
- Resolved
- is blocked by
-
JDK-8165736 Error message should be shown when JVMTI agent cannot be attached
- Resolved
- relates to
-
JDK-8179700 Exceptions thrown in StartManagementAgent.java
- Resolved
-
JDK-8187801 Improve diagnostics in sun.management.Agent#startAgent()
- Resolved
-
JDK-8188865 Better error messages when starting JMX agent via attach or jcmd
- Resolved