You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parsing fails with error: java.lang.RuntimeException: BUG: parser returned null output even though parsing did not fail
Context
Spoofax version: Spoofax-pie 0.19.2
Operating system & version: MacOS Mojave, 10.14.6 (18G9323)
Java version (if applicable): 11 (bundled with Spoofax)
Eclipse version (if applicable): 4.23.0.20220310-1200
Gradle version (if applicable): N.A.
Additional information
Error log:
java.lang.RuntimeException: BUG: parser returned null output even though parsing did not fail
at mb.jsglr1.common.JSGLR1Parser.parse(JSGLR1Parser.java:52)
at mb.rpgdsl.RpgdslParser.parse(%2Frpgdsl%2Fbuild%2Fgenerated%2Fsources%2Flanguage%2Fmb%2Frpgdsl%2FRpgdslParser.java:19)
at mb.rpgdsl.task.RpgdslParse.parse(%2Frpgdsl%2Fbuild%2Fgenerated%2Fsources%2Fadapter%2Fmb%2Frpgdsl%2Ftask%2FRpgdslParse.java:50)
at mb.jsglr.pie.JsglrParseTaskDef.exec(JsglrParseTaskDef.java:102)
at mb.jsglr.pie.JsglrParseTaskDef.exec(JsglrParseTaskDef.java:22)
at mb.pie.api.Task.exec(Task.java:56)
at mb.pie.runtime.exec.TaskExecutor.execInternal(TaskExecutor.java:130)
at mb.pie.runtime.exec.TaskExecutor.exec(TaskExecutor.java:87)
at mb.pie.runtime.exec.BottomUpRunner.exec(BottomUpRunner.java:419)
at mb.pie.runtime.exec.BottomUpRunner.execAndSchedule(BottomUpRunner.java:132)
at mb.pie.runtime.exec.BottomUpRunner.execScheduled(BottomUpRunner.java:119)
at mb.pie.runtime.exec.BottomUpRunner.requireInitial(BottomUpRunner.java:82)
at mb.pie.runtime.MixedSessionImpl.lambda$updateAffectedBy$0(MixedSessionImpl.java:72)
at mb.pie.runtime.SessionImpl.handleException(SessionImpl.java:233)
at mb.pie.runtime.MixedSessionImpl.updateAffectedBy(MixedSessionImpl.java:72)
at mb.spoofax.eclipse.pie.PieRunner.updateAffectedBy(PieRunner.java:509)
at mb.spoofax.eclipse.pie.PieRunner.addOrUpdateEditor(PieRunner.java:144)
at mb.spoofax.eclipse.editor.EditorUpdateJob.update(EditorUpdateJob.java:112)
at mb.spoofax.eclipse.editor.EditorUpdateJob.run(EditorUpdateJob.java:79)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
The text was updated successfully, but these errors were encountered:
Summary
List elements with indent and offside constraint result in error in the title
What you did
Grammar:
File:
What you expected to happen
Parses successfully
What actually happened
Parsing fails with error:
java.lang.RuntimeException: BUG: parser returned null output even though parsing did not fail
Context
Additional information
Error log:
The text was updated successfully, but these errors were encountered: