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

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

Commit 6f7d3b589e0804aacfd54eb4d8b4c4705bf1cb4f in airavata-php-gateway's 
branch refs/heads/dreg-gateway from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-php-gateway.git;h=6f7d3b5 ]

AIRAVATA-2995 Require input when file doesn't exist


> Cloned experiment was able to submit without mandatory input files.
> -------------------------------------------------------------------
>
>                 Key: AIRAVATA-2995
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2995
>             Project: Airavata
>          Issue Type: Bug
>          Components: PGA PHP Web Gateway
>    Affects Versions: 0.18
>         Environment: https://gateway.simvascular.org
>            Reporter: Eroma
>            Assignee: Marcus Christie
>            Priority: Major
>             Fix For: 0.18
>
>
> # Cloned an expriment without input files (files removed as part of strage 
> cleaning process)
>  # The new cloned one 
> (Clone_of_Test-Sim1_3bd871fa-09b6-494e-b71b-811ce548880b) was able to save 
> and launch without the input files.
>  # experiment in CREATED, not moving further or failing.
>  # Error in api log  : 2019-03-13 01:47:35,348 [pool-31-thread-5] ERROR 
> o.a.a.o.s.OrchestratorServerHandler 
> experiment_id=Clone_of_Test-Sim1_3bd871fa-09b6-494e-b71b-811ce548880b, 
> gateway_id=simvascular - Experiment launch failed due to Thrift conversion 
> error, experimentId: Clone_of_Test-Sim1_3bd871fa-09b6-494e-b71b-811ce548880b, 
> gatewayId: simvascular
> org.apache.thrift.TException: Experiment 
> 'Clone_of_Test-Sim1_3bd871fa-09b6-494e-b71b-811ce548880b' launch failed. 
> Unable to figureout execution type for application 
> SimVascular_3fe8243b-0191-499e-a2ec-9d77fde9ce36
>  at 
> org.apache.airavata.orchestrator.server.OrchestratorServerHandler.launchExperiment(OrchestratorServerHandler.java:251)
>  at 
> org.apache.airavata.orchestrator.server.OrchestratorServerHandler.launchExperiment(OrchestratorServerHandler.java:666)
>  at 
> org.apache.airavata.orchestrator.server.OrchestratorServerHandler.access$500(OrchestratorServerHandler.java:76)
>  at 
> org.apache.airavata.orchestrator.server.OrchestratorServerHandler$ExperimentHandler.onMessage(OrchestratorServerHandler.java:622)
>  at 
> org.apache.airavata.messaging.core.impl.ExperimentConsumer.handleDelivery(ExperimentConsumer.java:84)
>  at 
> com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:144)
>  at 
> com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:99)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.NullPointerException: null
>  at 
> org.apache.airavata.orchestrator.server.OrchestratorServerHandler.lambda$launchExperiment$2(OrchestratorServerHandler.java:178)
>  at 
> java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
>  at 
> java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
>  at 
> org.apache.airavata.orchestrator.server.OrchestratorServerHandler.launchExperiment(OrchestratorServerHandler.java:177)
>  ... 9 common frames omitted



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to