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

AiravataTaskStatusUpdator.updateTaskStatus has java.lang.NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.12
    • 0.12
    • Registry API
    • None

    Description

      [ERROR] Error while updating transfer status...
      [ERROR] Error while updating transfer details...
      [ERROR] Error while updating task details...
      [ERROR] Error while updating the resource..
      org.apache.airavata.registry.cpi.RegistryException: java.lang.Exception: java.lang.Exception: java.lang.NullPointerException
      at org.apache.airavata.persistance.registry.jpa.impl.RegistryImpl.update(RegistryImpl.java:240)
      at org.apache.airavata.gfac.monitor.AiravataTaskStatusUpdator.updateTaskStatus(AiravataTaskStatusUpdator.java:100)
      at org.apache.airavata.gfac.monitor.AiravataTaskStatusUpdator.updateRegistry(AiravataTaskStatusUpdator.java:58)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
      at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
      at com.google.common.eventbus.EventBus.post(EventBus.java:268)
      at org.apache.airavata.gfac.monitor.event.MonitorPublisher.publish(MonitorPublisher.java:44)
      at org.apache.airavata.gfac.monitor.impl.pull.qstat.QstatMonitor.startPulling(QstatMonitor.java:140)
      at org.apache.airavata.gfac.monitor.impl.pull.qstat.QstatMonitor.run(QstatMonitor.java:76)
      at java.lang.Thread.run(Thread.java:744)
      [ERROR] Error persisting dataError while updating the resource..
      org.apache.airavata.registry.cpi.RegistryException: Error while updating the resource..
      at org.apache.airavata.persistance.registry.jpa.impl.RegistryImpl.update(RegistryImpl.java:241)
      at org.apache.airavata.gfac.monitor.AiravataTaskStatusUpdator.updateTaskStatus(AiravataTaskStatusUpdator.java:100)
      at org.apache.airavata.gfac.monitor.AiravataTaskStatusUpdator.updateRegistry(AiravataTaskStatusUpdator.java:58)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
      at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
      at com.google.common.eventbus.EventBus.post(EventBus.java:268)
      at org.apache.airavata.gfac.monitor.event.MonitorPublisher.publish(MonitorPublisher.java:44)
      at org.apache.airavata.gfac.monitor.impl.pull.qstat.QstatMonitor.startPulling(QstatMonitor.java:140)
      at org.apache.airavata.gfac.monitor.impl.pull.qstat.QstatMonitor.run(QstatMonitor.java:76)
      at java.lang.Thread.run(Thread.java:744)
      Caused by: java.lang.Exception: java.lang.Exception: java.lang.Exception: java.lang.NullPointerException
      at org.apache.airavata.persistance.registry.jpa.impl.ExperimentRegistry.updateTaskDetails(ExperimentRegistry.java:942)
      at org.apache.airavata.persistance.registry.jpa.impl.RegistryImpl.update(RegistryImpl.java:200)
      ... 15 more

      Attachments

        Activity

          People

            raminder Raminderjeet Singh
            raminder Raminderjeet Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: