[JIRA] Created: (HUDSON-5732) Bazaar commits without changes are not handled

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

[JIRA] Created: (HUDSON-5732) Bazaar commits without changes are not handled

Hudson issues mailing list
Bazaar commits without changes are not handled
----------------------------------------------

                 Key: HUDSON-5732
                 URL: http://issues.hudson-ci.org/browse/HUDSON-5732
             Project: Hudson
          Issue Type: Bug
          Components: bazaar
            Reporter: zigarn
            Assignee: trondn


In bazaar there is a way to commit without changes ({{bzr ci --unchanged}}).
The parser doesn't set the message in the {{BazaarChangeSet}} and it generates a {{NullPointerException}} :

Caused by: java.lang.NullPointerException
        at hudson.Util.escape(Util.java:707)
        at hudson.scm.ChangeLogSet$Entry.getMsgEscaped(ChangeLogSet.java:183)
        at hudson.scm.ChangeLogSet$Entry.getMsgAnnotated(ChangeLogSet.java:172)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-5732) Bazaar commits without changes are not handled

Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

zigarn updated HUDSON-5732:
---------------------------

    Attachment: HUDSON-5732.patch

Patch to correct this

> Bazaar commits without changes are not handled
> ----------------------------------------------
>
>                 Key: HUDSON-5732
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5732
>             Project: Hudson
>          Issue Type: Bug
>          Components: bazaar
>            Reporter: zigarn
>            Assignee: trondn
>         Attachments: HUDSON-5732.patch
>
>
> In bazaar there is a way to commit without changes ({{bzr ci --unchanged}}).
> The parser doesn't set the message in the {{BazaarChangeSet}} and it generates a {{NullPointerException}} :
> Caused by: java.lang.NullPointerException
> at hudson.Util.escape(Util.java:707)
> at hudson.scm.ChangeLogSet$Entry.getMsgEscaped(ChangeLogSet.java:183)
> at hudson.scm.ChangeLogSet$Entry.getMsgAnnotated(ChangeLogSet.java:172)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Assigned: (HUDSON-5732) Bazaar commits without changes are not handled

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

zigarn reassigned HUDSON-5732:
------------------------------

    Assignee: sdirector  (was: trondn)

> Bazaar commits without changes are not handled
> ----------------------------------------------
>
>                 Key: HUDSON-5732
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5732
>             Project: Hudson
>          Issue Type: Bug
>          Components: bazaar
>            Reporter: zigarn
>            Assignee: sdirector
>         Attachments: HUDSON-5732.patch
>
>
> In bazaar there is a way to commit without changes ({{bzr ci --unchanged}}).
> The parser doesn't set the message in the {{BazaarChangeSet}} and it generates a {{NullPointerException}} :
> Caused by: java.lang.NullPointerException
> at hudson.Util.escape(Util.java:707)
> at hudson.scm.ChangeLogSet$Entry.getMsgEscaped(ChangeLogSet.java:183)
> at hudson.scm.ChangeLogSet$Entry.getMsgAnnotated(ChangeLogSet.java:172)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5732) Bazaar commits without changes are not handled

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=136270#action_136270 ]

scm_issue_link commented on HUDSON-5732:
----------------------------------------

Code changed in hudson
User: : sdirector
Path:
 trunk/hudson/plugins/bazaar/src/main/java/hudson/plugins/bazaar/BazaarChangeLogParser.java
http://hudson-ci.org/commit/27934
Log:
[FIXED HUDSON-5732] Fixes NPE on commit without changes. Patch from zigarn.


> Bazaar commits without changes are not handled
> ----------------------------------------------
>
>                 Key: HUDSON-5732
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5732
>             Project: Hudson
>          Issue Type: Bug
>          Components: bazaar
>            Reporter: zigarn
>            Assignee: sdirector
>         Attachments: HUDSON-5732.patch
>
>
> In bazaar there is a way to commit without changes ({{bzr ci --unchanged}}).
> The parser doesn't set the message in the {{BazaarChangeSet}} and it generates a {{NullPointerException}} :
> Caused by: java.lang.NullPointerException
> at hudson.Util.escape(Util.java:707)
> at hudson.scm.ChangeLogSet$Entry.getMsgEscaped(ChangeLogSet.java:183)
> at hudson.scm.ChangeLogSet$Entry.getMsgAnnotated(ChangeLogSet.java:172)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (HUDSON-5732) Bazaar commits without changes are not handled

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

scm_issue_link resolved HUDSON-5732.
------------------------------------

    Resolution: Fixed

> Bazaar commits without changes are not handled
> ----------------------------------------------
>
>                 Key: HUDSON-5732
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5732
>             Project: Hudson
>          Issue Type: Bug
>          Components: bazaar
>            Reporter: zigarn
>            Assignee: sdirector
>         Attachments: HUDSON-5732.patch
>
>
> In bazaar there is a way to commit without changes ({{bzr ci --unchanged}}).
> The parser doesn't set the message in the {{BazaarChangeSet}} and it generates a {{NullPointerException}} :
> Caused by: java.lang.NullPointerException
> at hudson.Util.escape(Util.java:707)
> at hudson.scm.ChangeLogSet$Entry.getMsgEscaped(ChangeLogSet.java:183)
> at hudson.scm.ChangeLogSet$Entry.getMsgAnnotated(ChangeLogSet.java:172)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]