Community
Participate
Working Groups
I'm getting this exception in a single debug session java.lang.ClassCastException: java.util.Collections$EmptyMap incompatible with java.lang.Number at org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi.CFObjectReference.<init>(CFObjectReference.java:81) at org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi.CFVariable.<init>(CFVariable.java:60) at org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi.CFStackFrame.parseLocals(CFStackFrame.java:113) at org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi.CFStackFrame.<init>(CFStackFrame.java:70) at org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi.CFThreadReference.frames(CFThreadReference.java:112) at org.eclipse.wst.jsdt.debug.internal.core.model.JavaScriptThread.getStackFrames(JavaScriptThread.java:298) at org.eclipse.wst.jsdt.debug.internal.core.model.JavaScriptThread.getTopStackFrame(JavaScriptThread.java:331) at org.eclipse.debug.internal.ui.contexts.LaunchSuspendTrigger.notifySuspend(LaunchSuspendTrigger.java:109) at org.eclipse.debug.internal.ui.contexts.LaunchSuspendTrigger.handleDebugEvents(LaunchSuspendTrigger.java:91) at org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1117) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1151) at org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:415) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Eclipse 3.7 JSDI, head version FF 7.0.1 Crossfire latest from source Frirebug 1.8.3 All default values for "Crossfire Remote Attach" and setting local project as well (any sample Static Web Project)
looks like it is caused by the Firebug bug: http://code.google.com/p/fbug/issues/detail?id=4635
Created attachment 206432 [details] exception guard The patch acts as a guard against the exception until the proper fix is applied to the Crossfire extension.
Marking fixed. There is no need to keep this bug open, a fix has been applied to Eclipse to prevent the Crossfire bug.