I get this:
Unable to resolve ID for instance of class 'java.lang.Integer' due to
the following error: Unable to
resolve ClassDescriptor.
at
org.exolab.castor.xml.Marshaller.getObjectID(Marshaller.java:1031)
at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:792)
at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:540)
at dk.ifad.experimental.MTest.main(MTest.java:117)
Mapping file:
<class extends="dk.ifad.sim.SimComponent" identity="SimulationStartTime"
name="dk.ifad.sim.SimWorld">
<field direct="false" name="SimulationStartTime" type="long">
<bind-xml node="attribute"/>
</field>
<field direct="false" name="SimulationState" type="integer">
<bind-xml node="attribute" reference="true"/>
</field>
</class>
But I always get this error also for classes that I have mapped( see my
previous mail on this list), when I use reference="true"!
What am I doing wrong, I use the latest CVS?
PS. I am not using any kind of database access.
It works fine when reference="false"
please help, i am getting desperate
Nikolai
----------------------------------------------
Nikolai V. Christensen, Computer Engineer,
Simulation and Training department
IFAD, Forskerparken 10A, DK-5230 Odense M
Phone: +45 63 15 71 31 Fax: +45 65 93 29 99
WWWeb: http://www.ifad.dk
e-mail: [EMAIL PROTECTED]
----------------------------------------------
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev