[
http://jira.codehaus.org/browse/SUREFIRE-300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_90651
]
Dmitri Colebatch commented on SUREFIRE-300:
-------------------------------------------
I've hit this as well (log attached) and can replicate it easily. It seems to
happen when I've first compiled/run tests using maven at the command line, and
then compiled in my IDE (IntelliJ). The following steps spell this out in
detail:
1. mvn clean test (works ok)
2. change a class in intellij
3. compile in intellij
4. mvn test (NPE)
5. mvn clean test (works ok)
I'll attach my log file.
> NPE in SurefirePlugin.constructSurefireBooter()
> -----------------------------------------------
>
> Key: SUREFIRE-300
> URL: http://jira.codehaus.org/browse/SUREFIRE-300
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 2.3
> Reporter: Niklas Gustavsson
> Assigned To: Jason van Zyl
> Fix For: 2.3.1
>
> Attachments: npe.log
>
>
> SurefirePlugin.constructSurefireBooter() throws NPE when no testcases are
> present in the project. The log attached is from building FtpServer admin-gui
> using the 2.3 version of maven-surefire-plugin:
> http://svn.apache.org/repos/asf/incubator/ftpserver/trunk/admin-gui/
--
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