Summary: | New Launch Configuration is not created for a Project on run. | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Guruprasad GV <ggv> |
Component: | Debug | Assignee: | Platform-Debug-Inbox <platform-debug-inbox> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | minor | ||
Priority: | P3 | CC: | Michael_Rennie |
Version: | 4.2 | Keywords: | usability |
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Guruprasad GV
2012-07-16 04:43:28 EDT
Using your steps I get the following exception: java.lang.NoClassDefFoundError: Caused by: java.lang.ClassNotFoundException: at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) This is because of the logic in our context runner when looking for matching configurations. We find the config with no resource mappings (the empty one) which implies it can apply to the current launch because (1) it is the same launch type (2) it applies to all resources (no mappings). This is working as designed for this launch type because a Java Application launch is always associated with resources in its non-error state, creating empty configurations and trying to launch with them is not supported. |