Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-2932

Exception thrown when trying to add a job submission protocol

    XMLWordPrintableJSON

Details

    Description

      When creating a new compute resource, added the description and queue successfully. Then selected SSH, port, bin path, etc and tried to add the submission protocol and exception thrown. - Error while adding job submission interface to resource compute resource. More info : null

       

      And the job submission module is not been added.

      Same exception thrown for data movement interface as well.

      Stacktrace

      2018-11-01 14:17:59,220 [pool-9-thread-2] ERROR o.a.t.server.TThreadPoolServer  - Error occurred during processing of m
      essage.
      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:166)
              at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:252)
              at org.apache.openjpa.kernel.AttachStrategy.attachField(AttachStrategy.java:232)
              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.appcatalog.JobSubmissionInterfaceRepository.lambda$addJobSubm
      ission$0(JobSubmissionInterfaceRepository.java:43)
              at org.apache.airavata.registry.core.repositories.AbstractRepository.execute(AbstractRepository.java:117)
              at org.apache.airavata.registry.core.repositories.appcatalog.JobSubmissionInterfaceRepository.addJobSubmission(
      JobSubmissionInterfaceRepository.java:43)
              at org.apache.airavata.registry.core.repositories.appcatalog.ComputeResourceRepository.addJobSubmissionProtocol
      (ComputeResourceRepository.java:283)
              at org.apache.airavata.registry.api.service.handler.RegistryServerHandler.addJobSubmissionInterface(RegistrySer
      verHandler.java:4268)
              at org.apache.airavata.registry.api.service.handler.RegistryServerHandler.addSSHJobSubmissionDetails(RegistrySe
      rverHandler.java:3327)
              at org.apache.airavata.registry.api.RegistryService$Processor$addSSHJobSubmissionDetails.getResult(RegistryServ
      ice.java:17402)
              at org.apache.airavata.registry.api.RegistryService$Processor$addSSHJobSubmissionDetails.getResult(RegistryServ
      ice.java:17386)
              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.appcatalog.BatchQueuePK.hashCode(BatchQueuePK.java:71)
              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)
              ... 31 common frames omitted
      

       

      Attachments

        Activity

          People

            marcuschristie Marcus Christie
            eroma_a Eroma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: