0 Replies Latest reply on Jun 5, 2007 1:34 PM by Meghana Joglekar

    PropertyAccessException: could not get field value by reflec

    Meghana Joglekar Novice

      Hello,

      When I deploy BPEL definition zip file, I am getting following exception -

      13:44:03,371 INFO [BpelReader] read wsdl document: resources/xml/SystemWorkflow
      .wsdl
      13:44:07,433 INFO [BpelReader] read wsdl document: ServicePLWrapper.wsdl
      13:44:07,902 INFO [BpelReader] read bpel document: SystemWorkflow.bpel
      13:44:31,808 ERROR [STDERR] org.hibernate.PropertyAccessException: could not get
      a field value by reflection getter of com.ibm.wsdl.MessageImpl.parts
       at org.hibernate.property.DirectPropertyAccessor$DirectGetter.get(Direct
      PropertyAccessor.java:35)
       at org.hibernate.tuple.entity.AbstractEntityTuplizer.getPropertyValue(Ab
      stractEntityTuplizer.java:277)
       & nbsp; at org.hibernate.persister.entity.AbstractEntityPersister.getPropertyVal
      ue(AbstractEntityPersister.java:3514)
       at org.hibernate.engine.Cascade.cascade(Cascade.java:130)
       at org.hibernate.event.def.AbstractSaveEventListener.cascadeBeforeSave(A
      bstractSaveEventListener.java:412)
       at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplic
      ate(AbstractSaveEventListener.java:261)
       at org.hibernate.event.def.AbstractSaveEventListener.performSave(Abstrac
      



      Caused by: java.lang.IllegalArgumentException
       at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl
      .java:37)
       at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccess
      orImpl.java:18)
       at java.lang.reflect.Field.get(Field.java:357)
       at org.hibernate.property.DirectPropertyAccessor$DirectGetter.get(Direct
      PropertyAccessor.java:32)
       ... 82 more
      


      What can cause this error? It happens on hibernate session.save() call. The wsdl4j jar contains the said class and the class has getParts() getter method returning java.util.map.

      Thanks,
      Meghana