Discussion:
[werkflow-user] Hanoi example failure
Peter Courcoux
2003-10-24 20:49:15 UTC
Permalink
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: ***@2cb158
[java] persist: ***@4837cd
[java] persist: ***@479809
[java] case.1 ][ height 6
[java] persist: ***@3dc0bb
[java] persist: ***@384065
[java] persist: ***@bbf9e
[java] persist: ***@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: ***@bbc5a
[java] persist: ***@7acf0b
[java] persist: ***@2f0df1
[java] persist: ***@3c6a22
[java] persist: ***@5c07d8
[java] case.1 ][ done
[java] persist: ***@721b0
[java] persist: ***@34b07e
[java] persist: ***@2f48d2
[java] persist: ***@55d93d
[java] persist: ***@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
--
Peter Courcoux <***@courcoux.biz>
Bart Selders
2003-10-25 21:00:29 UTC
Permalink
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
Post by Peter Courcoux
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
[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] case.1 ][ height 6
[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] case.1 ][ done
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.
Peter Courcoux
2003-10-26 17:26:17 UTC
Permalink
Many thanks Bart. I'll be checking this out later.

Regards,

Peter
Post by Bart Selders
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
Post by Peter Courcoux
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
[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] case.1 ][ height 6
[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] case.1 ][ done
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
http://lists.codehaus.org/mailman/listinfo/werkflow-user
--
Peter Courcoux <***@courcoux.biz>
Loading...