0 Replies Latest reply on Nov 7, 2005 10:59 PM by Ronald van Kuijk

    integrating webapp changes into 3.1a1

    Ronald van Kuijk Master

      Hi,

      I'm integrating my webapp enhancements into 3.1a1. this is comming along nice, but when I try to deploy my own process from the gpd to 3.1a1, I get the following error:

      04:48:23,406 DEBUG [ProcessArchiveDeployer] starting transaction to deploy process ProcessDefinition(dpaanvraag)
      04:48:23,421 INFO [STDOUT] org.hibernate.PropertyAccessException: could not get a field value by reflection getter of org.jb
      pm.graph.def.ProcessDefinition.events
       at org.hibernate.property.DirectPropertyAccessor$DirectGetter.get(DirectPropertyAccessor.java:34)
       at org.hibernate.tuple.AbstractTuplizer.getPropertyValue(AbstractTuplizer.java:195)
       at org.hibernate.persister.entity.BasicEntityPersister.getPropertyValue(BasicEntityPersister.java:2915)
       at org.hibernate.engine.Cascades.cascade(Cascades.java:817)
       at org.hibernate.event.def.AbstractSaveEventListener.cascadeBeforeSave(AbstractSaveEventListener.java:331)
       at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:213)
       at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:159)
       at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:104)
       at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventLi
      stener.java:184)
       at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
       at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:1
      73)
       at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
       at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:69)
       at org.hibernate.impl.SessionImpl.save(SessionImpl.java:467)
       at org.hibernate.impl.SessionImpl.save(SessionImpl.java:462)
       at org.jbpm.db.GraphSession.saveProcessDefinition(GraphSession.java:51)
       at org.jbpm.jpdl.par.ProcessArchiveDeployer.deployProcessDefinition(ProcessArchiveDeployer.java:87)
       at org.jbpm.jpdl.par.ProcessArchiveDeployer.deployZipInputStream(ProcessArchiveDeployer.java:50)
       at org.jbpm.webapp.servlet.DeployServlet.doGet(DeployServlet.java:47)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:25)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jbpm.webapp.filter.PersistenceFilter.doFilter(PersistenceFilter.java:28)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.IllegalArgumentException
       at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
       at sun.reflect.UnsafeObjectFieldAccessorImpl.get(Unknown Source)
       at java.lang.reflect.Field.get(Unknown Source)
       at org.hibernate.property.DirectPropertyAccessor$DirectGetter.get(DirectPropertyAccessor.java:31)
       ... 51 more
      04:48:23,421 ERROR [GraphSession] org.hibernate.PropertyAccessException: could not get a field value by reflection getter of
      org.jbpm.graph.def.ProcessDefinition.events
      04:48:23,421 INFO [STDOUT] java.lang.RuntimeException: couldn't save process definition 'ProcessDefinition(dpaanvraag)'
      04:48:23,421 INFO [STDOUT] at org.jbpm.db.GraphSession.saveProcessDefinition(GraphSession.java:55)
      04:48:23,421 INFO [STDOUT] at org.jbpm.jpdl.par.ProcessArchiveDeployer.deployProcessDefinition(ProcessArchiveDeployer.ja
      va:87)
      04:48:23,421 INFO [STDOUT] at org.jbpm.jpdl.par.ProcessArchiveDeployer.deployZipInputStream(ProcessArchiveDeployer.java:
      50)
      04:48:23,421 INFO [STDOUT] at org.jbpm.webapp.servlet.DeployServlet.doGet(DeployServlet.java:47)
      04:48:23,421 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      04:48:23,421 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.ja
      va:252)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      04:48:23,421 INFO [STDOUT] at org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:25)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.ja
      va:202)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      04:48:23,421 INFO [STDOUT] at org.jbpm.webapp.filter.PersistenceFilter.doFilter(PersistenceFilter.java:28)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.ja
      va:202)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      04:48:23,421 INFO [STDOUT] at org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.ja
      va:202)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      04:48:23,421 INFO [STDOUT] at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.ja
      va:202)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      04:48:23,421 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.ja
      va:202)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      04:48:23,421 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      04:48:23,421 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.jav
      a:153)
      04:48:23,421 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      04:48:23,421 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      04:48:23,421 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      04:48:23,421 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Pr
      otocol.java:744)
      04:48:23,421 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      04:48:23,421 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      04:48:23,421 INFO [STDOUT] at java.lang.Thread.run(Unknown Source)
      04:48:23,421 INFO [STDOUT] Caused by: org.hibernate.PropertyAccessException: could not get a field value by reflection gette
      r of org.jbpm.graph.def.ProcessDefinition.events
      04:48:23,421 INFO [STDOUT] at org.hibernate.property.DirectPropertyAccessor$DirectGetter.get(DirectPropertyAccessor.java
      :34)
      04:48:23,421 INFO [STDOUT] at org.hibernate.tuple.AbstractTuplizer.getPropertyValue(AbstractTuplizer.java:195)
      04:48:23,421 INFO [STDOUT] at org.hibernate.persister.entity.BasicEntityPersister.getPropertyValue(BasicEntityPersister.
      java:2915)
      04:48:23,437 INFO [STDOUT] at org.hibernate.engine.Cascades.cascade(Cascades.java:817)
      04:48:23,437 INFO [STDOUT] at org.hibernate.event.def.AbstractSaveEventListener.cascadeBeforeSave(AbstractSaveEventListe
      ner.java:331)
      04:48:23,437 INFO [STDOUT] at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEvent
      Listener.java:213)
      04:48:23,437 INFO [STDOUT] at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.ja
      va:159)
      04:48:23,437 INFO [STDOUT] at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventLis
      tener.java:104)
      04:48:23,437 INFO [STDOUT] at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(De
      faultSaveOrUpdateEventListener.java:184)
      04:48:23,437 INFO [STDOUT] at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSav
      eEventListener.java:33)
      04:48:23,437 INFO [STDOUT] at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUp
      dateEventListener.java:173)
      04:48:23,437 INFO [STDOUT] at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListe
      ner.java:27)
      04:48:23,437 INFO [STDOUT] at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdat
      eEventListener.java:69)
      04:48:23,437 INFO [STDOUT] at org.hibernate.impl.SessionImpl.save(SessionImpl.java:467)
      04:48:23,437 INFO [STDOUT] at org.hibernate.impl.SessionImpl.save(SessionImpl.java:462)
      04:48:23,437 INFO [STDOUT] at org.jbpm.db.GraphSession.saveProcessDefinition(GraphSession.java:51)
      04:48:23,437 INFO [STDOUT] ... 36 more
      04:48:23,437 INFO [STDOUT] Caused by: java.lang.IllegalArgumentException
      04:48:23,437 INFO [STDOUT] at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
      04:48:23,437 INFO [STDOUT] at sun.reflect.UnsafeObjectFieldAccessorImpl.get(Unknown Source)
      04:48:23,437 INFO [STDOUT] at java.lang.reflect.Field.get(Unknown Source)
      04:48:23,437 INFO [STDOUT] at org.hibernate.property.DirectPropertyAccessor$DirectGetter.get(DirectPropertyAccessor.java
      :31)
      04:48:23,437 INFO [STDOUT] ... 51 more
      04:48:23,437 DEBUG [PersistenceContext] committing transaction