You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Raminderjeet Singh (JIRA)" <ji...@apache.org> on 2014/03/20 18:46:44 UTC

[jira] [Resolved] (AIRAVATA-1073) Unable to add error details

     [ 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)