You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jim Redman <jr...@ergotech.com> on 2006/01/05 21:46:34 UTC
java.lang.IllegalStateException
This is code generated from:
http://opcfoundation.org/webservices/XMLDA/1.0/
using WSDL2Java.sh from the command line. The code run is the test code
(-t) without modification.
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
Jsr173.java:1110 appears to be:
public int next ( ) { throw new IllegalStateException(); }
which would explain the exception. Does anyone have suggested work
around or solution?
1)
testSubscriptionCancel(com.ergotech.opcxmlda.ServiceTest)org.apache.axis2.om.OMException:
java.lang.IllegalStateException
at
org.apache.axis2.om.impl.llom.builder.StAXOMBuilder.next(StAXOMBuilder.java:280)
at
org.apache.axis2.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:110)
at
org.apache.axis2.om.impl.llom.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:290)
at
com.ergotech.opcxmlda.databinding.ServiceSubscriptionCancelDatabindingSupporter.toOM(ServiceSubscriptionCancelDatabindingSupporter.java:27)
at
com.ergotech.opcxmlda.ServiceStub.SubscriptionCancel(ServiceStub.java:129)
at
com.ergotech.opcxmlda.ServiceTest.testSubscriptionCancel(ServiceTest.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at com.ergotech.opcxmlda.ServiceTest.main(ServiceTest.java:54)
Caused by: java.lang.IllegalStateException
at
org.apache.xmlbeans.impl.store.Jsr173$XMLStreamReaderForString.next(Jsr173.java:1110)
at
org.apache.xmlbeans.impl.store.Jsr173$SyncedJsr173.next(Jsr173.java:1138)
at org.apache.axis2.util.StreamWrapper.next(StreamWrapper.java:55)
at
org.apache.axis2.om.impl.llom.builder.StAXOMBuilder.next(StAXOMBuilder.java:197)
... 21 more
--
Jim Redman
(505) 662 5156 x85
http://www.ergotech.com