Peter Courcoux
2003-10-24 20:49:15 UTC
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
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>
Peter Courcoux <***@courcoux.biz>