You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bernhard Neuhauser (JIRA)" <ji...@codehaus.org> on 2007/02/16 02:05:17 UTC

[jira] Created: (SUREFIRE-287) Regression: org.testng.xml.Praser#parse() signature changed

Regression: org.testng.xml.Praser#parse() signature changed
-----------------------------------------------------------

                 Key: SUREFIRE-287
                 URL: http://jira.codehaus.org/browse/SUREFIRE-287
             Project: Maven Surefire
          Issue Type: Bug
          Components: TestNG support
    Affects Versions: 2.0 (2.2 plugin), 2.3
            Reporter: Bernhard Neuhauser
            Priority: Critical


TestNG 5.3, 5.4 and 5.5 dont work with Surefire. 
TestNG 5.2 runs fine.

Reference to the TestNG Issue: http://jira.opensymphony.com/browse/TESTNG-122

org.apache.maven.surefire.booter.SurefireExecutionException: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;; 
nested exception is java.lang.NoSuchMethodError: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;

java.lang.NoSuchMethodError: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;
        at org.apache.maven.surefire.testng.TestNGXmlTestSuite.locateTestSets(TestNGXmlTestSuite.java:129)
        at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:147)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
        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:597)
        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:288)
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:816)

-- 
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-287) Regression: org.testng.xml.Praser#parse() signature changed

Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Fabulich closed SUREFIRE-287.
---------------------------------

    Resolution: Fixed

TestNG 5.5 and up work in latest trunk.

> Regression: org.testng.xml.Praser#parse() signature changed
> -----------------------------------------------------------
>
>                 Key: SUREFIRE-287
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-287
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: TestNG support
>    Affects Versions: 2.0 (2.2 plugin), 2.3
>            Reporter: Bernhard Neuhauser
>            Priority: Critical
>             Fix For: 2.4
>
>
> TestNG 5.3, 5.4 and 5.5 dont work with Surefire. 
> TestNG 5.2 runs fine.
> Reference to the TestNG Issue: http://jira.opensymphony.com/browse/TESTNG-122
> org.apache.maven.surefire.booter.SurefireExecutionException: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;; 
> nested exception is java.lang.NoSuchMethodError: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;
> java.lang.NoSuchMethodError: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;
>         at org.apache.maven.surefire.testng.TestNGXmlTestSuite.locateTestSets(TestNGXmlTestSuite.java:129)
>         at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:147)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
>         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:597)
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:288)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:816)

-- 
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-287) Regression: org.testng.xml.Praser#parse() signature changed

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated SUREFIRE-287:
----------------------------------

    Fix Version/s:     (was: 2.3)
                   2.4

> Regression: org.testng.xml.Praser#parse() signature changed
> -----------------------------------------------------------
>
>                 Key: SUREFIRE-287
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-287
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: TestNG support
>    Affects Versions: 2.0 (2.2 plugin), 2.3
>            Reporter: Bernhard Neuhauser
>            Priority: Critical
>             Fix For: 2.4
>
>
> TestNG 5.3, 5.4 and 5.5 dont work with Surefire. 
> TestNG 5.2 runs fine.
> Reference to the TestNG Issue: http://jira.opensymphony.com/browse/TESTNG-122
> org.apache.maven.surefire.booter.SurefireExecutionException: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;; 
> nested exception is java.lang.NoSuchMethodError: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;
> java.lang.NoSuchMethodError: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;
>         at org.apache.maven.surefire.testng.TestNGXmlTestSuite.locateTestSets(TestNGXmlTestSuite.java:129)
>         at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:147)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
>         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:597)
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:288)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:816)

-- 
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-287) Regression: org.testng.xml.Praser#parse() signature changed

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated SUREFIRE-287:
----------------------------------

    Fix Version/s: 2.3

> Regression: org.testng.xml.Praser#parse() signature changed
> -----------------------------------------------------------
>
>                 Key: SUREFIRE-287
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-287
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: TestNG support
>    Affects Versions: 2.0 (2.2 plugin), 2.3
>            Reporter: Bernhard Neuhauser
>            Priority: Critical
>             Fix For: 2.3
>
>
> TestNG 5.3, 5.4 and 5.5 dont work with Surefire. 
> TestNG 5.2 runs fine.
> Reference to the TestNG Issue: http://jira.opensymphony.com/browse/TESTNG-122
> org.apache.maven.surefire.booter.SurefireExecutionException: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;; 
> nested exception is java.lang.NoSuchMethodError: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;
> java.lang.NoSuchMethodError: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;
>         at org.apache.maven.surefire.testng.TestNGXmlTestSuite.locateTestSets(TestNGXmlTestSuite.java:129)
>         at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:147)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
>         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:597)
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:288)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:816)

-- 
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] Commented: (SUREFIRE-287) Regression: org.testng.xml.Praser#parse() signature changed

Posted by "Bernhard Neuhauser (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SUREFIRE-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_93263 ] 

Bernhard Neuhauser commented on SUREFIRE-287:
---------------------------------------------

Tried TestNG 5.5 + surefire 2.4-SNAPSHOT => Works as expected.


> Regression: org.testng.xml.Praser#parse() signature changed
> -----------------------------------------------------------
>
>                 Key: SUREFIRE-287
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-287
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: TestNG support
>    Affects Versions: 2.0 (2.2 plugin), 2.3
>            Reporter: Bernhard Neuhauser
>            Priority: Critical
>             Fix For: 2.4
>
>
> TestNG 5.3, 5.4 and 5.5 dont work with Surefire. 
> TestNG 5.2 runs fine.
> Reference to the TestNG Issue: http://jira.opensymphony.com/browse/TESTNG-122
> org.apache.maven.surefire.booter.SurefireExecutionException: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;; 
> nested exception is java.lang.NoSuchMethodError: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;
> java.lang.NoSuchMethodError: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;
>         at org.apache.maven.surefire.testng.TestNGXmlTestSuite.locateTestSets(TestNGXmlTestSuite.java:129)
>         at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:147)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
>         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:597)
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:288)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:816)

-- 
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] Commented: (SUREFIRE-287) Regression: org.testng.xml.Praser#parse() signature changed

Posted by "Jesse Kuhnert (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SUREFIRE-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92904 ] 

Jesse Kuhnert commented on SUREFIRE-287:
----------------------------------------

I'd resolve this if I had the right perms but the new 2.4-SNAPSHOT version of surefire is compatible up to version 5.5 of TestNG.

> Regression: org.testng.xml.Praser#parse() signature changed
> -----------------------------------------------------------
>
>                 Key: SUREFIRE-287
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-287
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: TestNG support
>    Affects Versions: 2.0 (2.2 plugin), 2.3
>            Reporter: Bernhard Neuhauser
>            Priority: Critical
>             Fix For: 2.4
>
>
> TestNG 5.3, 5.4 and 5.5 dont work with Surefire. 
> TestNG 5.2 runs fine.
> Reference to the TestNG Issue: http://jira.opensymphony.com/browse/TESTNG-122
> org.apache.maven.surefire.booter.SurefireExecutionException: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;; 
> nested exception is java.lang.NoSuchMethodError: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;
> java.lang.NoSuchMethodError: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;
>         at org.apache.maven.surefire.testng.TestNGXmlTestSuite.locateTestSets(TestNGXmlTestSuite.java:129)
>         at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:147)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
>         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:597)
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:288)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:816)

-- 
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