Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

NullPointerException on master step #3903

HealingQuickly ·

Hi Robin.

I have a promotion that passes a few .zip files to the target config, and for some reason the promotion fails before anything starts. The folder for the promoted files (defined in the source promotion) are created but nothing is in there.
Here is the entire error log:

18:45:22,428 INFO  - Executing pre-execute action...
18:45:22,446 INFO  - Executing post-execute action...
18:45:22,446 ERROR - Step 'master' is failed.
    java.lang.NullPointerException
        at com.pmease.quickbuild.util.FileUtils.listFiles(FileUtils.java:486)
        at com.pmease.quickbuild.util.FileUtils.copyFiles(FileUtils.java:329)
        at com.pmease.quickbuild.grid.CopyFilesJob.execute(CopyFilesJob.java:69)
        at com.pmease.quickbuild.grid.GridNode.executeJob(GridNode.java:484)
        at com.pmease.quickbuild.grid.GridImpl.transferFiles(GridImpl.java:171)
        at com.pmease.quickbuild.setting.configuration.artifactstorage.ServerArtifactStorage$1.download(ServerArtifactStorage.java:77)
        at com.pmease.quickbuild.stepsupport.Step.doExecute(Step.java:592)
        at com.pmease.quickbuild.stepsupport.Step.execute(Step.java:521)
        at com.pmease.quickbuild.stepsupport.StepExecutionJob.executeStepAwareJob(StepExecutionJob.java:31)
        at com.pmease.quickbuild.stepsupport.StepAwareJob.executeBuildAwareJob(StepAwareJob.java:45)
        at com.pmease.quickbuild.BuildAwareJob.execute(BuildAwareJob.java:60)
        at com.pmease.quickbuild.grid.GridJob.run(GridJob.java:115)
        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)

The server node is Linux by the way. What's more weird is, if I switch the node selection for the master step to "windows node", the config will run normally.

What could be the problem here?

Thanks!

  • solved #2
  • replies 1
  • views 667
  • stars 0
robinshen ADMIN ·

Looks like you've specified an empty pattern (or the pattern evaluates to empty) for file delivery in promotion definition.