Contributions
ERROR [SoapUI] An error occurred [Cannot resolve type for handle _XY_Q=lang|R=lang@http://www.w3.org
Hi Team, Recently we upgrade the ReadyAPI and Cucumber to the latest version (ReadyAPI 3.43.0 and Cucumber 7.11.0) . We are getting the below error when running the framework. Could you please help. ERROR [SoapUI] An error occurred [Cannot resolve type for handle _XY_Q=lang|R=lang@http://www.w3.org/XML/1998/namespace (org.apache.xmlbeans.metadata.system.sXMLSCHEMA.schemad77felemtype) - code 13], see error log for details ERROR [errorlog] org.apache.xmlbeans.SchemaTypeLoaderException: Cannot resolve type for handle _XY_Q=lang|R=lang@http://www.w3.org/XML/1998/namespace (org.apache.xmlbeans.metadata.system.sXMLSCHEMA.schemad77felemtype) - code 13 org.apache.xmlbeans.SchemaTypeLoaderException: Cannot resolve type for handle _XY_Q=lang|R=lang@http://www.w3.org/XML/1998/namespace (org.apache.xmlbeans.metadata.system.sXMLSCHEMA.schemad77felemtype) - code 13 at org.apache.xmlbeans.impl.schema.XsbReader.readHandle(XsbReader.java:483) ~[xmlbeans-5.1.1.jar:?] at org.apache.xmlbeans.impl.schema.XsbReader.readTypeRef(XsbReader.java:548) ~[xmlbeans-5.1.1.jar:?] at org.apache.xmlbeans.impl.schema.XsbReader.loadAttribute(XsbReader.java:1282) ~[xmlbeans-5.1.1.jar:?] at org.apache.xmlbeans.impl.schema.XsbReader.readAttributeData(XsbReader.java:1275) ~[xmlbeans-5.1.1.jar:?] at org.apache.xmlbeans.impl.schema.XsbReader.finishLoadingType(XsbReader.java:902) ~[xmlbeans-5.1.1.jar:?] at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.resolveHandle(SchemaTypeSystemImpl.java:936) ~[xmlbeans-5.1.1.jar:?] at org.apache.xmlbeans.SchemaComponent$Ref.getComponent(SchemaComponent.java:111) ~[xmlbeans-5.1.1.jar:5.1.1] at org.apache.xmlbeans.SchemaType$Ref.get(SchemaType.java:1072) ~[xmlbeans-5.1.1.jar:5.1.1] at org.apache.xmlbeans.impl.schema.SchemaPropertyImpl.getType(SchemaPropertyImpl.java:85) ~[xmlbeans-5.1.1.jar:?] at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.createElementType(SchemaTypeImpl.java:990) ~[xmlbeans-5.1.1.jar:?] at org.apache.xmlbeans.impl.values.XmlObjectBase.create_element_user(XmlObjectBase.java:879) ~[xmlbeans-5.1.1.jar:?] at org.apache.xmlbeans.impl.store.Xobj.getUser(Xobj.java:1597) ~[xmlbeans-5.1.1.jar:?] at org.apache.xmlbeans.impl.store.Xobj.find_element_user(Xobj.java:1968) ~[xmlbeans-5.1.1.jar:?] at org.apache.xmlbeans.impl.xb.xsdschema.impl.SchemaDocumentImpl.getSchema(SchemaDocumentImpl.java:38) ~[xmlbeans-5.1.1.jar:?] at org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:163) ~[xmlbeans-5.1.1.jar:?] at org.apache.xmlbeans.XmlBeans.loadXsd(XmlBeans.java:260) ~[xmlbeans-5.1.1.jar:5.1.1] at org.apache.xmlbeans.XmlBeans.loadXsd(XmlBeans.java:236) ~[xmlbeans-5.1.1.jar:5.1.1] at com.eviware.soapui.impl.wsdl.support.soap.SoapVersion11.<init>(SoapVersion11.java:71) ~[ready-api-soapui-3.43.0.jar:3.43.0] at com.eviware.soapui.impl.wsdl.support.soap.SoapVersion11.<clinit>(SoapVersion11.java:53) ~[ready-api-soapui-3.43.0.jar:3.43.0] at com.eviware.soapui.impl.wsdl.support.soap.SoapVersion.<clinit>(SoapVersion.java:39) ~[ready-api-soapui-3.43.0.jar:3.43.0] at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:214) ~[ready-api-soapui-3.43.0.jar:3.43.0] at com.eviware.soapui.DefaultSoapUICore.<init>(DefaultSoapUICore.java:172) ~[ready-api-soapui-3.43.0.jar:3.43.0] at com.eviware.soapui.DefaultSoapUICore.createDefault(DefaultSoapUICore.java:182) ~[ready-api-soapui-3.43.0.jar:3.43.0] at com.smartbear.ready.core.ApplicationEnvironment.initDefaultCore(ApplicationEnvironment.java:233) ~[ready-api-soapui-3.43.0.jar:?] at com.smartbear.ready.core.ApplicationEnvironment.getSoapUICore(ApplicationEnvironment.java:200) ~[ready-api-soapui-3.43.0.jar:?] at com.smartbear.ready.core.ApplicationEnvironment.getSettings(ApplicationEnvironment.java:242) ~[ready-api-soapui-3.43.0.jar:?] at com.eviware.soapui.model.propertyexpansion.PropertyExpansionUtils.initGlobalProperties(PropertyExpansionUtils.java:79) ~[ready-api-soapui-3.43.0.jar:3.43.0] at com.eviware.soapui.model.propertyexpansion.PropertyExpansionUtils.getGlobalProperties(PropertyExpansionUtils.java:218) ~[ready-api-soapui-3.43.0.jar:3.43.0] at com.GenericUtil.set_Global_Properties(GenericUtil.java:237) ~[classes/:?] at com.runner.TestRunner.setup(TestRunner.java:44) ~[test-classes/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) ~[junit-4.12.jar:4.12] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[junit-4.12.jar:4.12] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) ~[junit-4.12.jar:4.12] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) ~[junit-4.12.jar:4.12] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) ~[junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) ~[junit-4.12.jar:4.12] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) ~[junit-4.12.jar:4.12] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) ~[junit-4.12.jar:4.12] at org.testng.junit.JUnit4TestRunner.start(JUnit4TestRunner.java:71) ~[testng-7.5.jar:7.5] at org.testng.junit.JUnit4TestRunner.run(JUnit4TestRunner.java:56) ~[testng-7.5.jar:7.5] at org.testng.TestRunner$1.run(TestRunner.java:681) ~[testng-7.5.jar:7.5] at java.util.ArrayList.forEach(ArrayList.java:1511) [?:?] at org.testng.TestRunner.runJUnitWorkers(TestRunner.java:887) [testng-7.5.jar:7.5] at org.testng.TestRunner.privateRunJUnit(TestRunner.java:710) [testng-7.5.jar:7.5] at org.testng.TestRunner.run(TestRunner.java:601) [testng-7.5.jar:7.5] at org.testng.SuiteRunner.runTest(SuiteRunner.java:429) [testng-7.5.jar:7.5] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:423) [testng-7.5.jar:7.5] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:383) [testng-7.5.jar:7.5] at org.testng.SuiteRunner.run(SuiteRunner.java:326) [testng-7.5.jar:7.5] at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) [testng-7.5.jar:7.5] at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) [testng-7.5.jar:7.5] at org.testng.TestNG.runSuitesSequentially(TestNG.java:1249) [testng-7.5.jar:7.5] at org.testng.TestNG.runSuitesLocally(TestNG.java:1169) [testng-7.5.jar:7.5] at org.testng.TestNG.runSuites(TestNG.java:1092) [testng-7.5.jar:7.5] at org.testng.TestNG.run(TestNG.java:1060) [testng-7.5.jar:7.5] at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) [surefire-testng-2.22.2.jar:2.22.2] at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:112) [surefire-testng-2.22.2.jar:2.22.2] at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99) [surefire-testng-2.22.2.jar:2.22.2] at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146) [surefire-testng-2.22.2.jar:2.22.2] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) [surefire-booter-2.22.2.jar:2.22.2] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) [surefire-booter-2.22.2.jar:2.22.2] at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) [surefire-booter-2.22.2.jar:2.22.2] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [surefire-booter-2.22.2.jar:2.22.2] org.apache.xmlbeans.SchemaTypeLoaderException: Cannot resolve type for handle _XY_Q=lang|R=lang@http://www.w3.org/XML/1998/namespace (org.apache.xmlbeans.metadata.system.sXMLSCHEMA.schemad77felemtype) - code 13 at org.apache.xmlbeans.impl.schema.XsbReader.readHandle(XsbReader.java:483) at org.apache.xmlbeans.impl.schema.XsbReader.readTypeRef(XsbReader.java:548) at org.apache.xmlbeans.impl.schema.XsbReader.loadAttribute(XsbReader.java:1282) at org.apache.xmlbeans.impl.schema.XsbReader.readAttributeData(XsbReader.java:1275) at org.apache.xmlbeans.impl.schema.XsbReader.finishLoadingType(XsbReader.java:902) at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.resolveHandle(SchemaTypeSystemImpl.java:936) at org.apache.xmlbeans.SchemaComponent$Ref.getComponent(SchemaComponent.java:111) at org.apache.xmlbeans.SchemaType$Ref.get(SchemaType.java:1072) at org.apache.xmlbeans.impl.schema.SchemaPropertyImpl.getType(SchemaPropertyImpl.java:85) at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.createElementType(SchemaTypeImpl.java:990) at org.apache.xmlbeans.impl.values.XmlObjectBase.create_element_user(XmlObjectBase.java:879) at org.apache.xmlbeans.impl.store.Xobj.getUser(Xobj.java:1597) at org.apache.xmlbeans.impl.store.Xobj.find_element_user(Xobj.java:1968) at org.apache.xmlbeans.impl.xb.xsdschema.impl.SchemaDocumentImpl.getSchema(SchemaDocumentImpl.java:38) at org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:163) at org.apache.xmlbeans.XmlBeans.loadXsd(XmlBeans.java:260) at org.apache.xmlbeans.XmlBeans.loadXsd(XmlBeans.java:236) at com.eviware.soapui.impl.wsdl.support.soap.SoapVersion11.<init>(SoapVersion11.java:71) at com.eviware.soapui.impl.wsdl.support.soap.SoapVersion11.<clinit>(SoapVersion11.java:53) at com.eviware.soapui.impl.wsdl.support.soap.SoapVersion.<clinit>(SoapVersion.java:39) at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:214) at com.eviware.soapui.DefaultSoapUICore.<init>(DefaultSoapUICore.java:172) at com.eviware.soapui.DefaultSoapUICore.createDefault(DefaultSoapUICore.java:182) at com.smartbear.ready.core.ApplicationEnvironment.initDefaultCore(ApplicationEnvironment.java:233) at com.smartbear.ready.core.ApplicationEnvironment.getSoapUICore(ApplicationEnvironment.java:200) at com.smartbear.ready.core.ApplicationEnvironment.getSettings(ApplicationEnvironment.java:242) at com.eviware.soapui.model.propertyexpansion.PropertyExpansionUtils.initGlobalProperties(PropertyExpansionUtils.java:79) at com.eviware.soapui.model.propertyexpansion.PropertyExpansionUtils.getGlobalProperties(PropertyExpansionUtils.java:218) at com.GenericUtil.set_Global_Properties(GenericUtil.java:237) at com.runner.TestRunner.setup(TestRunner.java:44) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.testng.junit.JUnit4TestRunner.start(JUnit4TestRunner.java:71) at org.testng.junit.JUnit4TestRunner.run(JUnit4TestRunner.java:56) at org.testng.TestRunner$1.run(TestRunner.java:681) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.testng.TestRunner.runJUnitWorkers(TestRunner.java:887) at org.testng.TestRunner.privateRunJUnit(TestRunner.java:710) at org.testng.TestRunner.run(TestRunner.java:601) at org.testng.SuiteRunner.runTest(SuiteRunner.java:429) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:423) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:383) at org.testng.SuiteRunner.run(SuiteRunner.java:326) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1249) at org.testng.TestNG.runSuitesLocally(TestNG.java:1169) at org.testng.TestNG.runSuites(TestNG.java:1092) at org.testng.TestNG.run(TestNG.java:1060) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:112) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)505Views0likes1CommentERROR [SoapUI] An error occurred com.fasterxml.jackson.core.JsonGenerationException.
Hi team, We are getting this below error for the REST Request (on ElasticSearch which returns Response in json) in Linux machine. We dont see the same error when run in Windows machine. Could you please help us with suggestions to resolve this issue. Background: We are having a framework using ReadyAPI 3.0.0 in combination with Cucumber running in both windows and Linux machines. ERROR [SoapUI] An error occurred [com.fasterxml.jackson.core.JsonGenerationException.<init>(Ljava/lang/String;Ljava/lang/Throwable;Lcom/fasterxml/jackson/core/JsonGenerator;)V], see error log for details ERROR [errorlog] java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonGenerationException.<init>(Ljava/lang/String;Ljava/lang/Throwable;Lcom/fasterxml/jackson/core/JsonGenerator;)V java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonGenerationException.<init>(Ljava/lang/String;Ljava/lang/Throwable;Lcom/fasterxml/jackson/core/JsonGenerator;)V at com.fasterxml.jackson.dataformat.xml.util.StaxUtil.throwAsGenerationException(StaxUtil.java:47) ~[jackson-dataformat-xml-2.9.8.jar:2.9.8] at com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.close(ToXmlGenerator.java:1266) ~[jackson-dataformat-xml-2.9.8.jar:2.9.8] at com.fasterxml.jackson.databind.ObjectWriter._configAndWriteValue(ObjectWriter.java:1100) ~[jackson-databind-2.6.0.jar:2.6.0] at com.fasterxml.jackson.databind.ObjectWriter.writeValueAsString(ObjectWriter.java:960) ~[jackson-databind-2.6.0.jar:2.6.0] at com.eviware.soapui.impl.rest.support.handlers.JsonXmlSerializer.write(JsonXmlSerializer.java:591) ~[ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.rest.support.handlers.JsonXmlSerializer.write(JsonXmlSerializer.java:569) ~[ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.rest.support.handlers.JsonMediaTypeHandler.createXmlRepresentation(JsonMediaTypeHandler.java:73) ~[ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.rest.support.handlers.JsonMediaTypeHandler.createXmlRepresentation(JsonMediaTypeHandler.java:47) ~[ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.wsdl.submit.transports.http.BaseHttpResponse.getContentAsXml(BaseHttpResponse.java:381) ~[ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.propertyChange(RestTestRequestStep.java:515) ~[ready-api-soapui-3.0.0.jar:3.0.0] at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) ~[?:1.8.0_301] at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) ~[?:1.8.0_301] at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) ~[?:1.8.0_301] at com.eviware.soapui.model.support.AbstractModelItem.notifyPropertyChanged(AbstractModelItem.java:93) [ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.support.AbstractHttpRequest.setResponse(AbstractHttpRequest.java:918) [ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequest.setResponse(RestTestRequest.java:132) [ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.run(RestTestRequestStep.java:861) [ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:265) [ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:52) [ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:175) [ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:1) [ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:130) [ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.start(AbstractTestRunner.java:73) [ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run(WsdlTestCase.java:694) [ready-api-soapui-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.wsdl.WsdlTestCasePro.run(WsdlTestCasePro.java:107) [ready-api-soapui-pro-3.0.0.jar:3.0.0] at com.eviware.soapui.impl.wsdl.WsdlTestCasePro.run(WsdlTestCasePro.java:96) [ready-api-soapui-pro-3.0.0.jar:3.0.0] at com.StepDefinitions.StepDefinitionsTransactions.post_Transaction_request_to_MDM_with(StepDefinitionsTransactions.java:195) [test-classes/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_301] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_301] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_301] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_301] at cucumber.runtime.Utils$1.call(Utils.java:26) [cucumber-core-4.3.0.jar:?] at cucumber.runtime.Timeout.timeout(Timeout.java:16) [cucumber-core-4.3.0.jar:?] at cucumber.runtime.Utils.invoke(Utils.java:20) [cucumber-core-4.3.0.jar:?] at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57) [cucumber-java-4.3.0.jar:?] at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50) [cucumber-core-4.3.0.jar:?] at cucumber.runner.TestStep.executeStep(TestStep.java:65) [cucumber-core-4.3.0.jar:?] at cucumber.runner.TestStep.run(TestStep.java:50) [cucumber-core-4.3.0.jar:?] at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43) [cucumber-core-4.3.0.jar:?] at cucumber.runner.TestCase.run(TestCase.java:46) [cucumber-core-4.3.0.jar:?] at cucumber.runner.Runner.runPickle(Runner.java:49) [cucumber-core-4.3.0.jar:?] at cucumber.runtime.junit.PickleRunners$NoStepDescriptions.run(PickleRunners.java:146) [cucumber-junit-4.3.0.jar:?] at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68) [cucumber-junit-4.3.0.jar:?] at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23) [cucumber-junit-4.3.0.jar:?] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12] at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73) [cucumber-junit-4.3.0.jar:?] at cucumber.api.junit.Cucumber.runChild(Cucumber.java:123) [cucumber-junit-4.3.0.jar:?] at cucumber.api.junit.Cucumber.runChild(Cucumber.java:65) [cucumber-junit-4.3.0.jar:?] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12] at cucumber.api.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:147) [cucumber-junit-4.3.0.jar:?] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.12.jar:4.12] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12] at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) [surefire-junit4-2.18.jar:2.18] at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) [surefire-junit4-2.18.jar:2.18] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) [surefire-junit4-2.18.jar:2.18] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) [surefire-junit4-2.18.jar:2.18] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) [surefire-booter-2.18.jar:2.18] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) [surefire-booter-2.18.jar:2.18] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) [surefire-booter-2.18.jar:2.18] java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonGenerationException.<init>(Ljava/lang/String;Ljava/lang/Throwable;Lcom/fasterxml/jackson/core/JsonGenerator;)V at com.fasterxml.jackson.dataformat.xml.util.StaxUtil.throwAsGenerationException(StaxUtil.java:47) at com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.close(ToXmlGenerator.java:1266) at com.fasterxml.jackson.databind.ObjectWriter._configAndWriteValue(ObjectWriter.java:1100) at com.fasterxml.jackson.databind.ObjectWriter.writeValueAsString(ObjectWriter.java:960) at com.eviware.soapui.impl.rest.support.handlers.JsonXmlSerializer.write(JsonXmlSerializer.java:591) at com.eviware.soapui.impl.rest.support.handlers.JsonXmlSerializer.write(JsonXmlSerializer.java:569) at com.eviware.soapui.impl.rest.support.handlers.JsonMediaTypeHandler.createXmlRepresentation(JsonMediaTypeHandler.java:73) at com.eviware.soapui.impl.rest.support.handlers.JsonMediaTypeHandler.createXmlRepresentation(JsonMediaTypeHandler.java:47) at com.eviware.soapui.impl.wsdl.submit.transports.http.BaseHttpResponse.getContentAsXml(BaseHttpResponse.java:381) at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.propertyChange(RestTestRequestStep.java:515) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) at com.eviware.soapui.model.support.AbstractModelItem.notifyPropertyChanged(AbstractModelItem.java:93) at com.eviware.soapui.impl.support.AbstractHttpRequest.setResponse(AbstractHttpRequest.java:918) at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequest.setResponse(RestTestRequest.java:132) at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.run(RestTestRequestStep.java:861) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:265) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:52) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:175) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:1) at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:130) at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.start(AbstractTestRunner.java:73) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run(WsdlTestCase.java:694) at com.eviware.soapui.impl.wsdl.WsdlTestCasePro.run(WsdlTestCasePro.java:107) at com.eviware.soapui.impl.wsdl.WsdlTestCasePro.run(WsdlTestCasePro.java:96) at com.stepDefinitions.StepDefinitionsTransactions.post_Transaction_request_to_MDM_with(StepDefinitionsTransactions.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at cucumber.runtime.Utils$1.call(Utils.java:26) at cucumber.runtime.Timeout.timeout(Timeout.java:16) at cucumber.runtime.Utils.invoke(Utils.java:20) at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57) at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50) at cucumber.runner.TestStep.executeStep(TestStep.java:65) at cucumber.runner.TestStep.run(TestStep.java:50) at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43) at cucumber.runner.TestCase.run(TestCase.java:46) at cucumber.runner.Runner.runPickle(Runner.java:49) at cucumber.runtime.junit.PickleRunners$NoStepDescriptions.run(PickleRunners.java:146) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:123) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:65) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at cucumber.api.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:147) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)595Views0likes0CommentsRe: Does the ReadyAPI3.5.1 version support the use of import com.eviware.soapui.impl.wsdl.*?
Below is the error seen [ERROR] error reading C:\Users\M2Repo\org\codehaus\groovy\groovy-all\3.0.6\groovy-all-3.0.6.jar; error in opening zip file [ERROR] /C:/Users/ReadyAPI 3.5.1/src/main/java/com/Reporter.java:[8,45] cannot access com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner [ERROR] bad class file: C:\Users\M2Repo\com\smartbear\ready-api-soapui\3.5.1\ready-api-soapui-3.5.1.jar(com/eviware/soapui/impl/wsdl/testcase/WsdlTestCaseRunner.class) [ERROR] class file has wrong version 55.0, should be 52.0 [ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath. HimanshuTayal- Any idea how to fix this?4 years agoPlace ReadyAPI QuestionsReadyAPI Questions635Views0likes0CommentsDoes the ReadyAPI3.5.1 version support the use of import com.eviware.soapui.impl.wsdl.*?
Hi Team, We use ReadyAPI 3.0.0 integrated with cucumber4.2.0 (as stated below). Now there is a upgrade available. Does the latest version support the use of import as mentioned below. import com.eviware.soapui.impl.wsdl.WsdlProjectPro; import com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase; WsdlProjectPro project = new WsdlProjectPro("src/test/resources/xml/SoapUI"); project.setActiveEnvironment(set_Env()); WsdlTestCase testCase = project.getTestSuiteByName(transactionRequest).getTestCaseByName(scenario); testCase.setPropertyValue("maxDuration", durationInMinutes); testCase.setPropertyValue("traceId", java.util.UUID.randomUUID().toString());4 years agoPlace ReadyAPI QuestionsReadyAPI Questions688Views0likes2CommentsRe: org.codehaus.groovy.syntax.SyntaxException: unable to resolve class error occurs in Linux machine
Hi Rao, Yes, we created acom.common.Transactions.groovy custom class. This is not getting imported in the groovy test step some times. Regards5 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.9KViews0likes4CommentsRe: org.codehaus.groovy.syntax.SyntaxException: unable to resolve class error occurs in Linux machine
Hi Rao, I have the library files insrc/test/resources path in cucumber project in both the machines and setting them up after loading the project like mentioned below. project = new WsdlProjectPro("src/test/resources/xml/SoapUI"); project.setScriptLibrary("src/test/resources/groovy/"); This is working for all the test cases but not all the time. Regards5 years agoPlace ReadyAPI QuestionsReadyAPI Questions5KViews0likes6Commentsorg.codehaus.groovy.syntax.SyntaxException: unable to resolve class error occurs in Linux machine
Hi team, We have some groovy files used in script Library in ReadyAPI (integrated with cucumber) they are imported and use in Groovy steps in Test cases. These case are working fine when running via either the ReadyAPI application as well as using Cucumber under Windows. It however fails with the below error when run in Linux machine via Ansible batches. The failing appears to be randomly: in the sametestcase, two scenarios might be successful and one would fail because the import of the groovy script fails. Could some one please help to get this fixed. 20:19:00,260 ERROR [SoapUI] An error occurred [startup failed: Script1.groovy: 2: unable to resolve class com.common.Transactions @ line 2, column 1. import com.common.Transactions ^ org.codehaus.groovy.syntax.SyntaxException: unable to resolve class com.common.Transactions @ line 2, column 1. tat org.codehaus.groovy.ast.ClassCodeVisitorSupport.addError(ClassCodeVisitorSupport.java:149) tat org.codehaus.groovy.control.ResolveVisitor.visitClass(ResolveVisitor.java:1225) tat org.codehaus.groovy.control.ResolveVisitor.startResolving(ResolveVisitor.java:178) tat org.codehaus.groovy.control.CompilationUnit$11.call(CompilationUnit.java:651) tat org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:931) tat org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:593) tat org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:542) tat groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298) tat groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268) tat groovy.lang.GroovyShell.parseClass(GroovyShell.java:694) tat groovy.lang.GroovyShell.parse(GroovyShell.java:706) tat groovy.lang.GroovyShell.parse(GroovyShell.java:742) tat groovy.lang.GroovyShell.parse(GroovyShell.java:733) tat com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.recompileWithNewName(SoapUIGroovyScriptEngine.java:155) tat com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.compile(SoapUIGroovyScriptEngine.java:146) tat com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:95) tat com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.GroovyScriptAssertion.assertScript(GroovyScriptAssertion.java:151) tat com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.GroovyScriptAssertion.internalAssertResponse(GroovyScriptAssertion.java:187) tat com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion.assertResponse(WsdlMessageAssertion.java:163) tat com.eviware.soapui.impl.wsdl.teststeps.RestTestRequest.assertResponse(RestTestRequest.java:146) tat com.eviware.soapui.impl.wsdl.teststeps.RestTestRequest.setResponse(RestTestRequest.java:133) tat com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.run(RestTestRequestStep.java:852) tat com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:261) tat com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:50) tat com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:171) tat com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:1) tat com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:130) tat com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.start(AbstractTestRunner.java:73) tat com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run(WsdlTestCase.java:685) tat com.eviware.soapui.impl.wsdl.WsdlTestCasePro.run(WsdlTestCasePro.java:105) tat com.eviware.soapui.impl.wsdl.WsdlTestCasePro.run(WsdlTestCasePro.java:94) tat com.stepDefinitions.StepDefinitionsTransactions.post_Transaction_request_with(StepDefinitionsTransactions.java:175) tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) tat java.lang.reflect.Method.invoke(Method.java:498) tat cucumber.runtime.Utils$1.call(Utils.java:26) tat cucumber.runtime.Timeout.timeout(Timeout.java:16) tat cucumber.runtime.Utils.invoke(Utils.java:20) tat cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57) tat cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50) tat cucumber.runner.TestStep.executeStep(TestStep.java:65) tat cucumber.runner.TestStep.run(TestStep.java:50) tat cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43) tat cucumber.runner.TestCase.run(TestCase.java:46) tat cucumber.runner.Runner.runPickle(Runner.java:49) tat cucumber.runtime.junit.PickleRunners$NoStepDescriptions.run(PickleRunners.java:146) tat cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68) tat cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23) tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) tat org.junit.runners.ParentRunner.run(ParentRunner.java:363) tat cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73) tat cucumber.api.junit.Cucumber.runChild(Cucumber.java:123) tat cucumber.api.junit.Cucumber.runChild(Cucumber.java:65) tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) tat cucumber.api.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:147) tat org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) tat org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) tat org.junit.runners.ParentRunner.run(ParentRunner.java:363) tat org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) tat org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) tat org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) tat org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) tat org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) tat org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) tat org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)Solved5 years agoPlace ReadyAPI QuestionsReadyAPI Questions5KViews0likes8CommentsRe: How to enable ReadyAPI Events execution from command line
Hi Tanya, rao -- Thank you for the infomation. We tried to useSoapUITestCaseRunner but it does not allow us to set TestCase property,so we are using WsdlProjectPro which does not trigger the SoapUI Events. Regards.5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.5KViews0likes0Comments