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

HealthAwareRecorder.logExceptionToFile() isn't handle a null getDefaultEncoding()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: analysis-core-plugin
    • Labels:
    • Environment:
      Nothing special.
    • Similar Issues:

      Description

      When HealthAwareRecorder.getDefaultEncoding() returns null, the method logExceptionToFile is not handle correctly, validating with EncodingValidator.getEncoding().
      A patch is attached.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/analysis/core/HealthAwareRecorder.java
          http://jenkins-ci.org/commit/analysis-core-plugin/70a24268cdca3ba50fe47d0c760c199cd38790e1
          Log:
          [FIXED JENKINS-17657] Get valid encoding from EncodingValidator.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/core/HealthAwareRecorder.java http://jenkins-ci.org/commit/analysis-core-plugin/70a24268cdca3ba50fe47d0c760c199cd38790e1 Log: [FIXED JENKINS-17657] Get valid encoding from EncodingValidator.
          Hide
          drulli Ulli Hafner added a comment -

          Thanks for adding the patch!

          Show
          drulli Ulli Hafner added a comment - Thanks for adding the patch!
          Hide
          drulli Ulli Hafner added a comment -

          Integrated in Jenkins Analysis Plug-ins (Compile) #609
          [FIXED JENKINS-17657] Get valid encoding from EncodingValidator. (Revision 70a24268cdca3ba50fe47d0c760c199cd38790e1)

          Result = SUCCESS

          Show
          drulli Ulli Hafner added a comment - Integrated in Jenkins Analysis Plug-ins (Compile) #609 [FIXED JENKINS-17657] Get valid encoding from EncodingValidator. (Revision 70a24268cdca3ba50fe47d0c760c199cd38790e1) Result = SUCCESS

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              limao André Lehmann
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: