Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.1-INCUBATING
-
None
Description
XBaya, Workflow Interpreter test throws XML parsing error. Although this is passing the test for now, the xwf has be verified and fixed.
Running org.apache.airavata.xbaya.interpreter.RegistryServiceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.733 sec
Running org.apache.airavata.xbaya.interpreter.WorkflowTest
EchoServicePortType_echo
[main] ERROR utils.XMLUtil - could not parse XML document prolog; nested exception is:
only whitespace content allowed before start tag and not 1 (position: START_DOCUMENT seen 1... @1:1)
could not parse XML document prolog; nested exception is:
org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not 1 (position: START_DOCUMENT seen 1... @1:1)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.xmlpull.b5.XmlPullInfosetBuilder.parseDocumentStart(XmlPullInfosetBuilder.java:199)
at org.xmlpull.b5.XmlPullInfosetBuilder.parse(XmlPullInfosetBuilder.java:150)
at org.xmlpull.b5.XmlPullInfosetBuilder.parseReader(XmlPullInfosetBuilder.java:428)
at org.xmlpull.infoset.XmlInfosetBuilder.parseString(XmlInfosetBuilder.java:340)
at org.apache.airavata.common.utils.XMLUtil.stringToXmlElement(XMLUtil.java:93)
at org.apache.airavata.common.utils.XMLUtil.isXML(XMLUtil.java:300)
at org.apache.airavata.xbaya.invoker.SimpleInvoker.setInput(SimpleInvoker.java:115)
at org.apache.airavata.xbaya.invoker.GenericInvoker.setInput(GenericInvoker.java:291)
at org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.handleWSComponent(WorkflowInterpreter.java:706)
at org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.executeDynamically(WorkflowInterpreter.java:478)
at org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.scheduleDynamically(WorkflowInterpreter.java:314)
at org.apache.airavata.xbaya.interpreter.WorkflowTest.testScheduleDynamically(WorkflowTest.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at $Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
[SimpleHTTPServer] Stop called