Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328438

Summary: NPE when trying to start MWE workflow
Product: [Modeling] EMFT Reporter: Ludwig Straub <shadowrobe>
Component: MWEAssignee: Project Inbox <emft-mwe-inbox>
Status: NEW --- QA Contact:
Severity: minor    
Priority: P3 CC: an.mayer
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ludwig Straub CLA 2010-10-22 04:15:28 EDT
Build Identifier: 20100917-0705

Sometimes after eclipse startup or after a refresh of the workspace, when startung a MWE workflow, the following NPE occurs:

'Launching XXXXX' has encountered a problem.
An internal error occuren during "Launching XXXXX".

Details:
An internal error occured during: "Launching XXXXX".
  java.lang.NUllpointerException

Exception stack trace (error log; since rather short, I add it to this comment):
java.lang.NullPointerException
at org.eclipse.debug.internal.ui.DebugUIPlugin.launchInBackground(DebugUIPlugin.java:1160)
at org.eclipse.debug.ui.DebugUITools.launch(DebugUITools.java:551)
at org.eclipse.emf.mwe.internal.ui.eclipse.launch.MWELaunchDelegate.launch(MWELaunchDelegate.java:143)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:923)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1126)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


Session data:
eclipse.buildId=M20100909-0800
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.modeling.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.modeling.product

Workaround:
try to start the workflow again. then in most cases it will run.

Reproducible: Sometimes

Steps to Reproduce:
1. refresh workspace or restart eclipse
2. run mwe workflow