0 Replies Latest reply on Dec 9, 2005 6:52 AM by smcgrath

    Error on TaskInstance.isOpen

    smcgrath

      Using the latest code cvs I am getting the following error. Here is the stack trace.

      org.hibernate.PropertyAccessException: could not set a field value by reflection setter of org.jbpm.taskmgmt.exe.TaskInstance.isOpen
      at org.hibernate.property.DirectPropertyAccessor$DirectSetter.set(DirectPropertyAccessor.java:81)
      at org.hibernate.tuple.AbstractTuplizer.setPropertyValues(AbstractTuplizer.java:207)
      at org.hibernate.tuple.PojoTuplizer.setPropertyValues(PojoTuplizer.java:171)
      at org.hibernate.persister.entity.BasicEntityPersister.setPropertyValues(BasicEntityPersister.java:2922)
      at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113)
      at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:492)
      at org.hibernate.loader.Loader.doQuery(Loader.java:411)
      at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:206)
      at org.hibernate.loader.Loader.loadCollection(Loader.java:1360)
      at org.hibernate.loader.collection.OneToManyLoader.initialize(OneToManyLoader.java:107)
      at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:488)
      at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60)
      at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1353)
      at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:170)
      at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:47)
      at org.hibernate.collection.PersistentSet.isEmpty(PersistentSet.java:117)
      ...
      Caused by: java.lang.IllegalArgumentException
      at sun.reflect.UnsafeBooleanFieldAccessorImpl.set(UnsafeBooleanFieldAccessorImpl.java:62)
      at java.lang.reflect.Field.set(Field.java:656)
      at org.hibernate.property.DirectPropertyAccessor$DirectSetter.set(DirectPropertyAccessor.java:78)
      ... 48 more