JDK-8152985 : nsk/jdi tests fail with unexpected com.sun.jdi.InvocationException
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_11
  • CPU: sparc
  • Submitted: 2016-03-29
  • Updated: 2016-04-11
  • Resolved: 2016-04-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
nsk/jdi/ObjectReference/invokeMethod/invokemethod008 fails in hs nightly with the following:

[2016-03-29T04:16:22.17] # ERROR: TEST FAILED: ObjectReference.invokeMethod(): caught unexpected com.sun.jdi.InvocationException: Exception occurred in target VM
[2016-03-29T04:16:22.17] # ERROR: 	when attempted to invoke the method "longMeth (J)J"
[2016-03-29T04:16:22.17] # ERROR: 	got from reference type "class nsk.jdi.ObjectReference.invokeMethod.invokemethod008tDummySuperClass (loaded by instance of jdk.internal.loader.ClassLoaders$AppClassLoader(id=202))"
[2016-03-29T04:16:22.17] # ERROR: 	with the arguments: [9223372036854775807]"
[2016-03-29T04:16:22.17] # ERROR: 	using the debuggee object reference "instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod008tDummyClass(id=204)"
[2016-03-29T04:16:22.18] # Test level exit status: 97


nsk/jdi/VoidValue/toString/tostring001 fails in hs nightly with the following:

[2016-03-29T04:18:06.95] # ERROR: debugger FAILURE > Unexpected com.sun.jdi.InvocationException: Exception occurred in target VM when invoking debuggee's method: MvY
[2016-03-29T04:18:06.97] # Test level exit status: 97
Comments
Removed integration_blocker label since closed as duplicate. (Duplicates are not blockers.)
11-04-2016

I closed this bug as a dup of: https://bugs.openjdk.java.net/browse/JDK-8152586 The symptom is same as in the bug JDK-8152586.
07-04-2016

It is possible the JDK-8152686 has the same root cause. It has to be proven first and then this bug can be closed as dup of the JDK-8152686. At this point, I was not able to reproduce this yet in 100 runs.
31-03-2016