[ https://issues.apache.org/jira/browse/AIRAVATA-2786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dimuthu Upeksha resolved AIRAVATA-2786. --------------------------------------- Resolution: Fixed > Job COMPLETED but experiment failed with error message "unknown error > occurred when initializing ..... " > -------------------------------------------------------------------------------------------------------- > > Key: AIRAVATA-2786 > URL: https://issues.apache.org/jira/browse/AIRAVATA-2786 > Project: Airavata > Issue Type: Bug > Reporter: Eroma > Assignee: Dimuthu Upeksha > Priority: Major > > Job completed and stderr is stagged out. > But experiment failed with error [1] > > [1] > org.apache.airavata.helix.impl.task.TaskOnFailException: Error Code : > 897327b3-d45c-4f9a-a0c8-4f9a8a323ca0, Task > TASK_7c95f237-5002-4fac-9c5d-c9f5a8ac2c6e failed due to Unknown error while > running task TASK_7c95f237-5002-4fac-9c5d-c9f5a8ac2c6e, Error occurred while > initializing the task TASK_7c95f237-5002-4fac-9c5d-c9f5a8ac2c6e of experiment > Test1-US-Jetstream-iteration:26_8b7fe60e-cd90-498c-83b5-29776c3f0855 at > org.apache.airavata.helix.impl.task.AiravataTask.onFail(AiravataTask.java:102) > at > org.apache.airavata.helix.impl.task.AiravataTask.onRun(AiravataTask.java:313) > at org.apache.airavata.helix.core.AbstractTask.run(AbstractTask.java:82) at > org.apache.helix.task.TaskRunner.run(TaskRunner.java:71) at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at > java.util.concurrent.FutureTask.run(FutureTask.java:266) at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) Caused by: > org.apache.airavata.helix.impl.task.TaskOnFailException: Error occurred while > initializing the task TASK_7c95f237-5002-4fac-9c5d-c9f5a8ac2c6e of experiment > Test1-US-Jetstream-iteration:26_8b7fe60e-cd90-498c-83b5-29776c3f0855 at > org.apache.airavata.helix.impl.task.AiravataTask.loadContext(AiravataTask.java:379) > at > org.apache.airavata.helix.impl.task.AiravataTask.onRun(AiravataTask.java:307) > ... 9 more Caused by: RegistryServiceException(message:Error while retrieving > application interface. More info : > org.apache.airavata.registry.cpi.AppCatalogException: > org.apache.openjpa.persistence.InvalidStateException: Can only perform > operation while a transaction is active.) at > org.apache.airavata.registry.api.RegistryService$getApplicationInterface_result$getApplicationInterface_resultStandardScheme.read(RegistryService.java) > at > org.apache.airavata.registry.api.RegistryService$getApplicationInterface_result$getApplicationInterface_resultStandardScheme.read(RegistryService.java) > at > org.apache.airavata.registry.api.RegistryService$getApplicationInterface_result.read(RegistryService.java) > at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:89) at > org.apache.airavata.registry.api.RegistryService$Client.recv_getApplicationInterface(RegistryService.java:4686) > at > org.apache.airavata.registry.api.RegistryService$Client.getApplicationInterface(RegistryService.java:4673) > at > org.apache.airavata.helix.impl.task.TaskContext$TaskContextBuilder.build(TaskContext.java:763) > at > org.apache.airavata.helix.impl.task.AiravataTask.loadContext(AiravataTask.java:374) > ... 10 more -- This message was sent by Atlassian JIRA (v7.6.3#76005)