[JIRA] (JENKINS-12978) NullPointerException saving jenkins configuration

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-12978) NullPointerException saving jenkins configuration

JIRA noreply@jenkins-ci.org
Nicolas De Loof created JENKINS-12978:
-----------------------------------------

             Summary: NullPointerException saving jenkins configuration
                 Key: JENKINS-12978
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12978
             Project: Jenkins
          Issue Type: Bug
          Components: maven-repo-cleaner
            Reporter: Nicolas De Loof


how to reproduce :

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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-12978) NullPointerException saving jenkins configuration

JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159831#comment-159831 ]

SCM/JIRA link daemon commented on JENKINS-12978:
------------------------------------------------

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





               

> NullPointerException saving jenkins configuration
> -------------------------------------------------
>
>                 Key: JENKINS-12978
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12978
>             Project: Jenkins
>          Issue Type: Bug
>          Components: maven-repo-cleaner
>            Reporter: Nicolas De Loof
>
> how to reproduce :
> edit jenkins configuration, leave maven-repo-cleaner cron expression empty
> save
> -> NullPointerException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-12978) NullPointerException saving jenkins configuration

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

SCM/JIRA link daemon resolved JENKINS-12978.
--------------------------------------------

    Resolution: Fixed
   

> NullPointerException saving jenkins configuration
> -------------------------------------------------
>
>                 Key: JENKINS-12978
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12978
>             Project: Jenkins
>          Issue Type: Bug
>          Components: maven-repo-cleaner
>            Reporter: Nicolas De Loof
>
> how to reproduce :
> edit jenkins configuration, leave maven-repo-cleaner cron expression empty
> save
> -> NullPointerException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-12978) NullPointerException saving jenkins configuration

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159833#comment-159833 ]

SCM/JIRA link daemon commented on JENKINS-12978:
------------------------------------------------

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





               

> NullPointerException saving jenkins configuration
> -------------------------------------------------
>
>                 Key: JENKINS-12978
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12978
>             Project: Jenkins
>          Issue Type: Bug
>          Components: maven-repo-cleaner
>            Reporter: Nicolas De Loof
>
> how to reproduce :
> edit jenkins configuration, leave maven-repo-cleaner cron expression empty
> save
> -> NullPointerException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-12978) NullPointerException saving jenkins configuration

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159835#comment-159835 ]

dogfood commented on JENKINS-12978:
-----------------------------------

Integrated in !http://ci.jenkins-ci.org/images/16x16/blue.png! [plugins_maven-repo-cleaner #111|http://ci.jenkins-ci.org/job/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

               

> NullPointerException saving jenkins configuration
> -------------------------------------------------
>
>                 Key: JENKINS-12978
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12978
>             Project: Jenkins
>          Issue Type: Bug
>          Components: maven-repo-cleaner
>            Reporter: Nicolas De Loof
>
> how to reproduce :
> edit jenkins configuration, leave maven-repo-cleaner cron expression empty
> save
> -> NullPointerException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-12978) NullPointerException saving jenkins configuration

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160265#comment-160265 ]

Joel Beaudoin commented on JENKINS-12978:
-----------------------------------------

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?
               

> NullPointerException saving jenkins configuration
> -------------------------------------------------
>
>                 Key: JENKINS-12978
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12978
>             Project: Jenkins
>          Issue Type: Bug
>          Components: maven-repo-cleaner
>            Reporter: Nicolas De Loof
>
> how to reproduce :
> edit jenkins configuration, leave maven-repo-cleaner cron expression empty
> save
> -> NullPointerException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira