java.lang.Error: forward reference only allowed to identifiable subtrees; but was: eu.numberfour.n4js.n4JS.impl.N4InterfaceDeclarationImpl@1e816128 (declaredModifiers: null, name: null) (typingStrategy: ?~)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mor-n4
, 1 year ago
forward reference only allowed to identifiable subtrees; but was: eu.numberfour.n4js.n4JS.impl.N4InterfaceDeclarationImpl@1e816128 (declaredModifiers: null, name: null) (typingStrategy: ?~)
via GitHub by mor-n4
, 1 year ago
forward reference only allowed to identifiable subtrees; but was: eu.numberfour.n4js.n4JS.impl.IdentifierRefImpl@1d5ccd3d (strictMode: true, idAsText: d) in
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 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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.