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

GitHub | mor-n4 | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 255#243777820

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

    Root Cause Analysis

    1. 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()
    2. eu.numberfour.n4js
      InternalTypeSystem.typeImpl
      1. eu.numberfour.n4js.postprocessing.AbstractProcessor.assertTrueIfRigid(AbstractProcessor.java:261)
      2. eu.numberfour.n4js.postprocessing.ASTProcessor.processSubtree_forwardReference(ASTProcessor.java:234)
      3. eu.numberfour.n4js.postprocessing.TypeProcessor.getTypeOfForwardReference(TypeProcessor.java:271)
      4. eu.numberfour.n4js.postprocessing.TypeProcessor.getType(TypeProcessor.java:239)
      5. eu.numberfour.n4js.typesystem.CustomInternalTypeSystem.typeInternal(CustomInternalTypeSystem.java:177)
      6. eu.numberfour.n4js.xsemantics.InternalTypeSystem.applyRuleTypeVariableDeclaration(InternalTypeSystem.java:3289)
      7. eu.numberfour.n4js.xsemantics.InternalTypeSystem.typeImpl(InternalTypeSystem.java:3208)
      7 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    4. org.eclipse.xtext
      PolymorphicDispatcher.invoke
      1. org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:296)
      1 frame
    5. eu.numberfour.n4js
      InternalTypeSystem.typeImpl
      1. eu.numberfour.n4js.xsemantics.InternalTypeSystem.typeInternal(InternalTypeSystem.java:791)
      2. eu.numberfour.n4js.typesystem.CustomInternalTypeSystem.use_type_judgment_from_PostProcessors(CustomInternalTypeSystem.java:189)
      3. eu.numberfour.n4js.postprocessing.AbstractProcessor.askXsemanticsForType(AbstractProcessor.java:97)
      4. eu.numberfour.n4js.postprocessing.TypeProcessor.typeNode(TypeProcessor.java:128)
      5. eu.numberfour.n4js.postprocessing.TypeProcessor.typeNode(TypeProcessor.java:91)
      6. eu.numberfour.n4js.postprocessing.ASTProcessor.processNode_postChildren(ASTProcessor.java:296)
      7. eu.numberfour.n4js.postprocessing.ASTProcessor.processSubtree(ASTProcessor.java:207)
      8. eu.numberfour.n4js.postprocessing.ASTProcessor.processSubtree_forwardReference(ASTProcessor.java:276)
      9. eu.numberfour.n4js.postprocessing.TypeProcessor.getTypeOfForwardReference(TypeProcessor.java:271)
      10. eu.numberfour.n4js.postprocessing.TypeProcessor.getType(TypeProcessor.java:239)
      11. eu.numberfour.n4js.typesystem.CustomInternalTypeSystem.typeInternal(CustomInternalTypeSystem.java:177)
      12. eu.numberfour.n4js.xsemantics.InternalTypeSystem.applyRuleTypeIdentifierRef(InternalTypeSystem.java:1350)
      13. eu.numberfour.n4js.xsemantics.InternalTypeSystem.typeImpl(InternalTypeSystem.java:1330)
      13 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    7. org.eclipse.xtext
      PolymorphicDispatcher.invoke
      1. org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:296)
      1 frame
    8. eu.numberfour.n4js
      N4JSResource.resolveLazyCrossReferences
      1. eu.numberfour.n4js.xsemantics.InternalTypeSystem.typeInternal(InternalTypeSystem.java:791)
      2. eu.numberfour.n4js.typesystem.CustomInternalTypeSystem.use_type_judgment_from_PostProcessors(CustomInternalTypeSystem.java:189)
      3. eu.numberfour.n4js.postprocessing.AbstractProcessor.askXsemanticsForType(AbstractProcessor.java:97)
      4. eu.numberfour.n4js.postprocessing.TypeProcessor.typeNode(TypeProcessor.java:128)
      5. eu.numberfour.n4js.postprocessing.TypeProcessor.typeNode(TypeProcessor.java:91)
      6. eu.numberfour.n4js.postprocessing.ASTProcessor.processNode_postChildren(ASTProcessor.java:296)
      7. eu.numberfour.n4js.postprocessing.ASTProcessor.processSubtree(ASTProcessor.java:207)
      8. eu.numberfour.n4js.postprocessing.ASTProcessor.processSubtree(ASTProcessor.java:200)
      9. eu.numberfour.n4js.postprocessing.ASTProcessor.processSubtree(ASTProcessor.java:200)
      10. eu.numberfour.n4js.postprocessing.ASTProcessor.processAST(ASTProcessor.java:131)
      11. eu.numberfour.n4js.postprocessing.ASTProcessor.processAST(ASTProcessor.java:113)
      12. eu.numberfour.n4js.resource.N4JSPostProcessor.doPerformPostProcessing(N4JSPostProcessor.java:72)
      13. eu.numberfour.n4js.resource.N4JSPostProcessor.performPostProcessing(N4JSPostProcessor.java:60)
      14. eu.numberfour.n4js.resource.PostProcessingAwareResource.performPostProcessing(PostProcessingAwareResource.java:168)
      15. eu.numberfour.n4js.resource.N4JSResource.performPostProcessing(N4JSResource.java:864)
      16. eu.numberfour.n4js.resource.PostProcessingAwareResource.resolveLazyCrossReferences(PostProcessingAwareResource.java:120)
      17. eu.numberfour.n4js.resource.N4JSResource.resolveLazyCrossReferences(N4JSResource.java:873)
      17 frames
    9. org.eclipse.xtext
      XtextReconciler.run
      1. org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:498)
      2. org.eclipse.xtext.ui.editor.reconciler.XtextDocumentReconcileStrategy.postParse(XtextDocumentReconcileStrategy.java:175)
      3. org.eclipse.xtext.ui.editor.reconciler.XtextDocumentReconcileStrategy.doReconcile(XtextDocumentReconcileStrategy.java:153)
      4. org.eclipse.xtext.ui.editor.reconciler.XtextDocumentReconcileStrategy.reconcile(XtextDocumentReconcileStrategy.java:67)
      5. org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.doRun(XtextReconciler.java:442)
      6. org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.access$3(XtextReconciler.java:422)
      7. org.eclipse.xtext.ui.editor.reconciler.XtextReconciler$1.process(XtextReconciler.java:363)
      8. org.eclipse.xtext.ui.editor.reconciler.XtextReconciler$1.process(XtextReconciler.java:1)
      9. org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUnitOfWork.java:37)
      10. org.eclipse.xtext.resource.OutdatedStateManager.exec(OutdatedStateManager.java:98)
      11. org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.modify(XtextDocument.java:428)
      12. org.eclipse.xtext.ui.editor.model.XtextDocument.internalModify(XtextDocument.java:162)
      13. org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.run(XtextReconciler.java:360)
      13 frames
    10. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame