java.lang.Exception

Jenkins JIRA | Owen Wood | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Jenkins Version: 1.651 Mail Watcher Plugin: 1.13 Pipeline: 2.0 Steps to re-produce: 1. Add dumb slave (my-node) 2. Configure - Notify when node online status changes (ticked) 3. Create pipeline job (MY_JOB), using node: {code} node('my-node') { echo 'hello world' } {code} Logs from build run: {code} Apr 22, 2016 12:16:15 PM org.jenkinsci.plugins.workflow.job.WorkflowRun finish INFO: MY_JOB #1 completed: SUCCESS Apr 22, 2016 12:16:15 PM org.jenkinsci.plugins.mailwatcher.NodeAwailabilityListener onFinalized INFO: Unable to identify the slave of MY_JOB #1 (class org.jenkinsci.plugins.workflow.job.WorkflowRun) java.lang.Exception at org.jenkinsci.plugins.mailwatcher.NodeAwailabilityListener.onFinalized(NodeAwailabilityListener.java:79) at hudson.model.listeners.RunListener.fireFinalized(RunListener.java:232) at hudson.model.Run.onEndBuilding(Run.java:1888) at org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:540) at org.jenkinsci.plugins.workflow.job.WorkflowRun.access$1100(WorkflowRun.java:111) at org.jenkinsci.plugins.workflow.job.WorkflowRun$GraphL.onNewHead(WorkflowRun.java:777) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:843) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$4.run(CpsThreadGroup.java:340) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:32) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) 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:745) {code} https://github.com/jenkinsci/mail-watcher-plugin/blob/master/src/main/java/org/jenkinsci/plugins/mailwatcher/NodeAwailabilityListener.java#L78

    Jenkins JIRA | 10 months ago | Owen Wood
    java.lang.Exception
  2. 0

    Jenkins Version: 1.651 Mail Watcher Plugin: 1.13 Pipeline: 2.0 Steps to re-produce: 1. Add dumb slave (my-node) 2. Configure - Notify when node online status changes (ticked) 3. Create pipeline job (MY_JOB), using node: {code} node('my-node') { echo 'hello world' } {code} Logs from build run: {code} Apr 22, 2016 12:16:15 PM org.jenkinsci.plugins.workflow.job.WorkflowRun finish INFO: MY_JOB #1 completed: SUCCESS Apr 22, 2016 12:16:15 PM org.jenkinsci.plugins.mailwatcher.NodeAwailabilityListener onFinalized INFO: Unable to identify the slave of MY_JOB #1 (class org.jenkinsci.plugins.workflow.job.WorkflowRun) java.lang.Exception at org.jenkinsci.plugins.mailwatcher.NodeAwailabilityListener.onFinalized(NodeAwailabilityListener.java:79) at hudson.model.listeners.RunListener.fireFinalized(RunListener.java:232) at hudson.model.Run.onEndBuilding(Run.java:1888) at org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:540) at org.jenkinsci.plugins.workflow.job.WorkflowRun.access$1100(WorkflowRun.java:111) at org.jenkinsci.plugins.workflow.job.WorkflowRun$GraphL.onNewHead(WorkflowRun.java:777) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:843) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$4.run(CpsThreadGroup.java:340) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:32) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) 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:745) {code} https://github.com/jenkinsci/mail-watcher-plugin/blob/master/src/main/java/org/jenkinsci/plugins/mailwatcher/NodeAwailabilityListener.java#L78

    Jenkins JIRA | 10 months ago | Owen Wood
    java.lang.Exception
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Exception

      No message provided

      at org.jenkinsci.plugins.mailwatcher.NodeAwailabilityListener.onFinalized()
    2. org.jenkinsci.plugins
      NodeAwailabilityListener.onFinalized
      1. org.jenkinsci.plugins.mailwatcher.NodeAwailabilityListener.onFinalized(NodeAwailabilityListener.java:79)
      1 frame
    3. Hudson
      Run.onEndBuilding
      1. hudson.model.listeners.RunListener.fireFinalized(RunListener.java:232)
      2. hudson.model.Run.onEndBuilding(Run.java:1888)
      2 frames
    4. org.jenkinsci.plugins
      CpsVmExecutorService$1.run
      1. org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:540)
      2. org.jenkinsci.plugins.workflow.job.WorkflowRun.access$1100(WorkflowRun.java:111)
      3. org.jenkinsci.plugins.workflow.job.WorkflowRun$GraphL.onNewHead(WorkflowRun.java:777)
      4. org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:843)
      5. org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$4.run(CpsThreadGroup.java:340)
      6. org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:32)
      6 frames
    5. Hudson :: Remoting Layer
      SingleLaneExecutorService$1.run
      1. hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
      1 frame
    6. jenkins.util
      ContextResettingExecutorService$1.run
      1. jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames