airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-1073) Unable to add error details
Date Tue, 11 Mar 2014 20:34:43 GMT

    [ https://issues.apache.org/jira/browse/AIRAVATA-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13930906#comment-13930906
] 

ASF subversion and git services commented on AIRAVATA-1073:
-----------------------------------------------------------

Commit 258b5a7dc00eb6bf4975f55ccbe747d37155fcdf in airavata's branch refs/heads/master from
chathuri
[ https://git-wip-us.apache.org/repos/asf?p=airavata.git;h=258b5a7 ]

temperory fix for AIRAVATA-1073


> 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