Skip to main content

Wierd exception

1 reply [Last post]
avinashdha
Offline
Joined: 2006-02-27

Any ideas as to why I might be getting this exception :

org.jvnet.fastinfoset.FastInfosetException: Input stream is not a fast infoset document
at com.sun.xml.fastinfoset.Decoder.decodeHeader(Decoder.java:1093)
at com.sun.xml.fastinfoset.stax.StAXDocumentParser.next(StAXDocumentParser.java:211)
at com.sun.xml.bind.v2.runtime.unmarshaller.FastInfosetConnector.bridge(FastInfosetConnector.java:51)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:332)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:304)
at com.xxx.dse.net.io.BinarySerializer.deserialize(BinarySerializer.java:53)
at com.xxx.dse.net.TcpConnection$ReadWorkItem.run(TcpConnection.java:237)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

Thanks
A

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kohsuke
Offline
Joined: 2003-06-09

You must be using FI StAX parser in conjunction with JAXB, but what you are specifying as an input to FI StAX parser is not properly encoded.