Lenovo
14 years agoNew Contributor
SoapUI 4.0 version returns XmlValueDisconnectedExce
Hi
I am using soapUI test step to put messages on a queue using groovy script. I have created a test step named 'notify' inside a test case. To allow concurrent execution I am cloning the notify test step in the groovy script and setting the Request property for the cloned step to appropriate xml. Every thing works fine however, sporadically I am getting following exception
org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
at org.apache.xmlbeans.impl.values.XmlValueDisconnectedException.<init>(XmlValueDisconnectedException.java:21)
at org.apache.xmlbeans.impl.values.XmlObjectBase.check_orphaned(XmlObjectBase.java:1244)
at com.eviware.soapui.config.impl.ModelItemConfigImpl.getName(Unknown Source)
at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.getName(AbstractWsdlModelItem.java:100)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.getTestSteps(WsdlTestCase.java:657)
at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3465)
at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:61)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
at groovy.common.Helper.sendNotificationMessages(groovy.common.Helper:381)
at groovy.common.Helper$sendNotificationMessages.callCurrent(Unknown Source)
at groovy.common.Helper.respond(groovy.common.Helper:317)
at groovy.common.Helper$respond.call(Unknown Source)
at groovy.common.Helper.executeStub(groovy.common.Helper:1122)
at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:43)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:99)
at groovy.common.Helper.executeStub(groovy.common.Helper)
at groovy.common.Helper$executeStub.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at groovy.common.Helper$executeStub.call(Unknown Source)
at Script1.run(Script1.groovy:28)
at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:96)
at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SourceFile:88)
at com.eviware.soapui.impl.wsdl.mock.WsdlMockResponse.evaluateScript(WsdlMockResponse.java:355)
... 17 more
When I get this, I can no longer run any testcases, and have to restart SoapUI which clears the error.
Some times I am also getting following exception
java.lang.NullPointerException
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.getTestSteps(WsdlTestCase.java:657)
at sun.reflect.GeneratedMethodAccessor161.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3465)
at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:61)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
at groovy.common.Helper.sendNotificationMessages(groovy.common.Helper:381)
at groovy.common.Helper$sendNotificationMessages.callCurrent(Unknown Source)
at groovy.common.Helper.respond(groovy.common.Helper:317)
at groovy.common.Helper$respond.call(Unknown Source)
at groovy.common.Helper.executeStub(groovy.common.Helper:1122)
at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:43)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:99)
at groovy.common.Helper.executeStub(groovy.common.Helper)
at groovy.common.Helper$executeStub.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at groovy.common.Helper$executeStub.call(Unknown Source)
at Script1.run(Script1.groovy:28)
at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:96)
at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SourceFile:88)
at com.eviware.soapui.impl.wsdl.mock.WsdlMockResponse.evaluateScript(WsdlMockResponse.java:355)
I have found that some one reported this earlier at http://a0www.soapui.org/forum/viewtopic ... 89&p=11925 for version 3.5
Do we have a fix for this issue?
Thanks
Regards
Atif
I am using soapUI test step to put messages on a queue using groovy script. I have created a test step named 'notify' inside a test case. To allow concurrent execution I am cloning the notify test step in the groovy script and setting the Request property for the cloned step to appropriate xml. Every thing works fine however, sporadically I am getting following exception
org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
at org.apache.xmlbeans.impl.values.XmlValueDisconnectedException.<init>(XmlValueDisconnectedException.java:21)
at org.apache.xmlbeans.impl.values.XmlObjectBase.check_orphaned(XmlObjectBase.java:1244)
at com.eviware.soapui.config.impl.ModelItemConfigImpl.getName(Unknown Source)
at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.getName(AbstractWsdlModelItem.java:100)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.getTestSteps(WsdlTestCase.java:657)
at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3465)
at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:61)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
at groovy.common.Helper.sendNotificationMessages(groovy.common.Helper:381)
at groovy.common.Helper$sendNotificationMessages.callCurrent(Unknown Source)
at groovy.common.Helper.respond(groovy.common.Helper:317)
at groovy.common.Helper$respond.call(Unknown Source)
at groovy.common.Helper.executeStub(groovy.common.Helper:1122)
at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:43)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:99)
at groovy.common.Helper.executeStub(groovy.common.Helper)
at groovy.common.Helper$executeStub.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at groovy.common.Helper$executeStub.call(Unknown Source)
at Script1.run(Script1.groovy:28)
at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:96)
at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SourceFile:88)
at com.eviware.soapui.impl.wsdl.mock.WsdlMockResponse.evaluateScript(WsdlMockResponse.java:355)
... 17 more
When I get this, I can no longer run any testcases, and have to restart SoapUI which clears the error.
Some times I am also getting following exception
java.lang.NullPointerException
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.getTestSteps(WsdlTestCase.java:657)
at sun.reflect.GeneratedMethodAccessor161.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3465)
at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:61)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
at groovy.common.Helper.sendNotificationMessages(groovy.common.Helper:381)
at groovy.common.Helper$sendNotificationMessages.callCurrent(Unknown Source)
at groovy.common.Helper.respond(groovy.common.Helper:317)
at groovy.common.Helper$respond.call(Unknown Source)
at groovy.common.Helper.executeStub(groovy.common.Helper:1122)
at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:43)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:99)
at groovy.common.Helper.executeStub(groovy.common.Helper)
at groovy.common.Helper$executeStub.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at groovy.common.Helper$executeStub.call(Unknown Source)
at Script1.run(Script1.groovy:28)
at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:96)
at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SourceFile:88)
at com.eviware.soapui.impl.wsdl.mock.WsdlMockResponse.evaluateScript(WsdlMockResponse.java:355)
I have found that some one reported this earlier at http://a0www.soapui.org/forum/viewtopic ... 89&p=11925 for version 3.5
Do we have a fix for this issue?
Thanks
Regards
Atif