Thanks - I will try your suggestion of using transient in a couple of places. If I had a remote idea of what was throwing the exception I would show it. However, not one of my classes is in the stack trace. Which means it has be to something in the conversation I am using. I do use a logging field on a lot of my entity/sfsb classes of the form:
protected static Log log = LogFactory.getLog(Sale.class);
This is hopefully the source of the error.
Thanks again,
Chris....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961954#3961954
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961954
I think the warning about the swimlane is normal.
"Starting" a process instance is different if there is a task in the start node. I do not know exactly why.
I think you need something like this to start the processInstance:
|
| if (processDef.getTaskMgmtDefinition().getStartTask() != null) {
| TaskInstance startTask = processInstance.getTaskMgmtInstance().createStartTaskInstance();
| } else {
| processInstance.signal();
| }
|
I use this code with Jbpm 3.1.1, it may be different for 3.2.
JF
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961951#3961951
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961951
I have a method in my class:
| @Name("inbox")
| @Scope(ScopeType.CONVERSATION)
| public class InboxActionBean {
| @Begin(nested=true)
|
| MyObject obj;
| public void init(){
| if(loaded==null){
| obj = search();
| }
| }
|
| ...
|
this init() method is called using page action. It works fine, the page renders with the data in MyObject. However any subsequent actions I call will cause a nullpointer because obj is null. This makes me think the conversation already ended after one request. I removed any @End annotaions and still the same..
I've got other conversations to work before but those conversations are @Begin(join=true, pageflow = "somePageFlow")
I'm trying to create a conversation without using page flows.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961946#3961946
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961946