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

Marcus Christie commented on AIRAVATA-1705:
-------------------------------------------

We're getting this error in the registry server
{noformat}
2016-11-14 16:21:25 [pool-1-thread-21377] ERROR 
o.a.a.r.a.s.h.RegistryServerHandler - Error while updating the project
org.apache.airavata.registry.cpi.RegistryException: Error while updating the 
resource..PROJECT
        at 
org.apache.airavata.registry.core.experiment.catalog.impl.ExperimentCatalogImpl.update(ExperimentCatalogImpl.java:276)
        at 
org.apache.airavata.registry.api.service.handler.RegistryServerHandler.updateProject(RegistryServerHandler.java:3414)
        at 
org.apache.airavata.registry.api.RegistryService$Processor$updateProject.getResult(RegistryService.java:12180)
        at 
org.apache.airavata.registry.api.RegistryService$Processor$updateProject.getResult(RegistryService.java:12164)
        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:286)
        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:745)
Caused by: org.apache.airavata.registry.cpi.RegistryException: 
java.lang.NullPointerException
        at 
org.apache.airavata.registry.core.experiment.catalog.impl.ProjectRegistry.updateProject(ProjectRegistry.java:148)
        at 
org.apache.airavata.registry.core.experiment.catalog.impl.ExperimentCatalogImpl.update(ExperimentCatalogImpl.java:217)
        ... 9 common frames omitted
Caused by: java.lang.NullPointerException: null
        at 
org.apache.airavata.registry.core.experiment.catalog.impl.ProjectRegistry.updateProject(ProjectRegistry.java:115)
        ... 10 common frames omitted
{noformat}

This is the same error reported in AIRAVATA-2218. I'll reopen AIRAVATA-2218.

But PGA should also handle the error better. It should redisplay the form with 
the values provided by the user and an error message.

> In PGA when Project name, description updated and saved, modified information 
> does not get saved
> ------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-1705
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-1705
>             Project: Airavata
>          Issue Type: Bug
>          Components: PGA PHP Web Gateway
>         Environment: 
> http://dev.test-drive.airavata.org/portal/ultrascan-testing/public
> https://dev.seagrid.org/
>            Reporter: Eroma
>            Assignee: Marcus Christie
>             Fix For: 0.17-SNAPSHOT
>
>
> Navigated to Edit Project page and updated the name and description and 
> clicked on Save button.
> None of the modifications are saved; updated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to