users@jaxb.java.net

Re: JAXB stack over flow.

From: Ed Mooney <Ed.Mooney_at_sun.com>
Date: Thu, 13 Mar 2003 08:13:50 -0500

Hi Sanu,

Would you mind sending along your schema?

Regards,
--
Ed Mooney         |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201            |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive       |fruit flies like
781-442-0459      |Burlington, MA  01803 |a banana. Groucho
sanu simon wrote:
> Hi
> I raised this issue before .At that time i was unmarshalling a file of
> 47kb.Realaising  that i was using a beta version i then switched to the
> services pack hoping for a good response.
> While browsing the internet I came across a article that says JAXB
> performance against 110 kb file.Mines just 49 kB.Even with increasing
> -Xss50m i still get a stack over flow error.
> I now attach a the first part of the error message.
> --------------------------------------
> compiling a schema...
> java.lang.reflect.InvocationTargetException
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
> Caused by: java.lang.StackOverflowError
>        at sun.misc.SoftCache.get(SoftCache.java:269)
>        at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:238)
>        at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1010)
>
> Is there any way to turn around this to my favour and i get to work on some
> hard core programming stuff????
>
> with warm regards
>
> Sanu S Philip
>
>
>
> _________________________________________________________________
> Cricket World Cup 2003- News, Views and Match Reports.
> http://server1.msn.co.in/msnspecials/worldcup03/