java.lang.Error

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 255#243777820
    via GitHub by mor-n4
    ,
    • java.lang.Error: forward reference only allowed to identifiable subtrees; but was: eu.numberfour.n4js.n4JS.impl.N4InterfaceDeclarationImpl@1e816128 (declaredModifiers: null, name: null) (typingStrategy: ?~) at eu.numberfour.n4js.postprocessing.AbstractProcessor.assertTrueIfRigid(AbstractProcessor.java:261) at eu.numberfour.n4js.postprocessing.ASTProcessor.processSubtree_forwardReference(ASTProcessor.java:234) at eu.numberfour.n4js.postprocessing.TypeProcessor.getTypeOfForwardReference(TypeProcessor.java:271) at eu.numberfour.n4js.postprocessing.TypeProcessor.getType(TypeProcessor.java:239) at eu.numberfour.n4js.typesystem.N4JSTypeSystem.type(N4JSTypeSystem.java:58) at eu.numberfour.n4js.typesystem.N4JSTypeSystem.tau(N4JSTypeSystem.java:165) at eu.numberfour.n4js.n4JS.extensions.SourceElementExtensions.collectVisibleIdentifiableElement(SourceElementExtensions.java:152) at eu.numberfour.n4js.n4JS.extensions.SourceElementExtensions.collectVisibleTypedElement(SourceElementExtensions.java:130) at eu.numberfour.n4js.n4JS.extensions.SourceElementExtensions.doCollectVisibleIdentifiableElements(SourceElementExtensions.java:188) at eu.numberfour.n4js.n4JS.extensions.SourceElementExtensions.lambda$0(SourceElementExtensions.java:93) at org.eclipse.xtext.util.OnChangeEvictingCache.get(OnChangeEvictingCache.java:77) at eu.numberfour.n4js.n4JS.extensions.SourceElementExtensions.collectVisibleIdentifiableElements(SourceElementExtensions.java:98) at eu.numberfour.n4js.scoping.N4JSScopeProvider.collectLexialEnvironmentsScopeLists(N4JSScopeProvider.java:448) at eu.numberfour.n4js.scoping.N4JSScopeProvider.lambda$1(N4JSScopeProvider.java:420) at org.eclipse.xtext.util.OnChangeEvictingCache.get(OnChangeEvictingCache.java:77) at eu.numberfour.n4js.scoping.N4JSScopeProvider.getLexicalEnvironmentScope(N4JSScopeProvider.java:432) at eu.numberfour.n4js.scoping.N4JSScopeProvider.scope_IdentifierRef_id(N4JSScopeProvider.java:395) at eu.numberfour.n4js.scoping.N4JSScopeProvider.getScope(N4JSScopeProvider.java:212) at org.eclipse.xtext.linking.impl.DefaultLinkingService.getScope(DefaultLinkingService.java:59) at eu.numberfour.n4js.resource.ErrorAwareLinkingService.getLinkedObjects(ErrorAwareLinkingService.java:69) at org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:247) at org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:222) at org.eclipse.xtext.resource.persistence.StorageAwareResource.getEObject(StorageAwareResource.java:122) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:223) at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:199) at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:243) at eu.numberfour.n4js.resource.N4JSResource.doResolveProxy(N4JSResource.java:661) at eu.numberfour.n4js.utils.emf.ProxyResolvingEObjectImpl.eResolveProxy(ProxyResolvingEObjectImpl.java:32) at eu.numberfour.n4js.n4JS.impl.IdentifierRefImpl.getId(IdentifierRefImpl.java:144) at eu.numberfour.n4js.postprocessing.AbstractProcessor.isFparRefInFparDefaultExpression(AbstractProcessor.java:106) at eu.numberfour.n4js.postprocessing.AbstractProcessor.askXsemanticsForType(AbstractProcessor.java:85) at eu.numberfour.n4js.postprocessing.TypeProcessor.typeNode(TypeProcessor.java:128) at eu.numberfour.n4js.postprocessing.TypeProcessor.typeNode(TypeProcessor.java:91) at eu.numberfour.n4js.postprocessing.ASTProcessor.processNode_postChildren(ASTProcessor.java:296) at eu.numberfour.n4js.postprocessing.ASTProcessor.processSubtree(ASTProcessor.java:207) at eu.numberfour.n4js.postprocessing.ASTProcessor.processSubtree(ASTProcessor.java:200) at eu.numberfour.n4js.postprocessing.ASTProcessor.processSubtree(ASTProcessor.java:200) at eu.numberfour.n4js.postprocessing.ASTProcessor.processSubtree(ASTProcessor.java:200) at eu.numberfour.n4js.postprocessing.ASTProcessor.processAST(ASTProcessor.java:131) at eu.numberfour.n4js.postprocessing.ASTProcessor.processAST(ASTProcessor.java:113) at eu.numberfour.n4js.resource.N4JSPostProcessor.doPerformPostProcessing(N4JSPostProcessor.java:72) at eu.numberfour.n4js.resource.N4JSPostProcessor.performPostProcessing(N4JSPostProcessor.java:60) at eu.numberfour.n4js.resource.PostProcessingAwareResource.performPostProcessing(PostProcessingAwareResource.java:168) at eu.numberfour.n4js.resource.N4JSResource.performPostProcessing(N4JSResource.java:864) at eu.numberfour.n4js.resource.PostProcessingAwareResource.resolveLazyCrossReferences(PostProcessingAwareResource.java:120) at eu.numberfour.n4js.resource.N4JSResource.resolveLazyCrossReferences(N4JSResource.java:873) at org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:498) at org.eclipse.xtext.ui.editor.reconciler.XtextDocumentReconcileStrategy.postParse(XtextDocumentReconcileStrategy.java:175) at org.eclipse.xtext.ui.editor.reconciler.XtextDocumentReconcileStrategy.doReconcile(XtextDocumentReconcileStrategy.java:153) at org.eclipse.xtext.ui.editor.reconciler.XtextDocumentReconcileStrategy.reconcile(XtextDocumentReconcileStrategy.java:67) at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.doRun(XtextReconciler.java:442) at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.access$3(XtextReconciler.java:422) at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler$1.process(XtextReconciler.java:363) at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler$1.process(XtextReconciler.java:1) at org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUnitOfWork.java:37) at org.eclipse.xtext.resource.OutdatedStateManager.exec(OutdatedStateManager.java:98) at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.modify(XtextDocument.java:428) at org.eclipse.xtext.ui.editor.model.XtextDocument.internalModify(XtextDocument.java:162) at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.run(XtextReconciler.java:360) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    No Bugmate found.