Community
Participate
Working Groups
When I double-clicked on an .xtend file the editor showed nothing except the exception/stack trace shown below. I assume this is related to wacky classpath setup, because - I fixed some java5/java6/swt32/swt64 issues right before I got this error. - The project had a broken class path when it was sent to me. - The problem only showed up when I opened the project in my runtime workbench, but not when I opened it in my host workbench. java.lang.IllegalStateException: Could not create binding for 'java.lang.SuppressWarnings'. at org.eclipse.xtext.common.types.access.jdt.JdtBasedTypeFactory.createType(JdtBasedTypeFactory.java:87) at org.eclipse.xtext.common.types.access.jdt.JdtBasedTypeFactory.createType(JdtBasedTypeFactory.java:1) at org.eclipse.xtext.common.types.access.jdt.JdtTypeMirror.initialize(JdtTypeMirror.java:36) at org.eclipse.xtext.common.types.access.TypeResource.doLoad(TypeResource.java:92) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1511) at org.eclipse.xtext.common.types.access.TypeResource.load(TypeResource.java:80) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397) at org.eclipse.xtext.resource.SynchronizedXtextResourceSet.getResource(SynchronizedXtextResourceSet.java:23) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:216) at org.eclipse.xtext.common.types.util.TypeReferences.findDeclaredType(TypeReferences.java:182) at org.eclipse.xtext.xtend2.jvmmodel.Xtend2JvmModelInferrer.transform(Xtend2JvmModelInferrer.java:122) at org.eclipse.xtext.xtend2.jvmmodel.Xtend2JvmModelInferrer.infer(Xtend2JvmModelInferrer.java:109) at org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator.installDerivedState(JvmModelAssociator.java:203) at org.eclipse.xtext.resource.DerivedStateAwareResource.installDerivedState(DerivedStateAwareResource.java:76) at org.eclipse.xtext.resource.DerivedStateAwareResource.getContents(DerivedStateAwareResource.java:41) at org.eclipse.xtext.xtend2.ui.highlighting.XtendHighlightingCalculator.doProvideHighlightingFor(XtendHighlightingCalculator.java:76) at org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingCalculator.provideHighlightingFor(XbaseHighlightingCalculator.java:86) at org.eclipse.xtext.ui.editor.syntaxcoloring.MergingHighlightedPositionAcceptor.provideHighlightingFor(MergingHighlightedPositionAcceptor.java:51) at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.reconcilePositions(HighlightingReconciler.java:87) at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.modelChanged(HighlightingReconciler.java:275) at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler$1.process(HighlightingReconciler.java:246) at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler$1.process(HighlightingReconciler.java:1) at org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUnitOfWork.java:36) at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:32) at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:78) at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.refresh(HighlightingReconciler.java:243) at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.install(HighlightingReconciler.java:197) at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingHelper.enable(HighlightingHelper.java:82) at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingHelper.install(HighlightingHelper.java:70) at org.eclipse.xtext.ui.editor.XtextEditor.installHighlightingHelper(XtextEditor.java:466) at org.eclipse.xtext.ui.editor.XtextEditor.createPartControl(XtextEditor.java:429) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
This has been fixe din M5
Closing all bugs that were set to RESOLVED before Neon.0