You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/09/14 08:30:02 UTC
[jira] Created: (MNG-886) use of reporting plugins results in NPE
use of reporting plugins results in NPE
---------------------------------------
Key: MNG-886
URL: http://jira.codehaus.org/browse/MNG-886
Project: Maven 2
Type: Bug
Components: maven-release-plugin
Reporter: Brett Porter
Doxia had:
<reporting>
<plugins>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
</plugin>
</plugins>
</reporting>
This caused an NPE as the resolved artifact was not found in the map.
--
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: (MNG-886) use of reporting plugins results in NPE
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-886?page=comments#action_46456 ]
John Casey commented on MNG-886:
--------------------------------
incorporated into it2002. The problem is the MavenProject.new(MavenProject) constructor, which wasn't copying the reportArtifacts or the extensionArtifacts. It's fixed, and I'm building now. When finished, I'll resolve.
> use of reporting plugins results in NPE
> ---------------------------------------
>
> Key: MNG-886
> URL: http://jira.codehaus.org/browse/MNG-886
> Project: Maven 2
> Type: Bug
> Components: maven-release-plugin
> Reporter: Brett Porter
> Assignee: John Casey
> Fix For: 2.0-beta-2
>
> Original Estimate: 6 hours
> Remaining: 6 hours
>
> Doxia had:
> <reporting>
> <plugins>
> <plugin>
> <artifactId>maven-project-info-reports-plugin</artifactId>
> </plugin>
> </plugins>
> </reporting>
> This caused an NPE as the resolved artifact was not found in the map.
--
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: (MNG-886) use of reporting plugins results in NPE
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-886?page=all ]
John Casey closed MNG-886:
--------------------------
Resolution: Fixed
Fix Version: (was: 2.0-beta-2)
2.0-beta-1
> use of reporting plugins results in NPE
> ---------------------------------------
>
> Key: MNG-886
> URL: http://jira.codehaus.org/browse/MNG-886
> Project: Maven 2
> Type: Bug
> Components: maven-release-plugin
> Reporter: Brett Porter
> Assignee: John Casey
> Fix For: 2.0-beta-1
>
> Original Estimate: 2 hours
> Time Spent: 2 hours
> Remaining: 0 minutes
>
> Doxia had:
> <reporting>
> <plugins>
> <plugin>
> <artifactId>maven-project-info-reports-plugin</artifactId>
> </plugin>
> </plugins>
> </reporting>
> This caused an NPE as the resolved artifact was not found in the map.
--
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] Updated: (MNG-886) use of reporting plugins results in NPE
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-886?page=all ]
John Casey updated MNG-886:
---------------------------
Fix Version: 2.0-beta-2
Complexity: Expert (was: Intermediate)
Remaining Estimate: 6 hours
Original Estimate: 21600
hour estimate is probably high (6h) right now, because I have to decipher the meaning of this issue's description, and then reproduce it.
> use of reporting plugins results in NPE
> ---------------------------------------
>
> Key: MNG-886
> URL: http://jira.codehaus.org/browse/MNG-886
> Project: Maven 2
> Type: Bug
> Components: maven-release-plugin
> Reporter: Brett Porter
> Assignee: John Casey
> Fix For: 2.0-beta-2
>
> Original Estimate: 6 hours
> Remaining: 6 hours
>
> Doxia had:
> <reporting>
> <plugins>
> <plugin>
> <artifactId>maven-project-info-reports-plugin</artifactId>
> </plugin>
> </plugins>
> </reporting>
> This caused an NPE as the resolved artifact was not found in the map.
--
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: (MNG-886) use of reporting plugins results in NPE
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-886?page=comments#action_46392 ]
Brett Porter commented on MNG-886:
----------------------------------
I don't believe that providing a means of reproducing it is harder than getting an arbitrary stack trace :)
1) paste above text into doxia-core/pom.xml
2) try release:prepare (turn off commit - probably a flag we should add - dryRun=true)
The exception is at line 1057, caused by not being found at line 898.
> use of reporting plugins results in NPE
> ---------------------------------------
>
> Key: MNG-886
> URL: http://jira.codehaus.org/browse/MNG-886
> Project: Maven 2
> Type: Bug
> Components: maven-release-plugin
> Reporter: Brett Porter
> Assignee: John Casey
> Fix For: 2.0-beta-2
>
> Original Estimate: 6 hours
> Remaining: 6 hours
>
> Doxia had:
> <reporting>
> <plugins>
> <plugin>
> <artifactId>maven-project-info-reports-plugin</artifactId>
> </plugin>
> </plugins>
> </reporting>
> This caused an NPE as the resolved artifact was not found in the map.
--
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] Updated: (MNG-886) use of reporting plugins results in NPE
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-886?page=all ]
John Casey updated MNG-886:
---------------------------
Remaining Estimate: 2 hours (was: 6 hours)
Original Estimate: 7200 (was: 21600)
> use of reporting plugins results in NPE
> ---------------------------------------
>
> Key: MNG-886
> URL: http://jira.codehaus.org/browse/MNG-886
> Project: Maven 2
> Type: Bug
> Components: maven-release-plugin
> Reporter: Brett Porter
> Assignee: John Casey
> Fix For: 2.0-beta-2
>
> Original Estimate: 2 hours
> Remaining: 2 hours
>
> Doxia had:
> <reporting>
> <plugins>
> <plugin>
> <artifactId>maven-project-info-reports-plugin</artifactId>
> </plugin>
> </plugins>
> </reporting>
> This caused an NPE as the resolved artifact was not found in the map.
--
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: (MNG-886) use of reporting plugins results in NPE
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-886?page=comments#action_46370 ]
John Casey commented on MNG-886:
--------------------------------
do you have that NPE? that would make this process alot quicker...
> use of reporting plugins results in NPE
> ---------------------------------------
>
> Key: MNG-886
> URL: http://jira.codehaus.org/browse/MNG-886
> Project: Maven 2
> Type: Bug
> Components: maven-release-plugin
> Reporter: Brett Porter
> Assignee: John Casey
>
>
> Doxia had:
> <reporting>
> <plugins>
> <plugin>
> <artifactId>maven-project-info-reports-plugin</artifactId>
> </plugin>
> </plugins>
> </reporting>
> This caused an NPE as the resolved artifact was not found in the map.
--
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] Updated: (MNG-886) use of reporting plugins results in NPE
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-886?page=all ]
Brett Porter updated MNG-886:
-----------------------------
Assign To: John Casey
> use of reporting plugins results in NPE
> ---------------------------------------
>
> Key: MNG-886
> URL: http://jira.codehaus.org/browse/MNG-886
> Project: Maven 2
> Type: Bug
> Components: maven-release-plugin
> Reporter: Brett Porter
> Assignee: John Casey
>
>
> Doxia had:
> <reporting>
> <plugins>
> <plugin>
> <artifactId>maven-project-info-reports-plugin</artifactId>
> </plugin>
> </plugins>
> </reporting>
> This caused an NPE as the resolved artifact was not found in the map.
--
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