Community
Participate
Working Groups
Created attachment 287965 [details] screenshot1 during debuging i sometimes i only see "com.sun.jdi.ObjectCollectedException occurred while retrieving value" or "dealocated" in Expressions view. The expression contained array and stream processing. Arrays.stream(trees).map(et->et.toString()).collect(Collectors.joining(""+(char)10)) Was already fixed for variables view in bug 537399
Created attachment 287966 [details] Screenshot 2: dealocated.png
Created attachment 287967 [details] Screenshot3 when expanding a node in the view When expanding a node in the view the whole View sometimes goes berserk - not shown a list anymore (screenshot 3)
Same failure in tests: https://download.eclipse.org/eclipse/downloads/drops4/I20220523-1800/testresults/html/org.eclipse.jdt.debug.tests_ep424I-unit-win32-java11_win32.win32.x86_64_11.html testListLogicalStructure & testMapLogicalStructure Error com.sun.jdi.ObjectCollectedException occurred retrieving type org.eclipse.debug.core.DebugException: com.sun.jdi.ObjectCollectedException occurred retrieving type at org.eclipse.jdt.internal.debug.core.model.JDIDebugElement.throwDebugException(JDIDebugElement.java:263) at org.eclipse.jdt.internal.debug.core.model.JDIDebugElement.requestFailed(JDIDebugElement.java:202) at org.eclipse.jdt.internal.debug.core.model.JDIDebugElement.targetRequestFailed(JDIDebugElement.java:182) at org.eclipse.jdt.internal.debug.core.model.JDIValue.getUnderlyingType(JDIValue.java:459) at org.eclipse.jdt.internal.debug.core.model.JDIValue.getJavaType(JDIValue.java:441) at org.eclipse.jdt.debug.tests.variables.TestLogicalStructures.testListLogicalStructure(TestLogicalStructures.java:70) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:2670) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at junit.framework.TestSuite.runTest(TestSuite.java:241) at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:61) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: com.sun.jdi.ObjectCollectedException at org.eclipse.jdi.internal.MirrorImpl.defaultReplyErrorHandler(MirrorImpl.java:282) at org.eclipse.jdi.internal.ObjectReferenceImpl.referenceType(ObjectReferenceImpl.java:531) at org.eclipse.jdi.internal.ObjectReferenceImpl.type(ObjectReferenceImpl.java:548) at org.eclipse.jdt.internal.debug.core.model.JDIValue.getUnderlyingType(JDIValue.java:457) ... 18 more
https://download.eclipse.org/eclipse/downloads/drops4/I20220525-1800/testresults/html/org.eclipse.jdt.debug.tests_ep424I-unit-win32-java11_win32.win32.x86_64_11.html