JBossAS 4.2.2 JBM 3.3.0.GA I am trying to deploy a ProcessDefinition from within my code and I get a PropertyAccessException.
ProcessDefinition processDefinition = ProcessDefinition.parseParZipInputStream (zis); | jbpmContext.deployProcessDefinition (processDefinition); I get: org.hibernate.PropertyAccessException: could not get a field value by reflection getter of org.jbpm.graph.def.ProcessDefinition.events | at org.hibernate.property.DirectPropertyAccessor$DirectGetter.get(DirectPropertyAccessor.java:58) | at org.hibernate.tuple.entity.AbstractEntityTuplizer.getPropertyValue(AbstractEntityTuplizer.java:300) | at org.hibernate.persister.entity.AbstractEntityPersister.getPropertyValue(AbstractEntityPersister.java:3609) | at org.hibernate.engine.Cascade.cascade(Cascade.java:153) | at org.hibernate.event.def.AbstractSaveEventListener.cascadeBeforeSave(AbstractSaveEventListener.java:454) | at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:288) | at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204) | at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210) | at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:56) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195) | at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93) | at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:562) | at org.hibernate.impl.SessionImpl.save(SessionImpl.java:550) | at org.hibernate.impl.SessionImpl.save(SessionImpl.java:546) | at org.jbpm.db.GraphSession.deployProcessDefinition(GraphSession.java:77) | at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173) | at com.eLynx.Controller.ProcessController.loadDefinition(ProcessController.java:230) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.eLynx.Dispatch.XmlDispatcher.dispatch(XmlDispatcher.java:236) | at com.eLynx.Dispatch.XmlDispatcher.dispatch(XmlDispatcher.java:120) | at com.eLynx.Servlet.XmlWebappServlet.doPost(XmlWebappServlet.java:118) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at com.eLynx.Filter.ELynxRedirectFilter.doFilter(ELynxRedirectFilter.java:85) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) | at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:419) | at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:378) | at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.IllegalArgumentException | at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:37) | at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:18) | at java.lang.reflect.Field.get(Field.java:357) | at org.hibernate.property.DirectPropertyAccessor$DirectGetter.get(DirectPropertyAccessor.java:55) | Any ideas anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198027#4198027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198027 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user