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

Maven Version slicing is failing with Maven 3.1.0

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The configuration slicing (1.37) in the latest version of Jenkins (1.523) is failing with Maven 3.1.0:

      Caused by: java.lang.NullPointerException
      at configurationslicing.maven.MavenVersionSlicer$MavenVersionSlicerSpec.getBuilders(MavenVersionSlicer.java:78)
      at configurationslicing.maven.MavenVersionSlicer$MavenVersionSlicerSpec.getValues(MavenVersionSlicer.java:56)
      at configurationslicing.maven.MavenVersionSlicer$MavenVersionSlicerSpec.getValues(MavenVersionSlicer.java:30)
      at configurationslicing.UnorderedStringSlicer.accumulate(UnorderedStringSlicer.java:72)
      at configurationslicing.UnorderedStringSlicer.accumulate(UnorderedStringSlicer.java:6)
      at configurationslicing.ConfigurationSlicing$SliceExecutor.execute(ConfigurationSlicing.java:125)
      at configurationslicing.ConfigurationSlicing$SliceExecutor.<init>(ConfigurationSlicing.java:113)
      at configurationslicing.ConfigurationSlicing.getDynamic(ConfigurationSlicing.java:98)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:611)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:297)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:160)
      at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:379)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:684)

        Attachments

          Activity

          Hide
          sfin Sven Finsterwalder added a comment -

          Still failing in the current version 1.526

          Show
          sfin Sven Finsterwalder added a comment - Still failing in the current version 1.526
          Hide
          julianpayne Julian Payne added a comment -

          Any chance of getting a fix for this problem? Thanks in advance.

          Show
          julianpayne Julian Payne added a comment - Any chance of getting a fix for this problem? Thanks in advance.
          Hide
          gcummings Geoff Cummings added a comment -

          Also failing with 1.529
          thanks.

          Show
          gcummings Geoff Cummings added a comment - Also failing with 1.529 thanks.
          Hide
          jacob_robertson Jacob Robertson added a comment -

          Please try this against configuration slicing plugin ver. 1.37.1 and Jenkins ver. 1.533
          I could not reproduce this bug. If it is still present, please provide some more information to help me reproduce.

          Show
          jacob_robertson Jacob Robertson added a comment - Please try this against configuration slicing plugin ver. 1.37.1 and Jenkins ver. 1.533 I could not reproduce this bug. If it is still present, please provide some more information to help me reproduce.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: jacobrobertson
          Path:
          src/main/java/configurationslicing/maven/MavenVersionSlicer.java
          src/main/resources/configurationslicing/ConfigurationSlicing/SliceExecutor/index.jelly
          src/main/resources/configurationslicing/UnorderedStringSlice/sliceconfig.jelly
          http://jenkins-ci.org/commit/configurationslicing-plugin/06db2412c183d4fd39d763d048556a2a88572090
          Log:
          JENKINS-19858, JENKINS-14521, JENKINS-18794

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: jacobrobertson Path: src/main/java/configurationslicing/maven/MavenVersionSlicer.java src/main/resources/configurationslicing/ConfigurationSlicing/SliceExecutor/index.jelly src/main/resources/configurationslicing/UnorderedStringSlice/sliceconfig.jelly http://jenkins-ci.org/commit/configurationslicing-plugin/06db2412c183d4fd39d763d048556a2a88572090 Log: JENKINS-19858 , JENKINS-14521 , JENKINS-18794
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jacob Robertson
          Path:
          src/main/java/configurationslicing/maven/MavenVersionSlicer.java
          src/main/resources/configurationslicing/ConfigurationSlicing/SliceExecutor/index.jelly
          src/main/resources/configurationslicing/UnorderedStringSlice/sliceconfig.jelly
          http://jenkins-ci.org/commit/configurationslicing-plugin/7426e8d01b1f0599d63cf623dd3d6405eb0805f1
          Log:
          Merge pull request #3 from jacobrobertson/master

          JENKINS-19858, JENKINS-14521, JENKINS-18794

          Compare: https://github.com/jenkinsci/configurationslicing-plugin/compare/4061f3566887...7426e8d01b1f

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jacob Robertson Path: src/main/java/configurationslicing/maven/MavenVersionSlicer.java src/main/resources/configurationslicing/ConfigurationSlicing/SliceExecutor/index.jelly src/main/resources/configurationslicing/UnorderedStringSlice/sliceconfig.jelly http://jenkins-ci.org/commit/configurationslicing-plugin/7426e8d01b1f0599d63cf623dd3d6405eb0805f1 Log: Merge pull request #3 from jacobrobertson/master JENKINS-19858 , JENKINS-14521 , JENKINS-18794 Compare: https://github.com/jenkinsci/configurationslicing-plugin/compare/4061f3566887...7426e8d01b1f
          Hide
          julianpayne Julian Payne added a comment -

          This is mow working correctly with Jenkins 1.533 and the configuration slicing plugin 1.37.1.

          Thanks for fixing this.

          Show
          julianpayne Julian Payne added a comment - This is mow working correctly with Jenkins 1.533 and the configuration slicing plugin 1.37.1. Thanks for fixing this.

            People

            • Assignee:
              mdonohue mdonohue
              Reporter:
              julianpayne Julian Payne
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: