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

NullPointerException saving jenkins configuration

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      how to reproduce :

      edit jenkins configuration, leave maven-repo-cleaner cron expression empty
      save
      -> NullPointerException

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Nicolas De Loof
            Path:
            src/main/java/org/jenkinsci/plugins/mavenrepocleaner/MavenRepoCleanerProperty.java
            http://jenkins-ci.org/commit/maven-repo-cleaner-plugin/8432023d8143d419b257a1e07bcf12a910da1388
            Log:
            [FIXED JENKINS-12978] NullPoionterException saving jenkins config
            use fixEmptyAndTrim that handles null

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/org/jenkinsci/plugins/mavenrepocleaner/MavenRepoCleanerProperty.java http://jenkins-ci.org/commit/maven-repo-cleaner-plugin/8432023d8143d419b257a1e07bcf12a910da1388 Log: [FIXED JENKINS-12978] NullPoionterException saving jenkins config use fixEmptyAndTrim that handles null
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Nicolas De Loof
            Path:
            src/main/java/org/jenkinsci/plugins/mavenrepocleaner/MavenRepoCleanerProperty.java
            http://jenkins-ci.org/commit/maven-repo-cleaner-plugin/90d596ffe1489dfdccab072659c41ca9aa1b2b58
            Log:
            [FIXED JENKINS-12978] NullPoionterException saving jenkins config
            use fixEmptyAndTrim that handles null

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/org/jenkinsci/plugins/mavenrepocleaner/MavenRepoCleanerProperty.java http://jenkins-ci.org/commit/maven-repo-cleaner-plugin/90d596ffe1489dfdccab072659c41ca9aa1b2b58 Log: [FIXED JENKINS-12978] NullPoionterException saving jenkins config use fixEmptyAndTrim that handles null
            Hide
            dogfood dogfood added a comment -

            Integrated in plugins_maven-repo-cleaner #111
            [FIXED JENKINS-12978] NullPoionterException saving jenkins config (Revision 90d596ffe1489dfdccab072659c41ca9aa1b2b58)

            Result = SUCCESS
            Nicolas De Loof :
            Files :

            • src/main/java/org/jenkinsci/plugins/mavenrepocleaner/MavenRepoCleanerProperty.java
            Show
            dogfood dogfood added a comment - Integrated in plugins_maven-repo-cleaner #111 [FIXED JENKINS-12978] NullPoionterException saving jenkins config (Revision 90d596ffe1489dfdccab072659c41ca9aa1b2b58) Result = SUCCESS Nicolas De Loof : Files : src/main/java/org/jenkinsci/plugins/mavenrepocleaner/MavenRepoCleanerProperty.java
            Hide
            joelbdoin Joel Beaudoin added a comment -

            We are simply using a dummy cron comment in the problematic schedule field (# ...) to work-around this issue; however, I see that even though there is a fix checked in, the problem is still present in the latest Jenkins (1.455). I'm curious about when this will be integrated into a release?

            Show
            joelbdoin Joel Beaudoin added a comment - We are simply using a dummy cron comment in the problematic schedule field (# ...) to work-around this issue; however, I see that even though there is a fix checked in, the problem is still present in the latest Jenkins (1.455). I'm curious about when this will be integrated into a release?

              People

              • Assignee:
                Unassigned
                Reporter:
                ndeloof Nicolas De Loof
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: