[antlr-interest] (Newbie) java error messages when running the test rig

ali azimi aliaazimi at yahoo.com
Thu Aug 9 15:46:49 PDT 2007


Hi,
   
  Thank you so much in advance for your advice. I am facing some java error messages which I do not know what they are all about as the output from test rig looks allright. (The output is here at the bottom of this page). Why do you think the java produces errors while producing the right output?
   
  Best regards,
   
  Al
   
  The error messages: (cifDescriptionA1 is the first rule in my grammar).
   
  Exception in thread "main" java.lang.NoSuchMethodError: antlr.RecognitionException.<init>(Lorg/antlr/runtime/IntStream;)V
          at org.antlr.runtime.MismatchedTreeNodeException.<init>(MismatchedTreeNodeException.java:16)
          at org.antlr.runtime.tree.TreeParser.mismatch(TreeParser.java:72)
          at org.antlr.runtime.BaseRecognizer.match(BaseRecognizer.java:100)
          at fpCif12.FpCif12Walker.cifDescriptionA1(FpCif12Walker.java:235)
          at fpCif12.Test.main(Test.java:50)
  Java Result: 1
  BUILD SUCCESSFUL (total time: 18 seconds)
   
  
   The output from running the test rig:
   
  (CIFDESA1 (DIADESA2 (SLIST (DIASTART3 SystemDiagram) (B3 Page 1 ( 1150 , 1000 )) (System DemonGame)) (A18 /* CIF (DefaultSize ( 300 , 200 ))) (A18 /* CIF (Text (B24 ( 400 , 100 ) ( 600 , 100 )) SIGNAL,Newgame,Probe,Result,Endgame,Win,Lose,Score(Integer),Bump; /* CIF End Text)) (A18 /* CIF (Channel (B22 ( 550 , 700 ) ( 550 , 500 )) (TextPosition ( 575 , 551 )) (TextPosition ( 575 , 600 ) SignalList1) (channel A (from (CHANLENDPNT (SLIST DemonBlock)) to (CHANLENDPNT (SLIST GameBlock)) with (SGNLSET (SLIST Bump))) endchannel A))) (A18 /* CIF (Channel (B22 ( 400 , 475 ) ( 34 , 475 )) (TextPosition ( 150 , 425 )) (TextPosition ( 62 , 500 ) SignalList1) (channel B (from (CHANLENDPNT (SLIST GameBlock)) to (CHANLENDPNT env) with (SGNLSET (SLIST Win) (SLIST Lose) (SLIST Score))) endchannel B))) (A18 /* CIF (Channel (B22 ( 56 , 325 ) ( 400 , 325 )) (TextPosition ( 212 , 250 )) (TextPosition ( 50 , 350 ) SignalList1) (channel C (from (CHANLENDPNT env) to (CHANLENDPNT (SLIST
 GameBlock)) with (SGNLSET (SLIST Newgame) (SLIST Probe) (SLIST Result) (SLIST Endgame))) endchannel C))) (A18 /* CIF (Block (B24 ( 400 , 700 )) (block DemonBlock referenced))) (A18 /* CIF (Block (B24 ( 400 , 300 )) (block GameBlock referenced))) (End /* CIF (SystemDiagram (endsystem DemonGame)))))
   
   
   

       
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070809/2d993f26/attachment.html 


More information about the antlr-interest mailing list