Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4778311581 for ; Wed, 14 May 2014 17:53:18 +0000 (UTC) Received: (qmail 49631 invoked by uid 500); 14 May 2014 17:53:17 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 49568 invoked by uid 500); 14 May 2014 17:53:16 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 49560 invoked by uid 99); 14 May 2014 17:53:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 May 2014 17:53:16 +0000 Date: Wed, 14 May 2014 17:53:16 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@airavata.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AIRAVATA-1207) Clone experiment not working MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AIRAVATA-1207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13997814#comment-13997814 ] ASF subversion and git services commented on AIRAVATA-1207: ----------------------------------------------------------- Commit 22d0a6f49547a9143dc7ae68b8ffff4d8e18786f in airavata's branch refs/heads/master from [~chathuri] [ https://git-wip-us.apache.org/repos/asf?p=airavata.git;h=22d0a6f ] change cloneExperiment method to have previousExpID and updated experiment - AIRAVATA-1207, fix issues in appcatalog thrift files > Clone experiment not working > ---------------------------- > > Key: AIRAVATA-1207 > URL: https://issues.apache.org/jira/browse/AIRAVATA-1207 > Project: Airavata > Issue Type: Bug > Components: Airavata API > Affects Versions: 0.12 > Reporter: Raminderjeet Singh > > While cloning the experiment from a already completed experiment following error is coming on airavata server. Registry database has the cloned experiment entry. > org.apache.airavata.registry.cpi.RegistryException: java.lang.Exception: java.lang.Exception: java.lang.NullPointerException > at org.apache.airavata.persistance.registry.jpa.impl.RegistryImpl.add(RegistryImpl.java:90) > at org.apache.airavata.api.server.handler.AiravataServerHandler.cloneExperiment(AiravataServerHandler.java:465) > at org.apache.airavata.api.Airavata$Processor$cloneExperiment.getResult(Airavata.java:2041) > at org.apache.airavata.api.Airavata$Processor$cloneExperiment.getResult(Airavata.java:2025) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:225) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > [ERROR] Error while cloning the experiment with existing configuration... > org.apache.airavata.registry.cpi.RegistryException: Error while adding the resource.. > at org.apache.airavata.persistance.registry.jpa.impl.RegistryImpl.add(RegistryImpl.java:91) > at org.apache.airavata.api.server.handler.AiravataServerHandler.cloneExperiment(AiravataServerHandler.java:465) > at org.apache.airavata.api.Airavata$Processor$cloneExperiment.getResult(Airavata.java:2041) > at org.apache.airavata.api.Airavata$Processor$cloneExperiment.getResult(Airavata.java:2025) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:225) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > Caused by: java.lang.Exception: java.lang.Exception: java.lang.Exception: java.lang.NullPointerException > at org.apache.airavata.persistance.registry.jpa.impl.ExperimentRegistry.addExperiment(ExperimentRegistry.java:119) > at org.apache.airavata.persistance.registry.jpa.impl.RegistryImpl.add(RegistryImpl.java:84) > ... 9 more -- This message was sent by Atlassian JIRA (v6.2#6252)