Logo

bugs

data structures and software dependability

computer science department

brandenburg university of technology cottbus - senftenberg

Summary: Parse error on opening .andl file
Created: 2020-01-13 13:51
Status: Open
Category: Bug
From: Terry Allen
Assigned:
Priority: 5

Program: Charlie

Version: v2.0.212.8932
Description:
Hi, I’m enjoying using Snoopy to investigate Petri Nets of a biological system for my PhD. I am having trouble analyzing the petri net in Charlie however and hoped you could give me some assistance?

When I try to open the .andl file I get an error message which says:

Parse Error! See the Log for more details!

The log is shown below:

Jan 13, 2020 12:38:07 PM charlie.pn.ANDLReader countPlaces SEVERE: org.antlr.runtime.RecognitionException java.lang.IllegalArgumentException: org.antlr.runtime.RecognitionException

        at charlie.pn.ANDLParser.reportError(ANDLParser.java:151)
        at charlie.pn.ANDLParser.function_def(ANDLParser.java:588)
        at charlie.pn.ANDLParser.functions(ANDLParser.java:510)
        at charlie.pn.ANDLParser.net(ANDLParser.java:417)
        at charlie.pn.ANDLParser.start(ANDLParser.java:256)
        at charlie.pn.ANDLReader.countPlaces(ANDLReader.java:35)
        at charlie.pn.PetriNetReader.initReader(PetriNetReader.java:142)
        at charlie.pn.PetriNetReader.init(PetriNetReader.java:79)
        at GUI.App.loadNet(App.java:1064)
        at GUI.App.loadNet(App.java:1144)
        at GUI.App.sendMessage(App.java:836)
        at GUI.app_actions.FileOpenAction$1.doInBackground(FileOpenAction.java:74)
        at GUI.app_actions.FileOpenAction$1.doInBackground(FileOpenAction.java:71)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Caused by: org.antlr.runtime.RecognitionException

        at charlie.pn.ANDLParser.arithmetic_function(ANDLParser.java:2619)
        at charlie.pn.ANDLParser.function_def(ANDLParser.java:574)
        ... 17 more

Jan 13, 2020 12:38:07 PM charlie.pn.ANDLReader countTransitions SEVERE: org.antlr.runtime.RecognitionException java.lang.IllegalArgumentException: org.antlr.runtime.RecognitionException

        at charlie.pn.ANDLParser.reportError(ANDLParser.java:151)
        at charlie.pn.ANDLParser.function_def(ANDLParser.java:588)
        at charlie.pn.ANDLParser.functions(ANDLParser.java:510)
        at charlie.pn.ANDLParser.net(ANDLParser.java:417)
        at charlie.pn.ANDLParser.start(ANDLParser.java:256)
        at charlie.pn.ANDLReader.countTransitions(ANDLReader.java:56)
        at charlie.pn.PetriNetReader.initReader(PetriNetReader.java:154)
        at charlie.pn.PetriNetReader.init(PetriNetReader.java:79)
        at GUI.App.loadNet(App.java:1064)
        at GUI.App.loadNet(App.java:1144)
        at GUI.App.sendMessage(App.java:836)
        at GUI.app_actions.FileOpenAction$1.doInBackground(FileOpenAction.java:74)
        at GUI.app_actions.FileOpenAction$1.doInBackground(FileOpenAction.java:71)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Caused by: org.antlr.runtime.RecognitionException

        at charlie.pn.ANDLParser.arithmetic_function(ANDLParser.java:2619)
        at charlie.pn.ANDLParser.function_def(ANDLParser.java:574)
        ... 17 more

Jan 13, 2020 12:38:07 PM charlie.pn.ANDLReader readNet SEVERE: org.antlr.runtime.RecognitionException java.lang.IllegalArgumentException: org.antlr.runtime.RecognitionException

        at charlie.pn.ANDLParser.reportError(ANDLParser.java:151)
        at charlie.pn.ANDLParser.function_def(ANDLParser.java:588)
        at charlie.pn.ANDLParser.functions(ANDLParser.java:510)
        at charlie.pn.ANDLParser.net(ANDLParser.java:417)
        at charlie.pn.ANDLParser.start(ANDLParser.java:256)
        at charlie.pn.ANDLReader.readNet(ANDLReader.java:83)
        at GUI.App.loadNet(App.java:1065)
        at GUI.App.loadNet(App.java:1144)
        at GUI.App.sendMessage(App.java:836)
        at GUI.app_actions.FileOpenAction$1.doInBackground(FileOpenAction.java:74)
        at GUI.app_actions.FileOpenAction$1.doInBackground(FileOpenAction.java:71)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Caused by: org.antlr.runtime.RecognitionException

        at charlie.pn.ANDLParser.arithmetic_function(ANDLParser.java:2619)
        at charlie.pn.ANDLParser.function_def(ANDLParser.java:574)
        ... 15 more

I don’t understand java enough to be able to work out what is going wrong, and so hoped that you might be able to help me with this issue?

Many thanks, Terry


Comments


<< 00017 | BugList | 00019 >>

… the end …

Any comments or questions are welcome. Please direct them to monika [period] heiner [snail] b-tu [period] de Privacy Policy