Hi William,
Sure looks like an infinite loop. Can you reproduce it outside of tomcat?
-- Ed
William Simons 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
>