Community
Participate
Working Groups
What steps will reproduce the problem? 1. Unknown -- Error Details -- Date: Mon Dec 13 03:51:07 CST 2010 Message: can not calculate a model ID without a document reference Severity: Error Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.php.product) Plugin: org.eclipse.wst.sse.core Session Data: eclipse.buildId=M20100909-0800 java.version=1.6.0_20 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: -product org.eclipse.epp.package.php.product Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.php.product Exception Stack Trace: java.lang.IllegalArgumentException: can not calculate a model ID without a document reference at org.eclipse.wst.sse.core.internal.FileBufferModelManager.calculateId(FileBufferModelManager.java:402) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._getModelFor(ModelManagerImpl.java:613) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.getModelForRead(ModelManagerImpl.java:1433) at org.eclipse.wst.sse.ui.internal.style.SemanticHighlightingReconciler.reconcile(SemanticHighlightingReconciler.java:114) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.endProcessing(DocumentRegionProcessor.java:119) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:682) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
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 ***