Hi Lukas,
Thanks for your reply. I will try this with Castor 1.3.1

Inputs for your question:
1. Please see the JVM crashlog attached.<Open with wordpad for better
visual>
2. Linux OS, java- jdk1.6
3. I am getting below message after running the command and the error
message is attached.
=========
[r...@rhas5-05 discoveryFiles]# java -Dcastor=true -Xmx1024m -jar
/usr/local/netman/cmm/PersistDiscoveryData.jar MyTest 0 0
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0625665c, pid=1738, tid=1879296912
#
# Java VM: Java HotSpot(TM) Server VM (10.0-b23 mixed mode linux-x86)
# Problematic frame:
# V  [libjvm.so+0x25665c]
#
# An error report file with more information is saved as:
# /usr/local/netman/mmtsys/db/MyTest/discoveryFiles/hs_err_pid1738.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted
[r...@rhas5-05 discoveryFiles]#

=========

Regards,
Susant


Lukas Lang wrote:
> 
> Hello,
> 
> would you mind providing us some more information? 
> 
> First, please try upgrading to the latest Castor (1.3.1) and Java
> versions. You should use the XMLContext to bootstrap Castor [1].
> If you think that you hit a bug which is reproducible (also on other
> machines), I'd like to see
> 
> 1. any Exception thrown by Castor when "the JVM" crashes or a JVM
> crashlog.
> 2. your system configuration (OS, Java version + JVM used).
> 3. a simple test case including sample instances for which the bug occurs.
> 
> Regards,
> Lukas
> 
> [1] http://www.castor.org/reference/html-single/index.html#d0e2875
> 
> Am 23.02.2010 um 16:31 schrieb scsarangi:
> 
>> 
>> 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
>> -- 
>> View this message in context:
>> http://old.nabble.com/Unmarshaller.unmarshal%28%29-is-not-working-in-case-of-more-number-of-xml-files-tp27705114p27705114.html
>> Sent from the Castor - User mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>> 
>>    http://xircles.codehaus.org/manage_email
>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Unmarshaller.unmarshal%28%29-is-not-working-in-case-of-more-number-of-xml-files-tp27705114p27714210.html
Sent from the Castor - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to