Hi Amila, This is fixed now. Can you take an update on trunk and check.
Regards, Chathuri On Tue, Aug 27, 2013 at 12:59 PM, Chathuri Wimalasena <[email protected]>wrote: > Hi Amila, > > I will look into this and let you know. > > Regards, > Chathuri > > > On Tue, Aug 27, 2013 at 12:53 PM, Amila Jayasekara < > [email protected]> wrote: > >> Any feedback on this ? >> >> Thanks >> Amila >> >> >> On Mon, Aug 26, 2013 at 5:52 PM, Amila Jayasekara < >> [email protected]> wrote: >> >>> Hi All, >>> >>> I am getting following exception when trying to invoke API. Any idea why >>> I am getting following exception ? >>> >>> Thanks >>> Amila >>> >>> SLF4J: Class path contains multiple SLF4J bindings. >>> SLF4J: Found binding in >>> [jar:file:/Users/thejaka/.m2/repository/org/slf4j/slf4j-log4j12/1.7.2/slf4j-log4j12-1.7.2.jar!/org/slf4j/impl/StaticLoggerBinder.class] >>> SLF4J: Found binding in >>> [jar:file:/Users/thejaka/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] >>> SLF4J: Found binding in >>> [jar:file:/Users/thejaka/.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:/Users/thejaka/.m2/repository/org/slf4j/slf4j-simple/1.7.2/slf4j-simple-1.7.2.jar!/org/slf4j/impl/StaticLoggerBinder.class] >>> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an >>> explanation. >>> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] >>> Aug 26, 2013 5:49:01 PM com.sun.jersey.api.client.ClientResponse >>> getEntity >>> SEVERE: A message body reader for Java class >>> org.apache.airavata.rest.mappings.resourcemappings.URLList, and Java type >>> class org.apache.airavata.rest.mappings.resourcemappings.URLList, and MIME >>> media type application/json was not found >>> Aug 26, 2013 5:49:01 PM com.sun.jersey.api.client.ClientResponse >>> getEntity >>> SEVERE: The registered message body readers compatible with the MIME >>> media type are: >>> */* -> >>> com.sun.jersey.core.impl.provider.entity.FormProvider >>> com.sun.jersey.core.impl.provider.entity.MimeMultipartProvider >>> com.sun.jersey.core.impl.provider.entity.StringProvider >>> com.sun.jersey.core.impl.provider.entity.ByteArrayProvider >>> com.sun.jersey.core.impl.provider.entity.FileProvider >>> com.sun.jersey.core.impl.provider.entity.InputStreamProvider >>> com.sun.jersey.core.impl.provider.entity.DataSourceProvider >>> com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider$General >>> com.sun.jersey.core.impl.provider.entity.ReaderProvider >>> com.sun.jersey.core.impl.provider.entity.DocumentProvider >>> >>> com.sun.jersey.core.impl.provider.entity.SourceProvider$StreamSourceReader >>> com.sun.jersey.core.impl.provider.entity.SourceProvider$SAXSourceReader >>> com.sun.jersey.core.impl.provider.entity.SourceProvider$DOMSourceReader >>> com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$General >>> com.sun.jersey.core.impl.provider.entity.XMLListElementProvider$General >>> com.sun.jersey.core.impl.provider.entity.XMLRootObjectProvider$General >>> com.sun.jersey.core.impl.provider.entity.EntityHolderReader >>> >>> >>> org.apache.airavata.client.api.exception.AiravataAPIInvocationException: >>> Error while initializing the Airavata API >>> at >>> org.apache.airavata.client.AiravataAPIFactory.getAPI(AiravataAPIFactory.java:64) >>> at >>> org.apache.airavata.client.AiravataAPIFactory.getAPI(AiravataAPIFactory.java:43) >>> at >>> org.apache.airavata.sample.gateway.executor.WorkflowExecutor.setupExperiment(WorkflowExecutor.java:110) >>> at >>> org.apache.airavata.sample.gateway.executor.WorkflowExecutorTest.testRunWorkflow(WorkflowExecutorTest.java:56) >>> 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:77) >>> at >>> com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:195) >>> at >>> com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:63) >>> 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: >>> org.apache.airavata.client.api.exception.AiravataAPIInvocationException: >>> Error while initializing the Airavata API >>> at >>> org.apache.airavata.client.AiravataClient.initialize(AiravataClient.java:178) >>> at >>> org.apache.airavata.client.AiravataAPIFactory.getAPI(AiravataAPIFactory.java:61) >>> ... 28 more >>> Caused by: com.sun.jersey.api.client.ClientHandlerException: A message >>> body reader for Java class >>> org.apache.airavata.rest.mappings.resourcemappings.URLList, and Java type >>> class org.apache.airavata.rest.mappings.resourcemappings.URLList, and MIME >>> media type application/json was not found >>> at >>> com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:561) >>> at >>> com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:517) >>> at >>> org.apache.airavata.rest.client.ConfigurationResourceClient.getWorkflowInterpreterURIs(ConfigurationResourceClient.java:467) >>> at >>> org.apache.airavata.rest.client.RegistryClient.getWorkflowInterpreterURIs(RegistryClient.java:159) >>> at >>> org.apache.airavata.client.AiravataClient.createConfig(AiravataClient.java:135) >>> at >>> org.apache.airavata.client.AiravataClient.initialize(AiravataClient.java:159) >>> ... 29 more >>> >>> >> >
