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] [Resolved] (AIRAVATA-2981) Failure to clone experiment: NullPointerException at ProcessInputPK.hashCode
Date Mon, 18 Feb 2019 20:52:00 GMT

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

Marcus Christie resolved AIRAVATA-2981.
---------------------------------------
    Resolution: Fixed

> Failure to clone experiment: NullPointerException at ProcessInputPK.hashCode
> ----------------------------------------------------------------------------
>
>                 Key: AIRAVATA-2981
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2981
>             Project: Airavata
>          Issue Type: Bug
>          Components: Registry API
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> Stack trace:
> {noformat}
> 2019-02-18 16:33:55,817 [pool-10-thread-49] 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:1029)
>         at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:928)
>         at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4634)
>         at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4603)
>         at org.apache.openjpa.kernel.VersionAttachStrategy.attach(VersionAttachStrategy.java:83)
>         at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:252)
>         at org.apache.openjpa.kernel.AttachStrategy.attachCollection(AttachStrategy.java:369)
>         at org.apache.openjpa.kernel.AttachStrategy.replaceList(AttachStrategy.java:430)
>         at org.apache.openjpa.kernel.AttachStrategy.attachField(AttachStrategy.java:253)
>         at org.apache.openjpa.kernel.VersionAttachStrategy.attach(VersionAttachStrategy.java:158)
>         at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:252)
>         at org.apache.openjpa.kernel.AttachStrategy.attachCollection(AttachStrategy.java:369)
>         at org.apache.openjpa.kernel.AttachStrategy.replaceList(AttachStrategy.java:430)
>         at org.apache.openjpa.kernel.AttachStrategy.attachField(AttachStrategy.java:253)
>         at org.apache.openjpa.kernel.VersionAttachStrategy.attach(VersionAttachStrategy.java:158)
>         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:3514)
>         at org.apache.openjpa.kernel.DelegatingBroker.attach(DelegatingBroker.java:1213)
>         at org.apache.openjpa.persistence.EntityManagerImpl.merge(EntityManagerImpl.java:879)
>         at org.apache.airavata.registry.core.repositories.expcatalog.ExperimentRepository.lambda$saveExperiment$6(Exper
> imentRepository.java:111)
>         at org.apache.airavata.registry.core.repositories.AbstractRepository.execute(AbstractRepository.java:118)
>         at org.apache.airavata.registry.core.repositories.expcatalog.ExperimentRepository.saveExperiment(ExperimentRepository.java:111)
>         at org.apache.airavata.registry.core.repositories.expcatalog.ExperimentRepository.saveExperimentModelData(ExperimentRepository.java:52)
>         at org.apache.airavata.registry.core.repositories.expcatalog.ExperimentRepository.addExperiment(ExperimentRepository.java:121)
>         at org.apache.airavata.registry.api.service.handler.RegistryServerHandler.createExperiment(RegistryServerHandler.java:3722)
>         at org.apache.airavata.registry.api.RegistryService$Processor$createExperiment.getResult(RegistryService.java:15562)
>         at org.apache.airavata.registry.api.RegistryService$Processor$createExperiment.getResult(RegistryService.java:15546)
>         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.ProcessInputPK.hashCode(ProcessInputPK.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:4672)
>         at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:952)
>         ... 33 common frames omitted
> {noformat}



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

Mime
View raw message