[jboss-user] [jBPM] - Re: How to deploy ScriptTask.bpmn from jbpm-examples
doboss
do-not-reply at jboss.com
Tue Dec 4 14:14:50 EST 2012
doboss [https://community.jboss.org/people/doboss] created the discussion
"Re: How to deploy ScriptTask.bpmn from jbpm-examples"
To view the discussion, visit: https://community.jboss.org/message/779941#779941
--------------------------------------------------------------
Thank you Tihomir!
You're right (and I read about the Pojo model jar somewhere) and now my package compiles and even shows up in the jbpm-console!
When I start it from the JBPM console, I get this error:
11:55:38,483 ERROR [org.drools.persistence.SingleSessionCommandService] (http-localhost-127.0.0.1-8080-7) Could not commit session: org.jbpm.workflow.instance.WorkflowRuntimeException: [com.sample.script:1 - Script:2] -- unable to execute Action: [Error: null pointer: person.getName()]
[Near : {... HelloService.getInstance().sayHello(person.getName()); ....}]
^
[Line: 1, Column: 37]
...
(The ^ is under the p in sayHello(person.getName )
Which I suppose makes since because the person object was never created... So I'm thinking this example was never meant to be run in this fashion. Still, I don't see anything else in the examples which seems to run this particular bpmn.
Thank you again for your help, sad I didn't put that together on my own. :)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/779941#779941]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121204/04eafe9e/attachment-0001.html
More information about the jboss-user
mailing list