Re: [werkflow-user] Hanoi example failure

Peter Courcoux <[email protected]> 26 Oct 2003 17:26:17 +0000
Newsgroups gmane.comp.java.werkflow
Message-ID <[email protected]>
Many thanks Bart. I'll be checking this out later.

Regards,

Peter

On Sat, 2003-10-25 at 22:00, Bart Selders wrote:
> Hi,
> 
> I just fixed the Hanoi example in CVS. It is running now again.
> 
> In case you use any condition (e.g. if, switch, while, etc) be aware 
> that recently werkflow was changed to use Ognl as default for condition 
> evaluation. It is planned to make this configurable, but for now you can 
> check out http://www.ognl.org for more information on Ognl syntax and 
> possibilities.
> 
> Bart
> 
> Peter Courcoux wrote:
> > Hi,
> > 
> > I recently checked out werkflow-core and ran the maven:werkflow-hanoi
> > target. After passing all the tests, the example ran through but threw
> > an Exception part way.
> > 
> > Can anyone tell me if I've got something misconfigured?
> > 
> > Many thanks.
> > 
> > Peter
> > 
> > The output was :
> > 
> > 
> > werkflow:hanoi:
> > werkflow:run-example:
> >     [echo] running hanoi default
> >     [java] log4j:WARN No appenders could be found for logger (org.apache.commons.jelly.JellyContext).
> >     [java] log4j:WARN Please initialize the log4j system properly.
> >     [java] newCase: [SimpleAttributes: {height=6}]
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@2cb158
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@4837cd
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@479809
> >     [java] case.1 ][ height 6
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@3dc0bb
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@384065
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@bbf9e
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@14d372
> >     [java] ognl.OgnlException: source is null for getProperty(null, "n")
> >     [java] 	at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1211)
> >     [java] 	at ognl.ASTProperty.getValueBody(ASTProperty.java:108)
> >     [java] 	at ognl.SimpleNode.getValue(SimpleNode.java:129)
> >     [java] 	at ognl.ASTLess.getValueBody(ASTLess.java:49)
> >     [java] 	at ognl.SimpleNode.getValue(SimpleNode.java:129)
> >     [java] 	at ognl.Ognl.getValue(Ognl.java:335)
> >     [java] 	at ognl.Ognl.getValue(Ognl.java:310)
> >     [java] 	at org.codehaus.werkflow.semantics.ognl.OgnlExpression.evaluate(OgnlExpression.java:89)
> >     [java] 	at org.codehaus.werkflow.expr.AbstractExpression.evaluateAsBoolean(AbstractExpression.java:59)
> >     [java] 	at org.codehaus.werkflow.definition.petri.AndInputRule.getSatisfyingTokens(AndInputRule.java:140)
> >     [java] 	at org.codehaus.werkflow.core.Evaluator.evaluate(Evaluator.java:115)
> >     [java] 	at org.codehaus.werkflow.core.Evaluator.evaluate(Evaluator.java:90)
> >     [java] 	at org.codehaus.werkflow.core.Evaluator.evaluate(Evaluator.java:76)
> >     [java] 	at org.codehaus.werkflow.core.ProcessDeployment.evaluate(ProcessDeployment.java:207)
> >     [java] 	at org.codehaus.werkflow.core.CoreProcessCase.evaluate(CoreProcessCase.java:253)
> >     [java] 	at org.codehaus.werkflow.core.Scheduler.schedule(Scheduler.java:88)
> >     [java] 	at org.codehaus.werkflow.core.Scheduler.schedule(Scheduler.java:73)
> >     [java] 	at org.codehaus.werkflow.core.ProcessDeployment.commit(ProcessDeployment.java:260)
> >     [java] 	at org.codehaus.werkflow.core.CoreChangeSet.commit(CoreChangeSet.java:93)
> >     [java] 	at org.codehaus.werkflow.core.Executor.complete(Executor.java:127)
> >     [java] 	at org.codehaus.werkflow.core.CoreCompletion.complete(CoreCompletion.java:66)
> >     [java] 	at org.codehaus.werkflow.core.CoreActionInvocation.complete(CoreActionInvocation.java:141)
> >     [java] 	at org.codehaus.werkflow.semantics.jelly.JellyAction.perform(JellyAction.java:111)
> >     [java] 	at org.codehaus.werkflow.core.CoreActivity.perform(CoreActivity.java:86)
> >     [java] 	at org.codehaus.werkflow.core.ExecutionEnqueuement.run(ExecutionEnqueuement.java:95)
> >     [java] 	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:732)
> >     [java] 	at java.lang.Thread.run(Thread.java:479)
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@bbc5a
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@7acf0b
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@2f0df1
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@3c6a22
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@5c07d8
> >     [java] case.1 ][ done
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@721b0
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@34b07e
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@2f48d2
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@55d93d
> >     [java] persist: org.codehaus.werkflow.core.CoreChangeSet@296f76
> > BUILD SUCCESSFUL
> > Total time: 3 minutes 49 seconds
> > Finished at: Fri Oct 24 21:45:07 BST 2003
> > 
> > 
> > OS RedHat 7.2
> > J2SDK1.3.1_06
> > 
> > 
> 
> 
> 
> 
> *************************************************************************
> The information contained in this communication is confidential and is
> intended solely for the use of the individual or entity to  whom it is
> addressed.You should not copy, disclose or distribute this communication 
> without the authority of iBanx bv. iBanx bv is neither liable for 
> the proper and complete transmission of the information has been maintained
> nor that the communication is free of viruses, interceptions or interference.
> 
> If you are not the intended recipient of this communication please return
> the communication to the sender and delete and destroy all copies.
> _______________________________________________
> werkflow-user mailing list
> [email protected]
> http://lists.codehaus.org/mailman/listinfo/werkflow-user
-- 
Peter Courcoux <[email protected]>