I'm getting this with both 1.1 and what's currently in CVS. I'm getting an NPE at cirrus.hibernate.helpers.ReflectHelper.get(ReflectHelper.java:169) because target is null.


My mapping looks like this:

 <class name="Foo" table="Foos">
   <id name="id" column="id" type="string" unsaved-value="null">
     <generator class="assigned" />
   </id>
   <property name="name" />
   <component name="subComp" class="SubComp">
     <property name="version" column=version" />
     <property name="value" column="value" />
   </component>
 </class>


All I'm doing is:


Foo f = new Foo();
f.setId("ID1");
session.save(f);


If I comment out the <component> element, everything works.


Any ideas?

-Mark



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel



Reply via email to