Summary: | Appletlauncher: NPE when the project is closed | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | demeester_roel |
Version: | 2.0 | ||
Target Milestone: | 2.0 M6 | ||
Hardware: | Other | ||
OS: | other | ||
Whiteboard: |
Description
Olivier Thomann
2002-05-08 11:35:05 EDT
Using the latest version, I cannot reproduce the NPE. I simply get an error after the launch saying the Main type doesn't exist. I cannot get rid of this error. One of the reasons is that I am checking before invoking the appletlauncher that the "main type" is a subclass of java.applet.Applet. In order to do this, I use the Java model underneath (org.eclipse.jdt.core plugin). But the model cannot retrieve types in a closed project. So I am afraid I cannot improve this behavior. Which build did you use to get a NPE? I added a protection against the NPE, but you cannot expect to be able to run code, which belongs to a close project. The underneath Java model doesn't contain any information about types, methods, etc. contained in such a project. The code will be released after the next integration build (Tuesday's next week). |