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

NPE when triggering downstream job with Maven Artifact ChoiceListProvider parameter

XMLWordPrintable

      When triggering a downstream job, that has a parameter from the type "Maven Artifact ChoiceListProvider (Nexus)" then we get a NPE in the upstream job.

      Jenkins version 2.414.2

      Maven Artifact ChoiceListProvider (Nexus): 1.16

       

      10:04:12 ERROR: Build step failed with exception
      10:04:12 java.lang.NullPointerException
      10:04:12 	at org.jenkinsci.plugins.maven_artifact_choicelistprovider.AbstractMavenArtifactChoiceListProvider.getChoiceList(AbstractMavenArtifactChoiceListProvider.java:86)
      10:04:12 	at jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition.getChoiceList(ExtensibleChoiceParameterDefinition.java:371)
      10:04:12 	at jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition.getDefaultParameterValue(ExtensibleChoiceParameterDefinition.java:498)
      10:04:12 	at hudson.plugins.parameterizedtrigger.DefaultParameterValuesActionsTransform.getDefaultParameters(DefaultParameterValuesActionsTransform.java:28)
      10:04:12 	at hudson.plugins.parameterizedtrigger.DefaultParameterValuesActionsTransform.transformParametersAction(DefaultParameterValuesActionsTransform.java:15)
      10:04:12 	at hudson.plugins.parameterizedtrigger.ProjectSpecificParametersActionFactory.getProjectSpecificBuildActions(ProjectSpecificParametersActionFactory.java:32)
      10:04:12 	at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.getBuildActions(BuildTriggerConfig.java:379)
      10:04:12 	at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.perform3(BuildTriggerConfig.java:466)
      10:04:12 	at hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig.perform3(BlockableBuildTriggerConfig.java:69)
      10:04:12 	at hudson.plugins.parameterizedtrigger.TriggerBuilder.perform(TriggerBuilder.java:95)
      10:04:12 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      10:04:12 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818)
      10:04:12 	at hudson.model.Build$BuildExecution.build(Build.java:199)
      10:04:12 	at hudson.model.Build$BuildExecution.doRun(Build.java:164)
      10:04:12 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526)
      10:04:12 	at hudson.model.Run.execute(Run.java:1900)
      10:04:12 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
      10:04:12 	at hudson.model.ResourceController.execute(ResourceController.java:101)
      10:04:12 	at hudson.model.Executor.run(Executor.java:442)
      10:04:12 Build step 'Trigger/call builds on other projects' marked build as failure
       

            phreakadelle Stephan Watermeyer
            zszatmari Zoltán Szatmári
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: