Summary: | newNotPresentException when reconciling CU in a non-java project | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | daniel_megert, devel |
Version: | 3.1 | ||
Target Milestone: | 3.2 M2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Markus Keller
2005-07-20 09:35:46 EDT
Java model operations inside non-Java projects are not supported. Moving to JDT Text for comment *** Bug 106828 has been marked as a duplicate of this bug. *** reconcile(...) works during typing but when the file is opened the JME is thrown. This is the same behavior as in 3.0 but in 3.1 we made the editor's reconciler more stable so that it does not crash but logs the exception. Since the reconciler works during typing I suggest to handle save and open as well. Problem happened when the working copy was consistent and force problem detection was on. Changed ReconcileWorkingCopyOperation to not compute problems if the project doesn't have the Java nature in this case. Added regression test WorkingCopyNoInClasspathTests#testReconcileSimpleProject2() Verified in I20050920-0010 for 3.2M2 |