Hello!
I'm using JAXB version 2.0-b26-ea3 and every now and then I get a
NullPointerException thrown from the unmarshaller... I've verified
that the parameters are indeed not null and the strings are not empty
but still this exception gets thrown.
I wanted to know if this bug has been fixed in later version or if it
is indeed a bug and not a program error on my side...
Java version: 1.5.0_05-b05
StackTrace:
java.lang.NullPointerException
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.getLocation(UnmarshallingContext.java:560)
at com.sun.xml.bind.v2.runtime.Coordinator.propagateEvent(Coordinator.java:153)
at com.sun.xml.bind.v2.runtime.Coordinator.fatalError(Coordinator.java:147)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:200)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:173)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:194)
at
mystuff.from.here.onwards...
Thanks!
Mike