Summary: | NPE importing binary projects | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | James Moody <James_Moody> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M6 | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
James Moody
2002-04-18 11:24:44 EDT
Autobuild was off at the time. After switching to the Java perspective, deleting the single project, and importing them all again, it worked fine. Offending line is: this.getJavaModel().getWorkspace().run(operation, monitor); which means that the JavaModel wouldn't be initialized at this point. Fixed by making getJavaModel() lazily allocate the model if not already existing. Also discarded getJavaModel(workspace). Fixed |