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] [Created] (AIRAVATA-1073) Unable to add error details
Date Tue, 11 Mar 2014 15:25:49 GMT
Raminderjeet Singh created AIRAVATA-1073:
--------------------------------------------

             Summary: 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