Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1851

JobScheduler Universal agent throws an error akka.dispatch.Dispatcher - SetOnce has not been set java.lang.IllegalStateException: SetOnce has not been set

    XMLWordPrintable

Details

    Description

      Current Situation

      • The customer run a large number of tasks running on JobScheduler universal agent.
      • intermittently agent throws an error
      • 2019-07-02 05:42:05,165 +0200 [ERROR] akka.dispatch.Dispatcher - SetOnce has not been set
        java.lang.IllegalStateException: SetOnce has not been set
        	at com.sos.scheduler.engine.common.scalautil.SetOnce$$anonfun$apply$1.apply(SetOnce.scala:19)
        	at com.sos.scheduler.engine.common.scalautil.SetOnce$$anonfun$apply$1.apply(SetOnce.scala:19)
        	at com.sos.scheduler.engine.common.scalautil.SetOnce.getOrElse(SetOnce.scala:31)
        	at com.sos.scheduler.engine.common.scalautil.SetOnce.apply(SetOnce.scala:19)
        	at com.sos.scheduler.engine.tunnel.server.Connector$inactivityWatchdog$$anonfun$restart$1$$anonfun$apply$1.apply$mcV$sp(Connector.scala:60)
        	at com.sos.scheduler.engine.common.time.timer.Timer$$anonfun$onElapsed$1.apply(Timer.scala:29)
        	at com.sos.scheduler.engine.common.time.timer.Timer$$anonfun$onElapsed$1.apply(Timer.scala:28)
        	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:36)
        	at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
        	at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)
        	at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
        	at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
        	at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
        	at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)
        	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)
        	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:415)
        	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
        	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
        	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
        	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) 

      Desired Situation

      • The Universal Agent should not throw the error akka.dispatch.Dispatcher - SetOnce has not been set java.lang.IllegalStateException: SetOnce has not been set

      Maintainers Note

      • This issue we as caused by incompatible patch from JS-1851 deployed to agent release 1.12.7.
      • The JS-1851 provided a patch for release 1.12.9 but user has deployed the patch to release 1.12.7, which has caused this error.
      • The JobScheduler and Universal Agents are working as expected.

      Attachments

        Issue Links

          Activity

            People

              mp Mahendra Patidar
              mp Mahendra Patidar
              Mahendra Patidar Mahendra Patidar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: