Java Mailing List Archive

http://www.junlu.com/

Home » user.castor »

[castor-user] Unmarshaller.unmarshal() is not working in case of
more number of xml files

scsarangi

2010-02-23

Replies: Find Java Web Hosting

Author LoginPost Reply

Some 35 XML files are created by my binary for caster unmarshal. I have below
code segment which is working fine if XML file size is less(around 15).

//----
Mapping myMap = new Mapping();
myMap.loadMapping(mappingFileName);//mapping file set
Unmarshaller u = new Unmarshaller(myMap);
Some_Obj = (Some_Obj) u.unmarshal(new InputSource(new
FileReader(filePath)));//file path given

//--------

After u.unmarshal() execution the JVM is crashed.
I am using caster version 1.2
--
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 junlu.com - Jax Systems, LLC, U.S.A.