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

NullPointerException in PDCloud plugin when starting VM without postBuildBehavior in config

      If postBuildBehavior parameter is absent in VM's config of PDCloud plugin (for example, config.xml was edited by hands) plugin crashes on VM start up:

      Exception occurred: java.lang.NullPointerException (to be caught at: com.parallels.desktopcloud.ParallelsDesktopConnectorSlaveComputer.startVM(), line=294 bci=232)"thread=jenkins.util.Timer [#7]", com.parallels.desktopcloud.ParallelsDesktopVM.getPostBuildCommand(), line=160 bci=7
      
      jenkins.util.Timer [#7][1] where
        [1] com.parallels.desktopcloud.ParallelsDesktopVM.getPostBuildCommand (ParallelsDesktopVM.java:160)
        [2] com.parallels.desktopcloud.ParallelsDesktopConnectorSlaveComputer.startVM (ParallelsDesktopConnectorSlaveComputer.java:289)
        [3] com.parallels.desktopcloud.ParallelsDesktopCloud.provision (ParallelsDesktopCloud.java:88)
        [4] hudson.slaves.NodeProvisioner$StandardStrategyImpl.apply (NodeProvisioner.java:700)
        [5] hudson.slaves.NodeProvisioner.update (NodeProvisioner.java:305)
        [6] hudson.slaves.NodeProvisioner.access$000 (NodeProvisioner.java:58)
        [7] hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun (NodeProvisioner.java:797)
        [8] hudson.triggers.SafeTimerTask.run (SafeTimerTask.java:50)
        [9] java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:511)
        [10] java.util.concurrent.FutureTask.runAndReset (FutureTask.java:308)
        [11] java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301 (ScheduledThreadPoolExecutor.java:180)
        [12] java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:294)
        [13] java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1,142)
        [14] java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
        [15] java.lang.Thread.run (Thread.java:745)

          [JENKINS-47273] NullPointerException in PDCloud plugin when starting VM without postBuildBehavior in config

          There are no comments yet on this issue.

            romankulikov Roman Kulikov
            romankulikov Roman Kulikov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: