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
I chose exactly the lexer in examples/simple and appended "-dot" argument. Then the following NPE occurred:
../../bin/jflex -d out/genfiles -dot src/main/jflex/simple.flex
Reading "src/main/jflex/simple.flex"
Constructing NFA :
Unexpected exception encountered. This indicates a bug in JFlex.
Please consider filing an issue at http://github.com/jflex-de/jflex/issues/new
java.lang.NullPointerException
at jflex.core.NFA.dotFormat(NFA.java:502)
at jflex.core.NFA.writeDot(NFA.java:478)
at jflex.generator.LexGenerator.generate(LexGenerator.java:80)
at jflex.Main.generate(Main.java:320)
at jflex.Main.main(Main.java:336)
It seems that you didn't notice that the StateSet in table can be null while generating the graph.
The text was updated successfully, but these errors were encountered:
Mivik
changed the title
NPE occurs when generating dot file of a NFA
NPE occurs when generating dot file of an NFA
Jul 11, 2020
I chose exactly the lexer in
examples/simple
and appended "-dot" argument. Then the following NPE occurred:It seems that you didn't notice that the StateSet in table can be null while generating the graph.
The text was updated successfully, but these errors were encountered: