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

jenkins.log noise: "script parameter ... is not an instance of Java.util.Map."

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: active-choices-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.656. Active Choices 1.4
    • Similar Issues:

      Description

      On my Jenkins master, I see a lot of the following noise in jenkins.log:

      Apr 12, 2016 3:21:06 PM org.biouno.unochoice.AbstractScriptableParameter getChoices
      WARNING: Script parameter with name 'PARAM_NAME_HERE' is not an instance of java.util.Map. The parameter value is
      Apr 12, 2016 3:21:06 PM org.biouno.unochoice.AbstractScriptableParameter getChoices
      WARNING: Script parameter with name 'PARAM_NAME_HERE' is not an instance of java.util.Map. The parameter value is
      

      The mentioned parameter (name altered here for privacy) is an Active Choices Reactive Reference Parameter, of type "formatted html", and the HTML contains the following field (with value also altered for privacy):

      <input type="hidden" name="value" value="http://example.com/some_url" class="setting-input"/>
      

        Attachments

          Activity

          Hide
          kinow Bruno P. Kinoshita added a comment -

          The master branch has already a few fixes, and we are now working on tickets like JENKINS-38889, which we can ship quite soon. A hotfix with just this fix is doable, but I would rather wait to release everything in the next days.

          The plug-in is part of the BioUno project. And we will have a project meeting on November 18th. I just replied the meeting announcement e-mail from Ioannis Moutsatsos suggesting to cut a release before the meeting, and another release before the end of the year - https://groups.google.com/forum/#!topic/biouno-users/2Scg0u6V3kM

          So if, besides this ticket, there are any other features/bugs that you would like to get shipped in the next releases, just reply here or join the hangout

          Cheers
          B

          Show
          kinow Bruno P. Kinoshita added a comment - The master branch has already a few fixes, and we are now working on tickets like JENKINS-38889 , which we can ship quite soon. A hotfix with just this fix is doable, but I would rather wait to release everything in the next days. The plug-in is part of the BioUno project. And we will have a project meeting on November 18th. I just replied the meeting announcement e-mail from Ioannis Moutsatsos suggesting to cut a release before the meeting, and another release before the end of the year - https://groups.google.com/forum/#!topic/biouno-users/2Scg0u6V3kM So if, besides this ticket, there are any other features/bugs that you would like to get shipped in the next releases, just reply here or join the hangout Cheers B
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Apologies for the delay to fix this.

          Pushed to master. Now this message will appear in the log, only if the logger is enabled to debug in the FINE level.

          Show
          kinow Bruno P. Kinoshita added a comment - Apologies for the delay to fix this. Pushed to master. Now this message will appear in the log, only if the logger is enabled to debug in the FINE level.
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Included in the next release (1.5.4 probably), scheduled for December. An alpha version should be available in the experimental update center late this week, on Friday NZ time.

          Show
          kinow Bruno P. Kinoshita added a comment - Included in the next release (1.5.4 probably), scheduled for December. An alpha version should be available in the experimental update center late this week, on Friday NZ time.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Bruno P. Kinoshita
          Path:
          src/main/java/org/biouno/unochoice/AbstractScriptableParameter.java
          http://jenkins-ci.org/commit/active-choices-plugin/db09e6d928553f14fa5b0f0f698c146a12cb4b99
          Log:
          [FIXED JENKINS-34188] suppress log entry, unless level FINE is enabled

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Bruno P. Kinoshita Path: src/main/java/org/biouno/unochoice/AbstractScriptableParameter.java http://jenkins-ci.org/commit/active-choices-plugin/db09e6d928553f14fa5b0f0f698c146a12cb4b99 Log: [FIXED JENKINS-34188] suppress log entry, unless level FINE is enabled
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Released in 1.5.3

          Show
          kinow Bruno P. Kinoshita added a comment - Released in 1.5.3

            People

            • Assignee:
              kinow Bruno P. Kinoshita
              Reporter:
              danagoyette Dana Goyette
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: