Skip to main content

Fast Infoset error explanation?

3 replies [Last post]
kking
Offline
Joined: 2010-03-11
Points: 0

I am having issues using fast infoset, I have created a SOAP web service, that should be decoding the incoming fast infoset message. I have a test java app that sends over the test data, and it works fine, if i disable the decoding. When enabled, I get the following error.

Can anyone offer some insight to what it means?

Thanks,
Kevin

org.jvnet.fastinfoset.FastInfosetException: Illegal state when decoding identifying string for prefix on first bit
at com.sun.xml.fastinfoset.Decoder.decodeIdentifyingNonEmptyStringIndexOnFirstBitAsPrefix(Decoder.java:1084)
at com.sun.xml.fastinfoset.Decoder.decodeLiteralQualifiedName(Decoder.java:745)
at com.sun.xml.fastinfoset.sax.SAXDocumentParser.processEIIWithNamespaces(SAXDocumentParser.java:1258)
at com.sun.xml.fastinfoset.sax.SAXDocumentParser.processDII(SAXDocumentParser.java:488)
at com.sun.xml.fastinfoset.sax.SAXDocumentParser.parse(SAXDocumentParser.java:417)
at com.sun.xml.fastinfoset.sax.SAXDocumentParser.parse(SAXDocumentParser.java:368)
at com.sun.xml.fastinfoset.sax.SAXDocumentParser.parse(SAXDocumentParser.java:343)
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
at com.itko.lisa.ext.vse.FastInfosetDataProtocolHandler.decodeFastInfoset(FastInfosetDataProtocolHandler.java:97)
at com.itko.lisa.ext.vse.FastInfosetDataProtocolHandler.updateRequest(FastInfosetDataProtocolHandler.java:75)
at com.itko.lisa.vse.stateful.common.DataProtocolStandardControlFilter.subPostFilter(DataProtocolStandardControlFilter.java:74)
at com.itko.lisa.test.FilterBaseImpl.postFilter(FilterBaseImpl.java:103)
at com.itko.lisa.test.TestNode.doFilters(TestNode.java:1271)
at com.itko.lisa.test.TestNode.doPostFilters(TestNode.java:1250)
at com.itko.lisa.test.TestNode.executeNode(TestNode.java:1002)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1038)
at com.itko.lisa.test.TestCase.execute(TestCase.java:968)
at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:953)
at com.itko.lisa.test.TestCase.executeTest(TestCase.java:898)
at com.itko.lisa.coordinator.Instance.run(Instance.java:139)
javax.xml.transform.TransformerException: org.jvnet.fastinfoset.FastInfosetException: Illegal state when decoding identifying string for prefix on first bit
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
at com.itko.lisa.ext.vse.FastInfosetDataProtocolHandler.decodeFastInfoset(FastInfosetDataProtocolHandler.java:97)
at com.itko.lisa.ext.vse.FastInfosetDataProtocolHandler.updateRequest(FastInfosetDataProtocolHandler.java:75)
at com.itko.lisa.vse.stateful.common.DataProtocolStandardControlFilter.subPostFilter(DataProtocolStandardControlFilter.java:74)
at com.itko.lisa.test.FilterBaseImpl.postFilter(FilterBaseImpl.java:103)
at com.itko.lisa.test.TestNode.doFilters(TestNode.java:1271)
at com.itko.lisa.test.TestNode.doPostFilters(TestNode.java:1250)
at com.itko.lisa.test.TestNode.executeNode(TestNode.java:1002)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1038)
at com.itko.lisa.test.TestCase.execute(TestCase.java:968)
at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:953)
at com.itko.lisa.test.TestCase.executeTest(TestCase.java:898)
at com.itko.lisa.coordinator.Instance.run(Instance.java:139)
Caused by: org.jvnet.fastinfoset.FastInfosetException: Illegal state when decoding identifying string for prefix on first bit
at com.sun.xml.fastinfoset.sax.SAXDocumentParser.parse(SAXDocumentParser.java:347)
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
... 12 more

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sperezintexas
Offline
Joined: 2010-08-09
Points: 0

Was this issue ever resolved?

oleksiys
Offline
Joined: 2006-01-25
Points: 0

can you pls. provide the testcase to reproduce the issue?

sperezintexas
Offline
Joined: 2010-08-09
Points: 0

Found the root cause of our error while using LISA and FastInfoSet payloads. Basically the client that was creating the payload did not set the content type so it defaulted to text/xml and LISA tried to get string from the bytes which caused the problem.