Getting an odd exception:

 org.jbpm.persistence.JbpmPersistenceException: couldn't assign id to [EMAIL 
PROTECTED]
        at 
org.jbpm.persistence.db.DbPersistenceService.assignId(DbPersistenceService.java:208)
        at org.jbpm.svc.Services.assignId(Services.java:235)
        at org.jbpm.graph.exe.ProcessInstance.(ProcessInstance.java:95)
        at 
org.jbpm.graph.def.ProcessDefinition.createProcessInstance(ProcessDefinition.java:125)
        at org.jboss.seam.core.Pageflow.begin(Pageflow.java:184)
        at 
org.jboss.seam.interceptors.ConversationInterceptor.beginNavigation(ConversationInterceptor.java:200)
        at 
org.jboss.seam.interceptors.ConversationInterceptor.beginConversation(ConversationInterceptor.java:186)
        at 
org.jboss.seam.interceptors.ConversationInterceptor.beginConversationIfNecessary(ConversationInterceptor.java:146)
        at 
org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:70)
        at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
        at 
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
        at 
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
        at 
org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60)
        at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
        at 
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
        at 
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
        at 
org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:34)

this is caused by 
org.hibernate.HibernateException: instance not of expected entity type: 
org.jboss.seam.jbpm.Page is not a: org.jbpm.graph.def.Node
        at 
org.hibernate.persister.entity.AbstractEntityPersister.getSubclassEntityPersister(AbstractEntityPersister.java:3412)
        at 
org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1314)
        at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:180)
        at 
org.hibernate.engine.ForeignKeys$Nullifier.isNullifiable(ForeignKeys.java:137)
        at 
org.hibernate.engine.ForeignKeys$Nullifier.nullifyTransientReferences(ForeignKeys.java:69)...

I checked seam source code, Page is a subclass of Node. I double-checked that 
we are using jbpm3.1.1. "org/jbpm/graph/action/action.types.xml" is in the 
jbpm3.1.1.jar and it does specify Page in it.  I tried to reference 
action.types.xml in jbpm.cfg.xml file according to the comments in Page class. 
It does not help. 

Does you have any suggestions? Gavin. Hopefully this extra info could be 
helpful. I will post a JIRA issue later.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940845#3940845

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940845


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to