From: Mark W. <mor...@SM...> - 2002-09-25 07:03:42
|
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 |