Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65356

NPE in Docker Swarm plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • docker-swarm-plugin
    • None
    • Jenkins weekly 2.288
      Swarm plugin 3.25
      CentOS 7

      While tailing the jenkins log, I saw this message:

      [ERROR] [04/13/2021 20:11:18.816] [swarm-plugin-akka.actor.default-dispatcher-8] [akka://swarm-plugin/user/reset-stuck-builds-actor] null
      java.lang.NullPointerException
              at org.jenkinsci.plugins.docker.swarm.ResetStuckBuildsInQueueActor.resetStuckBuildsInQueue(ResetStuckBuildsInQueueActor.java:36)
              at org.jenkinsci.plugins.docker.swarm.ResetStuckBuildsInQueueActor.lambda$createReceive$0(ResetStuckBuildsInQueueActor.java:27)
              at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24)
              at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20)
              at scala.PartialFunction.applyOrElse(PartialFunction.scala:127)
              at scala.PartialFunction.applyOrElse$(PartialFunction.scala:126)
              at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20)
              at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:175)
              at akka.actor.Actor.aroundReceive(Actor.scala:539)
              at akka.actor.Actor.aroundReceive$(Actor.scala:537)
              at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:227)
              at akka.actor.ActorCell.receiveMessage(ActorCell.scala:612)
              at akka.actor.ActorCell.invoke(ActorCell.scala:581)
              at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:268)
              at akka.dispatch.Mailbox.run(Mailbox.scala:229)
              at akka.dispatch.Mailbox.exec(Mailbox.scala:241)
              at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
              at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
              at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
              at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) 

      I am not sure in what conditions it happened (what caused it) or what might be the impact, could not pinpoint it to a particular worker or job failure, if any. So for now not tacking a priority on this.

      But still, an unhandled NULL dereference is not right

            surya548 surya gaddipati
            jimklimov Jim Klimov
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: