airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-2827) ProcessRepository.updateProcess NullPointerException
Date Thu, 10 Jan 2019 15:47:00 GMT

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

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

Commit b24f1cebe0eec2fd77430b4e714cb0abdbddb2a5 in airavata's branch refs/heads/develop from
Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata.git;h=b24f1ce ]

AIRAVATA-2827 Backport TINYINT(1) fix to registry-core db scripts


> ProcessRepository.updateProcess NullPointerException
> ----------------------------------------------------
>
>                 Key: AIRAVATA-2827
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2827
>             Project: Airavata
>          Issue Type: Bug
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> Stacktrace:
> {noformat}
> 2018-06-13 20:36:30,377 [pool-9-thread-39] ERROR o.a.a.r.a.s.h.RegistryServerHandler
 - PROCESS_3af57d8b-1cb5-4c5a-9e37-6d492ba6a354
> org.apache.openjpa.persistence.PersistenceException: null
>         at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:1017)
>         at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:916)
>         at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4594)
>         at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4563)
>         at org.apache.openjpa.kernel.VersionAttachStrategy.attach(VersionAttachStrategy.java:80)
>         at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:252)
>         at org.apache.openjpa.kernel.AttachStrategy.attachCollection(AttachStrategy.java:348)
>         at org.apache.openjpa.kernel.AttachStrategy.replaceList(AttachStrategy.java:409)
>         at org.apache.openjpa.kernel.AttachStrategy.attachField(AttachStrategy.java:232)
>         at org.apache.openjpa.kernel.VersionAttachStrategy.attach(VersionAttachStrategy.java:163)
>         at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:252)
>         at org.apache.openjpa.kernel.AttachStrategy.attachCollection(AttachStrategy.java:348)
>         at org.apache.openjpa.kernel.AttachStrategy.replaceList(AttachStrategy.java:409)
>         at org.apache.openjpa.kernel.AttachStrategy.attachField(AttachStrategy.java:232)
>         at org.apache.openjpa.kernel.VersionAttachStrategy.attach(VersionAttachStrategy.java:163)
>         at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:252)
>         at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:105)
>         at org.apache.openjpa.kernel.BrokerImpl.attach(BrokerImpl.java:3474)
>         at org.apache.openjpa.kernel.DelegatingBroker.attach(DelegatingBroker.java:1214)
>         at org.apache.openjpa.persistence.EntityManagerImpl.merge(EntityManagerImpl.java:878)
>         at org.apache.airavata.registry.core.repositories.expcatalog.ProcessRepository.lambda$saveProcess$1(ProcessRepository.java:81)
>         at org.apache.airavata.registry.core.repositories.AbstractRepository.execute(AbstractRepository.java:120)
>         at org.apache.airavata.registry.core.repositories.expcatalog.ProcessRepository.saveProcess(ProcessRepository.java:81)
>         at org.apache.airavata.registry.core.repositories.expcatalog.ProcessRepository.saveProcessModelData(ProcessRepository.java:49)
>         at org.apache.airavata.registry.core.repositories.expcatalog.ProcessRepository.updateProcess(ProcessRepository.java:127)
>         at org.apache.airavata.registry.api.service.handler.RegistryServerHandler.updateProcess(RegistryServerHandler.java:936)
>         at org.apache.airavata.registry.api.RegistryService$Processor$updateProcess.getResult(RegistryService.java:15821)
>         at org.apache.airavata.registry.api.RegistryService$Processor$updateProcess.getResult(RegistryService.java:15805)
>         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:748)
> Caused by: java.lang.NullPointerException: null
> 2018-06-13 20:36:30,377 [pool-9-thread-39] ERROR o.a.thrift.ProcessFunction  - Internal
error processing updateProcess
> org.apache.airavata.model.error.AiravataSystemException: Error while updating process.
More info : null
>         at org.apache.airavata.registry.api.service.handler.RegistryServerHandler.updateProcess(RegistryServerHandler.java:939)
>         at org.apache.airavata.registry.api.RegistryService$Processor$updateProcess.getResult(RegistryService.java:15821)
>         at org.apache.airavata.registry.api.RegistryService$Processor$updateProcess.getResult(RegistryService.java:15805)
>         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:748)
> {noformat}
> Here's the error in GFac:
> {noformat}
> 2018-06-13 20:36:30,382 [pool-3-thread-3] ERROR o.a.a.g.s.GfacServerHandler process_id=PROCESS_3af57d8b-1cb5-4c5a-9e37-6d492ba6a354,
token_id=7cd58288-c013-462b-b091-530d0ca1ebad, experiment_id=EchoonJun13,20184:33PM_c59ffdad-d538-4417-8faf-deffc00d2876,
gateway_id=seagrid - Submission of process PROCESS_3af57d8b-1cb5-4c5a-9e37-6d492ba6a354 failed
> org.apache.thrift.TException: Error creating zookeeper nodes
>         at org.apache.airavata.gfac.server.GfacServerHandler.submitProcess(GfacServerHandler.java:170)
>         at org.apache.airavata.gfac.server.GfacServerHandler$ProcessLaunchMessageHandler.onMessage(GfacServerHandler.java:261)
>         at org.apache.airavata.messaging.core.impl.ProcessConsumer.handleDelivery(ProcessConsumer.java:81)
>         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: org.apache.thrift.TApplicationException: Internal error processing updateProcess
>         at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:79)
>         at org.apache.airavata.registry.api.RegistryService$Client.recv_updateProcess(RegistryService.java:4153)
>         at org.apache.airavata.registry.api.RegistryService$Client.updateProcess(RegistryService.java:4139)
>         at org.apache.airavata.gfac.impl.GFacEngineImpl.populateProcessContext(GFacEngineImpl.java:178)
>         at org.apache.airavata.gfac.impl.GFacWorker.<init>(GFacWorker.java:77)
>         at org.apache.airavata.gfac.server.GfacServerHandler.submitProcess(GfacServerHandler.java:159)
>         ... 7 common frames omitted
> {noformat}



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

Mime
View raw message