users@jaxb.java.net

Re: StackOverflowError

From: William Simons <william.simons_at_childrens.harvard.edu>
Date: Wed, 09 Nov 2005 13:38:12 -0500

It looks like this same pair of errors occurred on two prior occasions. One
in June and one in August. If anyone has any ideas what might cause this,
I'd really appreciate it. Conjecture is fine at this point!



On 11/9/05 10:36 AM, "William Simons" <william.simons_at_childrens.harvard.edu>
wrote:

> I'm using JAXB 1.0 as packaged in jwsdp1.5. Today we saw two bizarre errors
> that I'm having trouble sorting out.
>
> I've pasted them below but I'll discuss them here. Essentially there was a
> NullPointerException and a StackoverflowError that appear to be related.
> Both occur in the DOMScanner classes visit methods.
>
> A reboot of our server (running on Tomcat) fixed everything for that
> particular XML document and everything runs fine now (no exceptions or
> errors).
>
> Any ideas?
>
>
> 1. java.lang.NullPointerException
> at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:207)
> at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:183)
> at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:214)
> at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:183)
> at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:214)
> at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:183)
> at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:214)
> at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:183)
> at
> com.sun.xml.bind.unmarshaller.DOMScanner.parse(DOMScanner.java:72)...
>
> And shortly after 2.
>
> java.lang.StackOverflowError
> at
> com.sun.xml.bind.marshaller.NamespaceSupport$Context.<init>(NamespaceSupport
> .java:493)
> at
> com.sun.xml.bind.marshaller.NamespaceSupport.pushContext(NamespaceSupport.ja
> va:193)
> at
> org.chip.ping.xml.allergy.impl.runtime.NamespaceContextImpl.startElement(Unk
> nown Source)
> at
> org.chip.ping.xml.allergy.impl.runtime.SAXMarshaller.startElement(Unknown
> Source)
> at
> org.chip.ping.xml.allergy.impl.runtime.ContentHandlerAdaptor.startElement(Un
> known Source)
> at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:177)
> at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:214)
> at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:183)
> at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:214)
> at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:183)
>
> Where the stack goes back and forth from DomScanner.java 214 to 183 ad
> naseum.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>