You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Krystian Nowak (JIRA)" <ji...@codehaus.org> on 2005/06/10 12:02:42 UTC

[jira] Created: (MPCHANGELOG-66) run from other plugins makes NullPointerException

run from other plugins makes NullPointerException
-------------------------------------------------

         Key: MPCHANGELOG-66
         URL: http://jira.codehaus.org/browse/MPCHANGELOG-66
     Project: maven-changelog-plugin
        Type: Bug
    Versions: 1.8.1    
 Environment: Maven ver. 1.0.2, maven-changelog-plugin ver. 1.8.1, maven-developer-activity-plugin ver. 1.5.1, maven-file-activity-plugin ver. 1.5.1, 
    Reporter: Krystian Nowak


running developer activity plugin:

site:
xdoc:register-reports:
maven-developer-activity-plugin:register:

maven-changelog-plugin:register:


site:run-reports:
    [echo] Generating the Developer Activity...
maven-developer-activity-plugin:report:
    [echo] Generating the developer activity report

BUILD FAILED
File...... /home/krystian/.maven/cache/maven-developer-activity-plugin-1.5.1/plugin.jelly
Element... changelog:changelog
Line...... 89
Column.... 15
java.lang.NullPointerException
Total time: 5 seconds
Finished at: Fri Jun 10 11:53:06 CEST 2005


running file activity plugin:


site:
xdoc:register-reports:
maven-file-activity-plugin:register:

maven-changelog-plugin:register:


site:run-reports:
    [echo] Generating the File Activity...
maven-file-activity-plugin:report:
    [echo] Generating the file activity report

BUILD FAILED
File...... /home/krystian/.maven/cache/maven-file-activity-plugin-1.5.1/plugin.jelly
Element... changelog:changelog
Line...... 99
Column.... 15
java.lang.NullPointerException
Total time: 5 seconds
Finished at: Fri Jun 10 11:58:12 CEST 2005


in developer activity a line pointed by the message is:

            <changelog:changelog
              basedir="${maven.changelog.basedir}"
              developers="${pom.developers}"
              factory="${factory}"
              output="${maven.build.dir}/changelog.xml"
              outputEncoding="${maven.docs.outputencoding}"
              range="${maven.changelog.range}"
              repositoryConnection="${_connection}"
              dateFormat="${maven.changelog.dateformat}"
            />

In versions 1.7.1 and 1.7.2 of changelog plugin everything works fine.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPCHANGELOG-66) run from other plugins makes NullPointerException

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPCHANGELOG-66?page=all ]
     
Brett Porter closed MPCHANGELOG-66:
-----------------------------------

      Assign To: Brett Porter
     Resolution: Fixed
    Fix Version: 1.8.2

> run from other plugins makes NullPointerException
> -------------------------------------------------
>
>          Key: MPCHANGELOG-66
>          URL: http://jira.codehaus.org/browse/MPCHANGELOG-66
>      Project: maven-changelog-plugin
>         Type: Bug
>     Versions: 1.8.1
>  Environment: Maven ver. 1.0.2, maven-changelog-plugin ver. 1.8.1, maven-developer-activity-plugin ver. 1.5.1, maven-file-activity-plugin ver. 1.5.1, 
>     Reporter: Krystian Nowak
>     Assignee: Brett Porter
>      Fix For: 1.8.2

>
> Original Estimate: 8 hours
>         Remaining: 8 hours
>
> running developer activity plugin:
> site:
> xdoc:register-reports:
> maven-developer-activity-plugin:register:
> maven-changelog-plugin:register:
> site:run-reports:
>     [echo] Generating the Developer Activity...
> maven-developer-activity-plugin:report:
>     [echo] Generating the developer activity report
> BUILD FAILED
> File...... /home/krystian/.maven/cache/maven-developer-activity-plugin-1.5.1/plugin.jelly
> Element... changelog:changelog
> Line...... 89
> Column.... 15
> java.lang.NullPointerException
> Total time: 5 seconds
> Finished at: Fri Jun 10 11:53:06 CEST 2005
> running file activity plugin:
> site:
> xdoc:register-reports:
> maven-file-activity-plugin:register:
> maven-changelog-plugin:register:
> site:run-reports:
>     [echo] Generating the File Activity...
> maven-file-activity-plugin:report:
>     [echo] Generating the file activity report
> BUILD FAILED
> File...... /home/krystian/.maven/cache/maven-file-activity-plugin-1.5.1/plugin.jelly
> Element... changelog:changelog
> Line...... 99
> Column.... 15
> java.lang.NullPointerException
> Total time: 5 seconds
> Finished at: Fri Jun 10 11:58:12 CEST 2005
> in developer activity a line pointed by the message is:
>             <changelog:changelog
>               basedir="${maven.changelog.basedir}"
>               developers="${pom.developers}"
>               factory="${factory}"
>               output="${maven.build.dir}/changelog.xml"
>               outputEncoding="${maven.docs.outputencoding}"
>               range="${maven.changelog.range}"
>               repositoryConnection="${_connection}"
>               dateFormat="${maven.changelog.dateformat}"
>             />
> In versions 1.7.1 and 1.7.2 of changelog plugin everything works fine.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPCHANGELOG-66) run from other plugins makes NullPointerException

Posted by "Krystian Nowak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPCHANGELOG-66?page=comments#action_41145 ] 

Krystian Nowak commented on MPCHANGELOG-66:
-------------------------------------------

maven-developer-activity-plugin:report:
    [echo] Generating the developer activity report

BUILD FAILED
java.lang.NullPointerException
        at org.apache.maven.changelog.ChangeLog.generateSets(ChangeLog.java:379)
        at org.apache.maven.changelog.ChangeLog.doExecute(ChangeLog.java:364)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:92)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:84)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:145)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
File...... /home/krystian/.maven/cache/maven-developer-activity-plugin-1.5.1/plugin.jelly
Element... changelog:changelog
Line...... 89
Column.... 15
java.lang.NullPointerException
Total time: 48 seconds
Finished at: Mon Jun 13 08:44:34 CEST 2005


> run from other plugins makes NullPointerException
> -------------------------------------------------
>
>          Key: MPCHANGELOG-66
>          URL: http://jira.codehaus.org/browse/MPCHANGELOG-66
>      Project: maven-changelog-plugin
>         Type: Bug
>     Versions: 1.8.1
>  Environment: Maven ver. 1.0.2, maven-changelog-plugin ver. 1.8.1, maven-developer-activity-plugin ver. 1.5.1, maven-file-activity-plugin ver. 1.5.1, 
>     Reporter: Krystian Nowak

>
> Original Estimate: 8 hours
>         Remaining: 8 hours
>
> running developer activity plugin:
> site:
> xdoc:register-reports:
> maven-developer-activity-plugin:register:
> maven-changelog-plugin:register:
> site:run-reports:
>     [echo] Generating the Developer Activity...
> maven-developer-activity-plugin:report:
>     [echo] Generating the developer activity report
> BUILD FAILED
> File...... /home/krystian/.maven/cache/maven-developer-activity-plugin-1.5.1/plugin.jelly
> Element... changelog:changelog
> Line...... 89
> Column.... 15
> java.lang.NullPointerException
> Total time: 5 seconds
> Finished at: Fri Jun 10 11:53:06 CEST 2005
> running file activity plugin:
> site:
> xdoc:register-reports:
> maven-file-activity-plugin:register:
> maven-changelog-plugin:register:
> site:run-reports:
>     [echo] Generating the File Activity...
> maven-file-activity-plugin:report:
>     [echo] Generating the file activity report
> BUILD FAILED
> File...... /home/krystian/.maven/cache/maven-file-activity-plugin-1.5.1/plugin.jelly
> Element... changelog:changelog
> Line...... 99
> Column.... 15
> java.lang.NullPointerException
> Total time: 5 seconds
> Finished at: Fri Jun 10 11:58:12 CEST 2005
> in developer activity a line pointed by the message is:
>             <changelog:changelog
>               basedir="${maven.changelog.basedir}"
>               developers="${pom.developers}"
>               factory="${factory}"
>               output="${maven.build.dir}/changelog.xml"
>               outputEncoding="${maven.docs.outputencoding}"
>               range="${maven.changelog.range}"
>               repositoryConnection="${_connection}"
>               dateFormat="${maven.changelog.dateformat}"
>             />
> In versions 1.7.1 and 1.7.2 of changelog plugin everything works fine.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPCHANGELOG-66) run from other plugins makes NullPointerException

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPCHANGELOG-66?page=comments#action_41038 ]
     
Brett Porter commented on MPCHANGELOG-66:
-----------------------------------------

can you please run with '-e' and report the first few lines of the stack trace. I cannot reproduce it.

> run from other plugins makes NullPointerException
> -------------------------------------------------
>
>          Key: MPCHANGELOG-66
>          URL: http://jira.codehaus.org/browse/MPCHANGELOG-66
>      Project: maven-changelog-plugin
>         Type: Bug
>     Versions: 1.8.1
>  Environment: Maven ver. 1.0.2, maven-changelog-plugin ver. 1.8.1, maven-developer-activity-plugin ver. 1.5.1, maven-file-activity-plugin ver. 1.5.1, 
>     Reporter: Krystian Nowak

>
> Original Estimate: 8 hours
>         Remaining: 8 hours
>
> running developer activity plugin:
> site:
> xdoc:register-reports:
> maven-developer-activity-plugin:register:
> maven-changelog-plugin:register:
> site:run-reports:
>     [echo] Generating the Developer Activity...
> maven-developer-activity-plugin:report:
>     [echo] Generating the developer activity report
> BUILD FAILED
> File...... /home/krystian/.maven/cache/maven-developer-activity-plugin-1.5.1/plugin.jelly
> Element... changelog:changelog
> Line...... 89
> Column.... 15
> java.lang.NullPointerException
> Total time: 5 seconds
> Finished at: Fri Jun 10 11:53:06 CEST 2005
> running file activity plugin:
> site:
> xdoc:register-reports:
> maven-file-activity-plugin:register:
> maven-changelog-plugin:register:
> site:run-reports:
>     [echo] Generating the File Activity...
> maven-file-activity-plugin:report:
>     [echo] Generating the file activity report
> BUILD FAILED
> File...... /home/krystian/.maven/cache/maven-file-activity-plugin-1.5.1/plugin.jelly
> Element... changelog:changelog
> Line...... 99
> Column.... 15
> java.lang.NullPointerException
> Total time: 5 seconds
> Finished at: Fri Jun 10 11:58:12 CEST 2005
> in developer activity a line pointed by the message is:
>             <changelog:changelog
>               basedir="${maven.changelog.basedir}"
>               developers="${pom.developers}"
>               factory="${factory}"
>               output="${maven.build.dir}/changelog.xml"
>               outputEncoding="${maven.docs.outputencoding}"
>               range="${maven.changelog.range}"
>               repositoryConnection="${_connection}"
>               dateFormat="${maven.changelog.dateformat}"
>             />
> In versions 1.7.1 and 1.7.2 of changelog plugin everything works fine.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org