eu.numberfour.n4js.generator.common.GeneratorException: Severe error occurred in transpiler=es message=Rewire() called for an proxified original target. IM-eobject = null (dynamic: false) (arrayTypeLiteral: false, definedTypingStrategy: ?~) origTarget is eu.numberfour.n4js.ts.types.impl.TypeImpl@6f80c826 (eProxyURI: platform:/resource/P1/src/a/c/GH166_C.n4js.xt#|1).

GitHub | kduske-n4 | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 255#247616688

    GitHub | 6 months ago | kduske-n4
    eu.numberfour.n4js.generator.common.GeneratorException: Severe error occurred in transpiler=es message=Rewire() called for an proxified original target. IM-eobject = null (dynamic: false) (arrayTypeLiteral: false, definedTypingStrategy: ?~) origTarget is eu.numberfour.n4js.ts.types.impl.TypeImpl@6f80c826 (eProxyURI: platform:/resource/P1/src/a/c/GH166_C.n4js.xt#|1).

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Rewire() called for an proxified original target. IM-eobject = null (dynamic: false) (arrayTypeLiteral: false, definedTypingStrategy: ?~) origTarget is eu.numberfour.n4js.ts.types.impl.TypeImpl@6f80c826 (eProxyURI: platform:/resource/P1/src/a/c/GH166_C.n4js.xt#|1)

      at eu.numberfour.n4js.transpiler.PreparationStep$AST2IMCopier.rewire()
    2. eu.numberfour.n4js
      PreparationStep$AST2IMCopier.copyReference
      1. eu.numberfour.n4js.transpiler.PreparationStep$AST2IMCopier.rewire(PreparationStep.java:278)
      2. eu.numberfour.n4js.transpiler.PreparationStep$AST2IMCopier.copyReference(PreparationStep.java:222)
      2 frames
    3. org.eclipse.emf.ecore
      EcoreUtil$Copier.copyReferences
      1. org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyReferences(EcoreUtil.java:688)
      1 frame
    4. eu.numberfour.n4js
      CompositeGenerator.lambda$0
      1. eu.numberfour.n4js.transpiler.PreparationStep.createIM(PreparationStep.java:90)
      2. eu.numberfour.n4js.transpiler.PreparationStep.prepare(PreparationStep.java:79)
      3. eu.numberfour.n4js.transpiler.AbstractTranspiler.prepare(AbstractTranspiler.java:150)
      4. eu.numberfour.n4js.transpiler.AbstractTranspiler.transpile(AbstractTranspiler.java:133)
      5. eu.numberfour.n4js.transpiler.es.EcmaScriptTranspiler.transpile(EcmaScriptTranspiler.java:141)
      6. eu.numberfour.n4js.transpiler.es.EcmaScriptSubGenerator.internalDoGenerate(EcmaScriptSubGenerator.java:145)
      7. eu.numberfour.n4js.generator.common.AbstractSubGenerator.doGenerate(AbstractSubGenerator.java:121)
      8. eu.numberfour.n4js.generator.CompositeGenerator.lambda$0(CompositeGenerator.java:88)
      8 frames
    5. Java RT
      ReferencePipeline.forEachOrdered
      1. java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
      2. java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:419)
      3. java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
      4. java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
      5. java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
      6. java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      7. java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
      8. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      9. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      10. java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
      11. java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
      12. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      13. java.util.stream.ReferencePipeline.forEachOrdered(ReferencePipeline.java:423)
      13 frames
    6. eu.numberfour.n4js
      N4JSGenerateImmediatelyBuilderState.updateMarkers
      1. eu.numberfour.n4js.generator.CompositeGenerator.useTranspilerType(CompositeGenerator.java:86)
      2. eu.numberfour.n4js.generator.CompositeGenerator.doGenerate(CompositeGenerator.java:62)
      3. eu.numberfour.n4js.ui.building.instructions.BuildInstruction.handleChangedContents(BuildInstruction.java:200)
      4. eu.numberfour.n4js.ui.building.instructions.BuildInstruction.process(BuildInstruction.java:128)
      5. eu.numberfour.n4js.ui.building.N4JSGenerateImmediatelyBuilderState.updateMarkers(N4JSGenerateImmediatelyBuilderState.java:222)
      5 frames
    7. org.eclipse.xtext
      ClusteringBuilderState.doUpdate
      1. org.eclipse.xtext.builder.clustering.ClusteringBuilderState.doUpdate(ClusteringBuilderState.java:283)
      1 frame
    8. eu.numberfour.n4js
      N4JSGenerateImmediatelyBuilderState.doUpdate
      1. eu.numberfour.n4js.ui.building.N4JSGenerateImmediatelyBuilderState.doUpdate(N4JSGenerateImmediatelyBuilderState.java:191)
      1 frame
    9. org.eclipse.xtext
      XtextBuilder.doBuild
      1. org.eclipse.xtext.builder.builderState.AbstractBuilderState.update(AbstractBuilderState.java:116)
      2. org.eclipse.xtext.builder.impl.XtextBuilder.doBuild(XtextBuilder.java:287)
      2 frames
    10. eu.numberfour.n4js
      N4JSBuildTypeTrackingBuilder.doBuild
      1. eu.numberfour.n4js.ui.building.N4JSBuildTypeTrackingBuilder.doBuild(N4JSBuildTypeTrackingBuilder.java:77)
      1 frame
    11. org.eclipse.xtext
      XtextBuilder.build
      1. org.eclipse.xtext.builder.impl.XtextBuilder.fullBuild(XtextBuilder.java:319)
      2. org.eclipse.xtext.builder.impl.XtextBuilder.build(XtextBuilder.java:155)
      2 frames
    12. Core Resource Management
      BuildManager$2.run
      1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
      1 frame
    13. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    14. Core Resource Management
      BuildManager$1.run
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
      2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
      3. org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
      3 frames
    15. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    16. Core Resource Management
      Workspace.build
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
      2. org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)
      3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
      4. org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:487)
      5. org.eclipse.core.internal.resources.Workspace.build(Workspace.java:399)
      5 frames
    17. org.xpect.xtext
      XtextWorkspaceSetup.createThisResource
      1. org.xpect.xtext.lib.setup.workspace.Workspace.buildIncrementally(Workspace.java:70)
      2. org.xpect.xtext.lib.setup.XtextWorkspaceSetup.getInstance(XtextWorkspaceSetup.java:69)
      3. org.xpect.xtext.lib.setup.XtextWorkspaceSetup.createThisResource(XtextWorkspaceSetup.java:88)
      3 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor419.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    19. org.xpect.state
      StateContainer.get
      1. org.xpect.state.StateContainer.createInstance(StateContainer.java:176)
      2. org.xpect.state.StateContainer.createInstance(StateContainer.java:198)
      3. org.xpect.state.StateContainer.get(StateContainer.java:248)
      4. org.xpect.state.StateContainer.get(StateContainer.java:210)
      5. org.xpect.state.StateContainer.createFactory(StateContainer.java:150)
      6. org.xpect.state.StateContainer.getFactory(StateContainer.java:271)
      7. org.xpect.state.StateContainer.createInstance(StateContainer.java:174)
      8. org.xpect.state.StateContainer.createInstance(StateContainer.java:198)
      9. org.xpect.state.StateContainer.get(StateContainer.java:248)
      10. org.xpect.state.StateContainer.get(StateContainer.java:210)
      10 frames
    20. org.xpect.runner
      XpectRunner.runChild
      1. org.xpect.runner.XpectFileRunner.run(XpectFileRunner.java:155)
      2. org.xpect.runner.XpectRunner.runChild(XpectRunner.java:231)
      3. org.xpect.runner.XpectRunner.runChild(XpectRunner.java:1)
      3 frames
    21. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      6. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      6 frames
    22. org.xpect.runner
      XpectRunner.run
      1. org.xpect.runner.XpectRunner.run(XpectRunner.java:217)
      1 frame
    23. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    24. JUnit3 Runner
      RemoteTestRunner.run
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      4 frames
    25. PDE JUnit Plug-in Test
      PlatformUITestHarness.lambda$0
      1. org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:66)
      2. org.eclipse.pde.internal.junit.runtime.PlatformUITestHarness.lambda$0(PlatformUITestHarness.java:43)
      2 frames
    26. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4024)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3700)
      4 frames
    27. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      1 frame
    28. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      1 frame
    29. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      1 frame
    30. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
      1 frame
    31. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
      1 frame
    32. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      1 frame
    33. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
      1 frame
    34. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      1 frame
    35. eu.numberfour.n4js
      N4JSApplication.start
      1. eu.numberfour.n4js.product.N4JSApplication.start(N4JSApplication.java:141)
      1 frame
    36. PDE JUnit Plug-in Test
      NonUIThreadTestApplication.start
      1. org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.runApp(NonUIThreadTestApplication.java:52)
      2. org.eclipse.pde.internal.junit.runtime.UITestApplication.runApp(UITestApplication.java:43)
      3. org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.start(NonUIThreadTestApplication.java:46)
      3 frames
    37. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    38. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      4 frames
    39. 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:498)
      4 frames
    40. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1519)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1492)
      4 frames