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-1073) Unable to add error details
Date Thu, 20 Mar 2014 17:46:44 GMT

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

Raminderjeet Singh resolved AIRAVATA-1073.
------------------------------------------

    Resolution: Fixed

Fixed by Chathuri's fix.

> Unable to add error details
> ---------------------------
>
>                 Key: AIRAVATA-1073
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-1073
>             Project: Airavata
>          Issue Type: Bug
>          Components: GFac, Registry API
>            Reporter: Raminderjeet Singh
>
> GFacUtils.saveErrorDetails is not able to save the job error details by passing the taskid.
Registry API is failing while checking for experiment exist. 
> java.lang.Exception: javax.persistence.NoResultException: Query "SELECT p FROM Experiment
p WHERE p.expId =:param0" selected no result, but expected unique result.
>         at org.apache.airavata.persistance.registry.jpa.impl.ExperimentRegistry.addErrorDetails(ExperimentRegistry.java:1284)
>         at org.apache.airavata.persistance.registry.jpa.impl.RegistryImpl.add(RegistryImpl.java:142)
>         ... 15 more
> Caused by: javax.persistence.NoResultException: Query "SELECT p FROM Experiment p WHERE
p.expId =:param0" selected no result, but expected unique result.
>         at org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:332)
>         at org.apache.airavata.persistance.registry.jpa.resources.GatewayResource.get(GatewayResource.java:246)
>         at org.apache.airavata.persistance.registry.jpa.resources.GatewayResource.getExperiment(GatewayResource.java:745)
>         at org.apache.airavata.persistance.registry.jpa.impl.ExperimentRegistry.addErrorDetails(ExperimentRegistry.java:1235)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message