java.lang.Error: forward reference only allowed to identifiable subtrees; but was: eu.numberfour.n4js.n4JS.impl.IdentifierRefImpl@1d5ccd3d (strictMode: true, idAsText: d) in

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.IdentifierRefImpl@1d5ccd3d (strictMode: true, idAsText: d) in
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: ?~)
java.lang.Error: forward reference only allowed to identifiable subtrees; but was: eu.numberfour.n4js.n4JS.impl.IdentifierRefImpl@1d5ccd3d (strictMode: true, idAsText: d) in
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.CustomInternalTypeSystem.typeInternal(CustomInternalTypeSystem.java:177)
at eu.numberfour.n4js.xsemantics.InternalTypeSystem.applyRuleTypeVariableDeclaration(InternalTypeSystem.java:3289)
at eu.numberfour.n4js.xsemantics.InternalTypeSystem.typeImpl(InternalTypeSystem.java:3208)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:296)
at eu.numberfour.n4js.xsemantics.InternalTypeSystem.typeInternal(InternalTypeSystem.java:791)
at eu.numberfour.n4js.typesystem.CustomInternalTypeSystem.use_type_judgment_from_PostProcessors(CustomInternalTypeSystem.java:189)
at eu.numberfour.n4js.postprocessing.AbstractProcessor.askXsemanticsForType(AbstractProcessor.java:97)
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_forwardReference(ASTProcessor.java:276)
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.CustomInternalTypeSystem.typeInternal(CustomInternalTypeSystem.java:177)
at eu.numberfour.n4js.xsemantics.InternalTypeSystem.applyRuleTypeIdentifierRef(InternalTypeSystem.java:1350)
at eu.numberfour.n4js.xsemantics.InternalTypeSystem.typeImpl(InternalTypeSystem.java:1330)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:296)
at eu.numberfour.n4js.xsemantics.InternalTypeSystem.typeInternal(InternalTypeSystem.java:791)
at eu.numberfour.n4js.typesystem.CustomInternalTypeSystem.use_type_judgment_from_PostProcessors(CustomInternalTypeSystem.java:189)
at eu.numberfour.n4js.postprocessing.AbstractProcessor.askXsemanticsForType(AbstractProcessor.java:97)
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.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.