- This topic has 33 replies, 10 voices, and was last updated 20 years ago by Riyad Kalla.
-
AuthorPosts
-
jimisolaMember@support-rkalla wrote:
Yep it was released soon after Scott’s post: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-4498.html
Great. One question, I’ve experienced some out of memory exception when I am debugging Java code (non J2EE activated project) and expanding Map variables. Could this be due to MyEclipse or should I file it at bugs.eclipse.org? I have not installed QF 2 for 3.8.2 yet.
Popup says: “com.sun.jdi.ObjectCollectedException occured while retrieving value”.
!ENTRY org.eclipse.debug.ui 4 120 Nov 05, 2004 18:52:26.290 !MESSAGE Error logged from Debug UI: !STACK 1 org.eclipse.debug.core.DebugException[5010]: com.sun.jdi.ObjectCollectedException at org.eclipse.jdi.internal.MirrorImpl.defaultReplyErrorHandler(MirrorImpl.java:240) at org.eclipse.jdi.internal.ArrayReferenceImpl.length(ArrayReferenceImpl.java:187) at org.eclipse.jdi.internal.ArrayReferenceImpl.getValues(ArrayReferenceImpl.java:78) at org.eclipse.jdi.internal.ArrayReferenceImpl.getValue(ArrayReferenceImpl.java:63) at org.eclipse.jdt.internal.debug.core.model.JDIArrayEntryVariable.retrieveValue(JDIArrayEntryVariable.java:62) at org.eclipse.jdt.internal.debug.core.model.JDIVariable.getCurrentValue(JDIVariable.java:67) at org.eclipse.jdt.internal.debug.core.model.JDIVariable.getValue(JDIVariable.java:89) at org.eclipse.debug.internal.ui.views.variables.VariablesView$5.run(VariablesView.java:1041) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2572) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2301) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688) !SUBENTRY 1 org.eclipse.jdt.debug 4 5010 Nov 05, 2004 18:52:26.291 !MESSAGE com.sun.jdi.ObjectCollectedException occurred while retrieving value. !STACK 0 com.sun.jdi.ObjectCollectedException at org.eclipse.jdi.internal.MirrorImpl.defaultReplyErrorHandler(MirrorImpl.java:240) at org.eclipse.jdi.internal.ArrayReferenceImpl.length(ArrayReferenceImpl.java:187) at org.eclipse.jdi.internal.ArrayReferenceImpl.getValues(ArrayReferenceImpl.java:78) at org.eclipse.jdi.internal.ArrayReferenceImpl.getValue(ArrayReferenceImpl.java:63) at org.eclipse.jdt.internal.debug.core.model.JDIArrayEntryVariable.retrieveValue(JDIArrayEntryVariable.java:62) at org.eclipse.jdt.internal.debug.core.model.JDIVariable.getCurrentValue(JDIVariable.java:67) at org.eclipse.jdt.internal.debug.core.model.JDIVariable.getValue(JDIVariable.java:89) at org.eclipse.debug.internal.ui.views.variables.VariablesView$5.run(VariablesView.java:1041) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2572) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2301) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688)
Riyad KallaMemberThese exceptions can occur during normal debugging, you can try and update the JDK you are using to see if it helps the problem, but they likely aren’t MyEclipse’s or Eclipse’s fault as sometimes the VM can collect a variable you are trying to debug as you are stepping through code so by the time the debugger tries to evaluate it, the variable is gone.
jimisolaMember@support-rkalla wrote:
These exceptions can occur during normal debugging, you can try and update the JDK you are using to see if it helps the problem, but they likely aren’t MyEclipse’s or Eclipse’s fault as sometimes the VM can collect a variable you are trying to debug as you are stepping through code so by the time the debugger tries to evaluate it, the variable is gone.
Thank you for your reply. The variable is not gone/out of scope – I know that for a fact. I even found a small work-around – that works sometimes. It is to switch from variables to breakpoints and then try again, usually it works after one or two tries.
Sounds as if I should file this to Eclipse.
Jimisola
Riyad KallaMemberYes, this is an Eclipse issue. Thank you for the followup for others however.
-
AuthorPosts