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
Generating code for: file: ...
******** mode: STANDALONE
******** source file: ...
******** generated sources: ...
******** generated binaries: ...
******** Using 1 threads.
lfc: fatal error: An unexpected error occurred:
java.lang.NullPointerException
at org.lflang.generator.c.CGenerator.selfStructType(CGenerator.java:5419)
at org.lflang.generator.c.CGenerator.generateSelfStruct(CGenerator.java:2554)
at org.lflang.generator.c.CGenerator.generateReactorFederated(CGenerator.java:2185)
at org.lflang.generator.c.CGenerator.generateReactorDefinitionsForFederate(CGenerator.java:1333)
at org.lflang.generator.c.CGenerator.doGenerate(CGenerator.java:774)
at org.lflang.generator.LFGenerator.doGenerate(LFGenerator.java:163)
at org.eclipse.xtext.generator.GeneratorDelegate.doGenerate(GeneratorDelegate.java:44)
at org.eclipse.xtext.generator.GeneratorDelegate.generate(GeneratorDelegate.java:35)
at org.lflang.lfc.Main.runGenerator(Main.java:278)
at org.lflang.lfc.Main.main(Main.java:207)
Having multiple unnamed federated reactor does not cause this issue.
The text was updated successfully, but these errors were encountered:
lhstrh
changed the title
multiple unnamed main reactor causes nullPointerException
Having multiple unnamed main reactors causes nullPointerException
Mar 16, 2022
minimal example
output
Having multiple unnamed federated reactor does not cause this issue.
The text was updated successfully, but these errors were encountered: