Hello,
A project i'm working on includes an ANTLR parser, it worked fine a couple
of days ago but now I get the following error message:
Exception in thread "main" java.lang.NoSuchMethodException:
stevenr.yali.antlr.LogoParser.<init>(org.antlr.runtime.TokenStream,
org.antlr.runtime.debug.DebugEventListener)
at java.lang.Class.getConstructor0(Class.java:2706)
at java.lang.Class.getDeclaredConstructor(Class.java:1985)
at org.deved.antlride.runtime.LaunchParser.launch(LaunchParser.java:118)
at org.deved.antlride.runtime.LaunchParser.main(LaunchParser.java:228)
It seems like ANTLR runtime is trying to call a constructor that is not
there, namely a constructor with a tokenstream and a debugeventlistener as
arguments.
Why would ANTLR want to do this? Previously this problem never occurred. Did
it accidentaly go in some kind of "debug" mode that it is trying to attach
an event listener?
Why doesn't it just call the instructor it created itself (without a
debugeventlistener)? Maybe there is some kind of debug option i turned on
somewhere?
Eclipse says that the java output file that ANTLR generates does not contain
any errors.
Can somebody please help me? Thanks.
--
Regards,
Steven Raemaekers
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en.