You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ben Sommerville (JIRA)" <ji...@codehaus.org> on 2007/07/27 14:32:13 UTC
[jira] Created: (SUREFIRE-345) TestNG test fail with
IllegalARgumentExceptoin
TestNG test fail with IllegalARgumentExceptoin
----------------------------------------------
Key: SUREFIRE-345
URL: http://jira.codehaus.org/browse/SUREFIRE-345
Project: Maven Surefire
Issue Type: Bug
Components: TestNG support
Affects Versions: 2.4
Reporter: Ben Sommerville
Attachments: SUREFIRE-TestNG.patch
Trying to execute testng test with 2.4 snapshot results in:
java.lang.IllegalArgumentException: Unknown parameter type: java.util.Properties
at org.apache.maven.surefire.booter.SurefireBooter.constructParamObjects(SurefireBooter.java:793)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:844)
To reproduce attempt to run any project with TestNG tests. Same error occurs with TestNG version 5.1 & 5.5
Attached patch fixes the problem by supporting the passing of Properties objects (via file/command line) to forked test processes.
--
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
[jira] Updated: (SUREFIRE-345) TestNG test fail with
IllegalARgumentExceptoin
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated SUREFIRE-345:
----------------------------------
Fix Version/s: 2.4
> TestNG test fail with IllegalARgumentExceptoin
> ----------------------------------------------
>
> Key: SUREFIRE-345
> URL: http://jira.codehaus.org/browse/SUREFIRE-345
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Reporter: Ben Sommerville
> Fix For: 2.4
>
> Attachments: SUREFIRE-TestNG.patch
>
>
> Trying to execute testng test with 2.4 snapshot results in:
> java.lang.IllegalArgumentException: Unknown parameter type: java.util.Properties
> at org.apache.maven.surefire.booter.SurefireBooter.constructParamObjects(SurefireBooter.java:793)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:844)
> To reproduce attempt to run any project with TestNG tests. Same error occurs with TestNG version 5.1 & 5.5
> Attached patch fixes the problem by supporting the passing of Properties objects (via file/command line) to forked test processes.
--
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
[jira] Closed: (SUREFIRE-345) TestNG test fail with
IllegalARgumentExceptoin
Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Fabulich closed SUREFIRE-345.
---------------------------------
Resolution: Duplicate
Dupe of SUREFIRE-316, fixed in revision 594580
> TestNG test fail with IllegalARgumentExceptoin
> ----------------------------------------------
>
> Key: SUREFIRE-345
> URL: http://jira.codehaus.org/browse/SUREFIRE-345
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Reporter: Ben Sommerville
> Assignee: Dan Fabulich
> Fix For: 2.4
>
> Attachments: SUREFIRE-345-2.patch, SUREFIRE-TestNG.patch
>
>
> Trying to execute testng test with 2.4 snapshot results in:
> java.lang.IllegalArgumentException: Unknown parameter type: java.util.Properties
> at org.apache.maven.surefire.booter.SurefireBooter.constructParamObjects(SurefireBooter.java:793)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:844)
> To reproduce attempt to run any project with TestNG tests. Same error occurs with TestNG version 5.1 & 5.5
> Attached patch fixes the problem by supporting the passing of Properties objects (via file/command line) to forked test processes.
--
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
[jira] Updated: (SUREFIRE-345) TestNG test fail with
IllegalARgumentExceptoin
Posted by "Ben Sommerville (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Sommerville updated SUREFIRE-345:
-------------------------------------
Attachment: SUREFIRE-345-2.patch
Slightly better patch that removes extra spaces from property keys
> TestNG test fail with IllegalARgumentExceptoin
> ----------------------------------------------
>
> Key: SUREFIRE-345
> URL: http://jira.codehaus.org/browse/SUREFIRE-345
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Reporter: Ben Sommerville
> Fix For: 2.4
>
> Attachments: SUREFIRE-345-2.patch, SUREFIRE-TestNG.patch
>
>
> Trying to execute testng test with 2.4 snapshot results in:
> java.lang.IllegalArgumentException: Unknown parameter type: java.util.Properties
> at org.apache.maven.surefire.booter.SurefireBooter.constructParamObjects(SurefireBooter.java:793)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:844)
> To reproduce attempt to run any project with TestNG tests. Same error occurs with TestNG version 5.1 & 5.5
> Attached patch fixes the problem by supporting the passing of Properties objects (via file/command line) to forked test processes.
--
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