Hello,
I am using Castor 0.9.5.2. I have a problem when I try to use wrapper
classes&Fieldhandlers and container="true" feature together. I got an
StackOverFlow exception whenever I used it, so I had to set
container="false" always. Is such an exception known? And is there a
solution for this stackoverflow problem other than setting
container="false"?
If the reason of the exception is not clear enough, I can write in the
next emails the case where it happens exactly.
Regards,
Sunay
The exception I get:
java.lang.StackOverflowError
at
sun.nio.cs.SingleByteEncoder.encodeArrayLoop(SingleByteEncoder.java:95)
at sun.nio.cs.SingleByteEncoder.encodeLoop(SingleByteEncoder.java:134)
at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:536)
at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:384)
at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191)
at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:111)
at java.io.PrintStream.write(PrintStream.java:304)
at java.io.PrintStream.print(PrintStream.java:448)
at java.io.PrintStream.println(PrintStream.java:585)
at de.uthlande.io.xml.wrappers.Matrix.getMatrix(Matrix.java:43)
at
de.uthlande.io.xml.wrappers.MassDataTFieldHandler.setValue(MassDataTFiel
dHandler.java:30)
at
org.exolab.castor.mapping.loader.FieldHandlerImpl.setValue(FieldHandlerI
mpl.java:433)
at
org.exolab.castor.xml.UnmarshalHandler.endElement(UnmarshalHandler.java:
803)
....(the last line is repeating itself till stackoverflow happens)
This e-mail contains confidential information for the exclusive attention of the
intended addressee. Any access of third parties to this e-mail is unauthorised. Any
use of this e-mail by unintended recipients such as copying, distribution, disclosure
etc. is prohibited and may be unlawful. When addressed to our clients the content of
this e-mail is subject to the General Terms and Conditions of GL's Group of Companies
applicable at the date of this e-mail.
GL's Group of Companies does not warrant and/or guarantee that this message at the
moment of receipt is authentic, correct and its communication free of errors,
interruption etc.
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev