| Summary: | "java.lang.IllegalArgumentException: can not calculate a model ID without a document reference" | ||
|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | ltx71cm |
| Component: | wst.sse | Assignee: | wst.sse <wst.sse-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Nitin Dahyabhai <thatnitind> |
| Severity: | normal | ||
| Priority: | P3 | CC: | nsand.dev, v.r.sankar |
| Version: | 3.2.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
ltx71cm
Looks like something that would happen if the job was still running after the model had been released. I think the problem is there in SemanticHighlightingReconciler line 243
241 public void setDocument(IDocument document) {
242 fDocument = document;
243 refresh();
244 }
There is a call to setDocument(null) during DocumentRegionProcessor.uninstall()
In this case refresh shouldn't be called...
(In reply to comment #2) > I think the problem is there in SemanticHighlightingReconciler line 243 > 241 public void setDocument(IDocument document) { > 242 fDocument = document; > 243 refresh(); > 244 } > > There is a call to setDocument(null) during DocumentRegionProcessor.uninstall() > In this case refresh shouldn't be called... As of Helios SR1, refresh() is no longer called. If your source is showing that you have refresh() called please make sure that you have the plug-in org.eclipse.wst.sse.ui with the qualifier greater than or equal to v201008102046. Okay. I was using 3.6 *** This bug has been marked as a duplicate of bug 332418 *** |