Community
Participate
Working Groups
Build Identifier: 20110301-1815 I have set a Breakpoint in an org.eclipse.emf.mwe.core.WorkflowComponent. When the Debugger hits the Breakpoint the Debug-Perspective is activated but then a NullpointerException occurs. The Exception is not thrown when eclipse is started from the pde. In this case the debugging works as expected. ---- Error log details eclipse.buildId=M20110210-1200 java.version=1.6.0_19 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product -clean Error Wed Mar 16 16:43:44 CET 2011 An internal error occurred during: "Model Proxy installed notification job". java.lang.NullPointerException at org.eclipse.debug.internal.ui.viewers.update.DebugTargetProxy.getNextSuspendedThreadDelta(DebugTargetProxy.java:118) at org.eclipse.debug.internal.ui.viewers.update.DebugTargetProxy.installed(DebugTargetProxy.java:79) at org.eclipse.debug.internal.ui.viewers.model.ModelContentProvider$13.run(ModelContentProvider.java:1226) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Reproducible: Always Steps to Reproduce: 1. Plugin with a org.eclipse.emf.mwe.core.WorkflowComponent 2. Breakpoint set in the component implementation 3. debug as mwe workflow
Just to confirm, are using the Java debugger or some other debugger (the 'mwe' debugger you mentioned in comment #0)? I am curious because from the stacktrace it looks like the backing debug target is returning an array of threads with a null entry.
(In reply to comment #1) > Just to confirm, are using the Java debugger or some other debugger (the 'mwe' > debugger you mentioned in comment #0)? > > I am curious because from the stacktrace it looks like the backing debug target > is returning an array of threads with a null entry. yes, I am using the java debugger. The class that I am trying to debug is an implementation of a WorkflowComponent interface which comes from the emf project. I start the workflow by using the debug MWE Workflow Command provided by the emf project. I am not sure if it is a generla debugger problem or a problem for the modeling project.
(In reply to comment #2) > > I start the workflow by using the debug MWE Workflow Command provided by the > emf project. What kind of launch configuration is used with the "debug MWE Workflow Command"? Can you attach a screen shot of the debug session that causes the exception? > > I am not sure if it is a generla debugger problem or a problem for the modeling > project. The is sounding like a problem with EMF and their MWE debugger
Created attachment 191438 [details] debug config main
Created attachment 191439 [details] debug config common
Created attachment 191440 [details] debug config classpath
Created attachment 191441 [details] debug config args
(In reply to comment #3) > (In reply to comment #2) > > > > I start the workflow by using the debug MWE Workflow Command provided by the > > emf project. > > What kind of launch configuration is used with the "debug MWE Workflow > Command"? Can you attach a screen shot of the debug session that causes the > exception? > > > > > I am not sure if it is a generla debugger problem or a problem for the modeling > > project. > > The is sounding like a problem with EMF and their MWE debugger Attached screen shots of my debug config