joergen7 / cuneiform

Cuneiform distributed programming language
https://cuneiform-lang.org/
Apache License 2.0
232 stars 16 forks source link

CompoundExpr.normalize() does not work in BaseRep.post() #33

Closed joergen7 closed 8 years ago

joergen7 commented 8 years ago

Nun ist mir aber aufgefallen, dass Cuneiform 2.0.2-SNAPSHOT nocht mehr mit Hi-WAY zu funktionieren scheint. In der queryFinishedPost evaluiere ich die CompoundExpr result mittels der Methode result.normalize(), wobei es zu folgendem Fehler kommt:

15/11/06 12:45:40 INFO repl.BaseRepl: Query 18046146-6afa-40da-a599-3e01de93d04f finished: [1]ticket( task: ( out : person task )in bash { out="Hello $person" } person: 'hiway' ) de.huberlin.wbi.cuneiform.core.semanticmodel.NotDerivableException: de.huberlin.wbi.cuneiform.core.semanticmodel.NotBoundException: A name 'out' is not bound in this block. at de.huberlin.wbi.cuneiform.core.semanticmodel.QualifiedTicket.getOutputValue(QualifiedTicket.java:74) at de.huberlin.wbi.cuneiform.core.semanticmodel.CompoundExpr.normalize(CompoundExpr.java:178) at de.huberlin.wbi.hiway.am.cuneiform.HiWayRepl.queryFinishedPost(HiWayRepl.java:63) at de.huberlin.wbi.cuneiform.core.repl.BaseRepl.queryFinished(BaseRepl.java:245) at de.huberlin.wbi.cuneiform.core.repl.DynamicNodeVisitor.step(DynamicNodeVisitor.java:496) at de.huberlin.wbi.cuneiform.core.repl.BaseRepl.ticketFinished(BaseRepl.java:268) at de.huberlin.wbi.cuneiform.core.ticketsrc.TicketSrcActor.processMsg(TicketSrcActor.java:138) at de.huberlin.wbi.cuneiform.core.actormodel.Actor.processQueue(Actor.java:79) at de.huberlin.wbi.cuneiform.core.actormodel.Actor.run(Actor.java:109) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)