FATAL: null
      18:27:14 java.lang.NullPointerException
      18:27:14 at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterValue$1.resolve(ExtendedChoiceParameterValue.java:40)
      18:27:14 at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterValue$1.resolve(ExtendedChoiceParameterValue.java:34)
      18:27:14 at hudson.matrix.FilterScript.getConfiguredBinding(FilterScript.java:97)
      18:27:14 at hudson.matrix.FilterScript.apply(FilterScript.java:75)
      18:27:14 at hudson.matrix.DefaultMatrixExecutionStrategyImpl.filterConfigurations(DefaultMatrixExecutionStrategyImpl.java:190)
      18:27:14 at hudson.matrix.DefaultMatrixExecutionStrategyImpl.run(DefaultMatrixExecutionStrategyImpl.java:121)
      18:27:14 at hudson.matrix.MatrixBuild$MatrixBuildExecution.doRun(MatrixBuild.java:352)
      18:27:14 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      18:27:14 at hudson.model.Run.execute(Run.java:1741)
      18:27:14 at hudson.matrix.MatrixBuild.run(MatrixBuild.java:301)
      18:27:14 at hudson.model.ResourceController.execute(ResourceController.java:98)
      18:27:14 at hudson.model.Executor.run(Executor.java:381)

          [JENKINS-29539] NullPointerException on Matrix project

          Jaroslaw Niec added a comment -

          I can confirm this issue for every type of configuration (not only Check Box).
          0.50 version stopped working with all Matrix jobs. Normal jobs still works OK.

          Jaroslaw Niec added a comment - I can confirm this issue for every type of configuration (not only Check Box). 0.50 version stopped working with all Matrix jobs. Normal jobs still works OK.

          Jonathan Langevin added a comment - - edited

          Same for me as well.

          NOTE: I'm also running jobs using Java 8, in case that matters.

          Jonathan Langevin added a comment - - edited Same for me as well. NOTE: I'm also running jobs using Java 8, in case that matters.

          Noam Manos added a comment -

          Updated subject to Matrix project

          Noam Manos added a comment - Updated subject to Matrix project

          Jaroslaw Niec added a comment -

          I've debugged this issue and it could be caused by matrix project plugin.
          Matrix project plugin passed incorrect parameter and this plugin fails.
          I've raised new issue agains matrix project plugin
          https://issues.jenkins-ci.org/browse/JENKINS-29628

          Jaroslaw Niec added a comment - I've debugged this issue and it could be caused by matrix project plugin. Matrix project plugin passed incorrect parameter and this plugin fails. I've raised new issue agains matrix project plugin https://issues.jenkins-ci.org/browse/JENKINS-29628

          zuljin, so what is the extended choice param plugin doing differently in 0.50, that results in this error in conjunction with Matrix plugin?
          I'm not doubting that Matrix is at fault in some way, but the extended choice plugin 0.48 works fine

          Jonathan Langevin added a comment - zuljin , so what is the extended choice param plugin doing differently in 0.50, that results in this error in conjunction with Matrix plugin? I'm not doubting that Matrix is at fault in some way, but the extended choice plugin 0.48 works fine

          Jaroslaw Niec added a comment -

          0.50 added all this json kind of configuration and this requires new code that right now fails on latest Jenkins with matrix plugin. And it doesn't matter if previously it was working.

          I'm not sure but maybe author could implement a workaround so this json would still fail but at least old kind of configuration could work even with buggy matrix plugin.
          I think this would be the best solution till matrix plugin is fixed.

          Maybe even adding simple check if build != null could be this workaround.

          Jaroslaw Niec added a comment - 0.50 added all this json kind of configuration and this requires new code that right now fails on latest Jenkins with matrix plugin. And it doesn't matter if previously it was working. I'm not sure but maybe author could implement a workaround so this json would still fail but at least old kind of configuration could work even with buggy matrix plugin. I think this would be the best solution till matrix plugin is fixed. Maybe even adding simple check if build != null could be this workaround.

          Noam Manos added a comment - - edited

          I saw on my Jenkins server, where I downgraded back to 0.48, the following warning, which seems to be the cause:

          Unreadable Data

          It is acceptable to leave unreadable data in these files, as Jenkins will safely ignore it. To avoid the log messages at Jenkins startup you can permanently delete the unreadable data by resaving these files using the button below.

          Type Name Error
          hudson.matrix.MatrixProject Automation_Matrix MissingFieldException: No field 'saveJSONParameterToFile' found in class 'com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition'

          Noam Manos added a comment - - edited I saw on my Jenkins server, where I downgraded back to 0.48, the following warning, which seems to be the cause: Unreadable Data It is acceptable to leave unreadable data in these files, as Jenkins will safely ignore it. To avoid the log messages at Jenkins startup you can permanently delete the unreadable data by resaving these files using the button below. Type Name Error hudson.matrix.MatrixProject Automation_Matrix MissingFieldException: No field 'saveJSONParameterToFile' found in class 'com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition'

          Code changed in jenkins
          User: vimil
          Path:
          src/main/java/com/cwctravel/hudson/plugins/extended_choice_parameter/ExtendedChoiceParameterValue.java
          src/main/webapp/js/jsoneditor.js
          http://jenkins-ci.org/commit/extended-choice-parameter-plugin/fbec4f64fafea11df25ce6f03a55553391c6d6f8
          Log:
          JENKINS-29539 NullPointerException on Matrix project

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: vimil Path: src/main/java/com/cwctravel/hudson/plugins/extended_choice_parameter/ExtendedChoiceParameterValue.java src/main/webapp/js/jsoneditor.js http://jenkins-ci.org/commit/extended-choice-parameter-plugin/fbec4f64fafea11df25ce6f03a55553391c6d6f8 Log: JENKINS-29539 NullPointerException on Matrix project

          vimil added a comment -

          fixed in version 0.51

          vimil added a comment - fixed in version 0.51

            vimil vimil
            nmanos Noam Manos
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: