airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Christie (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-2347) In airavata 0.17 JS deployment, cannot edit a project, getting a NullPointerException
Date Mon, 27 Mar 2017 15:09:41 GMT

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

Marcus Christie commented on AIRAVATA-2347:
-------------------------------------------

I ran the following
{code:sql}
MySQL [sharing_catalog]> alter table ENTITY MODIFY SHARED_COUNT BIGINT DEFAULT 0;
{code}

against the database deployed at 149.165.172.163.  This incorporates the [change made to the
mysql script recently|https://github.com/apache/airavata/blob/9d419449707279aa186a094379ce2d8122801dbd/modules/sharing-registry/sharing-registry-server/src/main/resources/sharing-registry-mysql.sql#L104-L104].

> In airavata 0.17 JS deployment, cannot edit a project, getting a NullPointerException
> -------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-2347
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2347
>             Project: Airavata
>          Issue Type: Bug
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>
> Stack trace:
> {noformat}
> 2017-03-24 14:27:54 [pool-1-thread-41] 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:3423)
>         at org.apache.airavata.registry.api.RegistryService$Processor$updateProject.getResult(RegistryService.java:12240)
>         at org.apache.airavata.registry.api.RegistryService$Processor$updateProject.getResult(RegistryService.java:12224)
>         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
> 2017-03-24 14:27:54 [pool-8-thread-48] ERROR o.a.a.a.s.h.AiravataServerHandler - Error
while updating the project
> org.apache.airavata.registry.api.exception.RegistryServiceException: Error while updating
the project. More info : Error while updating the resource..PROJECT
>         at org.apache.airavata.registry.api.RegistryService$updateProject_result$updateProject_resultStandardScheme.read(RegistryService.java:37671)
>         at org.apache.airavata.registry.api.RegistryService$updateProject_result$updateProject_resultStandardScheme.read(RegistryService.java:37657)
>         at org.apache.airavata.registry.api.RegistryService$updateProject_result.read(RegistryService.java:37599)
>         at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:86)
>         at org.apache.airavata.registry.api.RegistryService$Client.recv_updateProject(RegistryService.java:3157)
>         at org.apache.airavata.registry.api.RegistryService$Client.updateProject(RegistryService.java:3143)
>         at org.apache.airavata.api.server.handler.AiravataServerHandler.updateProject(AiravataServerHandler.java:808)
>         at org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$33a53652.CGLIB$updateProject$19(<generated>)
>         at org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$33a53652$$FastClassByGuice$$39729e10.invoke(<generated>)
>         at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
>         at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)
>         at org.apache.airavata.api.server.security.interceptor.SecurityInterceptor.invoke(SecurityInterceptor.java:57)
>         at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)
>         at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)
>         at org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$33a53652.updateProject(<generated>)
>         at org.apache.airavata.api.Airavata$Processor$updateProject.getResult(Airavata.java:16867)
>         at org.apache.airavata.api.Airavata$Processor$updateProject.getResult(Airavata.java:16851)
>         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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message