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 17:35:41 GMT

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

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

I just reproduced this bug in production, getting the same error
{noformat}
2017-03-27 13:01:33,606 [pool-4-thread-32] ERROR org.apache.airavata.registry.core.experiment.catalog.impl.ExperimentCatalogImpl
 - Error while updating the resource PROJECT
org.apache.airavata.registry.cpi.RegistryException: org.apache.airavata.registry.cpi.RegistryException:
java.lang.NullPointerException
        at org.apache.airavata.registry.core.experiment.catalog.impl.ExperimentCatalogImpl.update(ExperimentCatalogImpl.java:274)
        at org.apache.airavata.api.server.handler.AiravataServerHandler.updateProject(AiravataServerHandler.java:623)
        at org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$bbc4d438.CGLIB$updateProject$120(<generated>)
        at org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$bbc4d438$$FastClassByGuice$$5809422.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$$bbc4d438.updateProject(<generated>)
        at org.apache.airavata.api.Airavata$Processor$updateProject.getResult(Airavata.java:14045)
        at org.apache.airavata.api.Airavata$Processor$updateProject.getResult(Airavata.java:14029)
        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:216)
        ... 17 more
Caused by: java.lang.NullPointerException
        at org.apache.airavata.registry.core.experiment.catalog.impl.ProjectRegistry.updateProject(ProjectRegistry.java:115)
        ... 18 more
{noformat}

So that means this isn't an issue with the deployment or a bug introduced in the develop branch.

> 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