Topic
  • 1 reply
  • Latest Post - ‏2013-01-12T22:02:35Z by SystemAdmin
SystemAdmin
SystemAdmin
2736 Posts

Pinned topic WAS 7.0 StAX IllegalStateException: The current state is not START_DOCUMENT

‏2013-01-11T22:34:49Z |
Hi,
I am getting this error from the StAX paser.
I found some posts and the fix pack talking about this:
http://www.ibm.com/developerworks/forums/thread.jspa?threadID=225370
http://www-01.ibm.com/support/docview.wss?uid=swg1PK80103

We applied fixpack 25 already, but I am still getting this issue.
Can you please help?
We are using Spring-ws 1.5.9 and Spring 2.5.6.

Thanks
Peter
1/11/13 16:24:05:367 CST 0000003c SystemOut O PARTDERROR WebContainer : 0 tionExecutionExceptionResolverndc - The current state is not START_DOCUMENT.
java.lang.IllegalStateException: The current state is not START_DOCUMENT.
at com.ibm.xml.xlxp2.api.stax.msg.StAXMessageProvider.throwIllegalStateException(StAXMessageProvider.java:49)
at com.ibm.xml.xlxp2.api.stax.XMLStreamReaderImpl.getEncoding(XMLStreamReaderImpl.java:1427)
at com.ibm.xml.xlxp2.api.stax.XMLInputFactoryImpl$XMLStreamReaderProxyImpl.getEncoding(XMLInputFactoryImpl.java:402)
at com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory$WSSStreamReaderProxy.getEncoding(WSSXMLInputFactory.java:55)
at org.jibx.runtime.impl.StAXReaderWrapper.startTag(StAXReaderWrapper.java:110)
at org.jibx.runtime.impl.StAXReaderWrapper.next(StAXReaderWrapper.java:239)
at org.jibx.runtime.impl.UnmarshallingContext.toStart(UnmarshallingContext.java:515)
at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2766)
at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2916)
at org.springframework.oxm.jibx.JibxMarshaller.unmarshalInputStream(JibxMarshaller.java:262)
at org.springframework.oxm.jibx.JibxMarshaller.unmarshalDomNode(JibxMarshaller.java:311)
at org.springframework.oxm.AbstractMarshaller.unmarshalDomSource(AbstractMarshaller.java:292)
at org.springframework.oxm.AbstractMarshaller.unmarshal(AbstractMarshaller.java:122)
at org.springframework.ws.support.MarshallingUtils.unmarshal(MarshallingUtils.java:65)
at org.springframework.ws.client.core.WebServiceTemplate$3.extractData(WebServiceTemplate.java:374)
at org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:560)
at org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:502)
at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:351)
at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:345)
at com.uhg.ovations.portal.framework.ojaf.cache.CacheServiceImpl.getCache(CacheServiceImpl.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at
Updated on 2013-01-12T22:02:35Z at 2013-01-12T22:02:35Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    2736 Posts

    Re: WAS 7.0 StAX IllegalStateException: The current state is not START_DOCUMENT

    ‏2013-01-12T22:02:35Z  
    I managed to upgrade our Spring from 2.5.6 to 3.1.1, but am getting the same problem.
    Does anyone have similar problem?
    Thanks
    Peter