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] [Assigned] (AIRAVATA-2825) ProcessStatusPK.hashCode NullPointerException
Date Wed, 13 Jun 2018 19:29:00 GMT

     [ https://issues.apache.org/jira/browse/AIRAVATA-2825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcus Christie reassigned AIRAVATA-2825:
-----------------------------------------

    Assignee: Marcus Christie

> ProcessStatusPK.hashCode NullPointerException
> ---------------------------------------------
>
>                 Key: AIRAVATA-2825
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2825
>             Project: Airavata
>          Issue Type: Bug
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> Stacktrace:
> {noformat}
> 2018-06-13 19:25:32,057 [pool-10-thread-40] ERROR o.a.a.r.c.r.AbstractRepository  - Failed
to execute transaction
> 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.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.ProcessStatusRepository.lambda$saveProcessStatus$0
> (ProcessStatusRepository.java:52)
>         at org.apache.airavata.registry.core.repositories.AbstractRepository.execute(AbstractRepository.java:120)
>         at org.apache.airavata.registry.core.repositories.expcatalog.ProcessStatusRepository.saveProcessStatus(ProcessS
> tatusRepository.java:52)
>         at org.apache.airavata.registry.core.repositories.expcatalog.ProcessStatusRepository.updateProcessStatus(Proces
> sStatusRepository.java:67)
>         at org.apache.airavata.registry.api.service.handler.RegistryServerHandler.updateProcessStatus(RegistryServerHan
> dler.java:868)
>         at org.apache.airavata.registry.api.RegistryService$Processor$updateProcessStatus.getResult(RegistryService.jav
> a:15701)
>         at org.apache.airavata.registry.api.RegistryService$Processor$updateProcessStatus.getResult(RegistryService.jav
> a:15685)
>         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
>         at org.apache.airavata.registry.core.entities.expcatalog.ProcessStatusPK.hashCode(ProcessStatusPK.java:70)
>         at org.apache.openjpa.util.ObjectId.idHash(ObjectId.java:58)
>         at org.apache.openjpa.util.OpenJPAId.hashCode(OpenJPAId.java:124)
>         at org.apache.commons.collections.map.AbstractHashedMap.hash(AbstractHashedMap.java:372)
>         at org.apache.commons.collections.map.AbstractHashedMap.getEntry(AbstractHashedMap.java:432)
>         at org.apache.commons.collections.map.AbstractReferenceMap.getEntry(AbstractReferenceMap.java:404)
>         at org.apache.commons.collections.map.AbstractReferenceMap.get(AbstractReferenceMap.java:229)
>         at org.apache.openjpa.kernel.ManagedCache.getById(ManagedCache.java:67)
>         at org.apache.openjpa.kernel.BrokerImpl.getStateManagerImplById(BrokerImpl.java:4632)
>         at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:940)
>         ... 22 common frames omitted
> {noformat}
> which occurs during a call to RegistryServerHandler.updateProcessStatus: 
> {noformat}
> 2018-06-13 19:25:32,060 [pool-10-thread-40] ERROR o.a.thrift.ProcessFunction  - Internal
error processing updateProcessStatus
> org.apache.airavata.model.error.AiravataSystemException: Error while updating process
status. More info : null
>         at org.apache.airavata.registry.api.service.handler.RegistryServerHandler.updateProcessStatus(RegistryServerHandler.java:871)
>         at org.apache.airavata.registry.api.RegistryService$Processor$updateProcessStatus.getResult(RegistryService.java:15701)
>         at org.apache.airavata.registry.api.RegistryService$Processor$updateProcessStatus.getResult(RegistryService.java:15685)
>         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}



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

Mime
View raw message