[ 
https://issues.apache.org/jira/browse/AIRAVATA-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Heshan Suriyaarachchi closed AIRAVATA-164.
------------------------------------------


fixed
                
> XML format error while running the test WorkflowTest
> ----------------------------------------------------
>
>                 Key: AIRAVATA-164
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-164
>             Project: Airavata
>          Issue Type: Bug
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 0.1-INCUBATING
>
>
> org.apache.airavata.xbaya.graph.GraphException: XML format error.
>       at 
> org.apache.airavata.xbaya.graph.ws.WSGraphFactory.createGraph(WSGraphFactory.java:117)
>       at org.apache.airavata.xbaya.wf.Workflow.parse(Workflow.java:725)
>       at org.apache.airavata.xbaya.wf.Workflow.<init>(Workflow.java:236)
>       at 
> org.apache.airavata.xbaya.interpreter.WorkflowTest.testScheduleDynamically(WorkflowTest.java:34)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       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.junit.runner.JUnitCore.run(JUnitCore.java:157)
>       at 
> com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:71)
>       at 
> com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:199)
>       at 
> com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:62)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
> Caused by: java.lang.ClassCastException: 
> org.apache.airavata.xbaya.graph.ws.WSPort cannot be cast to 
> org.apache.airavata.xbaya.graph.ControlPort
>       at 
> org.apache.airavata.xbaya.graph.impl.NodeImpl.indexToPointer(NodeImpl.java:422)
>       at 
> org.apache.airavata.xbaya.graph.impl.GraphImpl.indexToPointer(GraphImpl.java:579)
>       at 
> org.apache.airavata.xbaya.graph.impl.GraphImpl.parse(GraphImpl.java:545)
>       at org.apache.airavata.xbaya.graph.ws.WSGraph.parse(WSGraph.java:172)
>       at 
> org.apache.airavata.xbaya.graph.ws.WSGraphFactory.createGraph(WSGraphFactory.java:114)
>       ... 28 more
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in 
> [jar:file:/home/heshan/.m2/repository/org/slf4j/slf4j-simple/1.6.1/slf4j-simple-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in 
> [jar:file:/home/heshan/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.
> 101 [main] INFO org.apache.airavata.xbaya.graph.impl.GraphImpl - parsing a 
> workflow created by version null

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to