Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Stack trace:
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