airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raminderjeet Singh (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AIRAVATA-849) Error messages from Airavata API
Date Tue, 14 May 2013 13:51:15 GMT

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

Raminderjeet Singh resolved AIRAVATA-849.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8

It worked well for me also after applying the changes. I am able to run jobs now after 8 hrs,
16 hrs. 
                
> Error messages from Airavata API
> --------------------------------
>
>                 Key: AIRAVATA-849
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-849
>             Project: Airavata
>          Issue Type: Bug
>          Components: Airavata Client
>    Affects Versions: 0.8
>            Reporter: Raminderjeet Singh
>             Fix For: 0.8
>
>
> Main error messages thrown from Airavata API are not useful. We always give this error
org.apache.airavata.client.api.AiravataAPIInvocationException: Error invoking API if someone
is doing a getLocalMessage in the error trace. Main error is hidden way down in the error
stack. If you see the following error log, we have the right error coming from log message
but when i tried to do e.getLocalizedMessage() to return the calling service i just get "java.lang.RuntimeException:
org.apache.airavata.client.api.AiravataAPIInvocationException: Error invoking API". We need
improve throwing the right error message to the client. 
> [INFO] Calling airavata client to run US3-test-stampede
> [INFO] Submitting the request with airavata on http://156.56.104.85:7070/airavata-server/services/WorkflowInterpretor
> [ERROR] The workflow US3_Service does not exists in user space!!!
> org.apache.airavata.registry.api.exception.worker.UserWorkflowDoesNotExistsException:
The workflow US3_Service does not exists in user space!!!
>         at org.apache.airavata.persistance.registry.jpa.impl.AiravataJPARegistry.getWorkflowGraphXML(AiravataJPARegistry.java:1109)
>         at org.apache.airavata.client.impl.WorkflowManagerImpl.getWorkflowAsString(WorkflowManagerImpl.java:221)
>         at org.apache.airavata.client.impl.WorkflowManagerImpl.getWorkflow(WorkflowManagerImpl.java:214)
>         at org.apache.airavata.client.impl.WorkflowManagerImpl.getWorkflow(WorkflowManagerImpl.java:335)
>         at org.apache.airavata.client.impl.WorkflowManagerImpl.getWorkflowInputs(WorkflowManagerImpl.java:464)
>         at org.ogce.airavata.client.UltrascanRun.runWorkflow(UltrascanRun.java:150)
>         at org.ogce.airavata.client.UltrascanRun.runWorkflow(UltrascanRun.java:132)
>         at org.ogce.gram.job.AiravataJobRun$JobRunner.call(AiravataJobRun.java:374)
>         at org.ogce.gram.job.AiravataJobRun$JobRunner.call(AiravataJobRun.java:363)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> [ERROR] Error invoking API
> org.apache.airavata.client.api.AiravataAPIInvocationException: Error invoking API
>         at org.apache.airavata.client.impl.WorkflowManagerImpl.getWorkflowAsString(WorkflowManagerImpl.java:223)
>         at org.apache.airavata.client.impl.WorkflowManagerImpl.getWorkflow(WorkflowManagerImpl.java:214)
>         at org.apache.airavata.client.impl.WorkflowManagerImpl.getWorkflow(WorkflowManagerImpl.java:335)
>         at org.apache.airavata.client.impl.WorkflowManagerImpl.getWorkflowInputs(WorkflowManagerImpl.java:464)
>         at org.ogce.airavata.client.UltrascanRun.runWorkflow(UltrascanRun.java:150)
>         at org.ogce.airavata.client.UltrascanRun.runWorkflow(UltrascanRun.java:132)
>         at org.ogce.gram.job.AiravataJobRun$JobRunner.call(AiravataJobRun.java:374)
>         at org.ogce.gram.job.AiravataJobRun$JobRunner.call(AiravataJobRun.java:363)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.airavata.registry.api.exception.worker.UserWorkflowDoesNotExistsException:
The workflow US3_Service does not exists in user space!!!
>         at org.apache.airavata.persistance.registry.jpa.impl.AiravataJPARegistry.getWorkflowGraphXML(AiravataJPARegistry.java:1109)
>         at org.apache.airavata.client.impl.WorkflowManagerImpl.getWorkflowAsString(WorkflowManagerImpl.java:221)
>         ... 12 more
>          

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message