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

[jira] Created: (MNG-1178) weird junit classloader issue

weird junit classloader issue
-----------------------------

         Key: MNG-1178
         URL: http://jira.codehaus.org/browse/MNG-1178
     Project: Maven 2
        Type: Bug
 Environment: java 1.5, linux
 Reporter: Matthew Pocock


In some cases (that I've not narrowed down), I get this exception when doing m2 install. The affected projects have no test cases and no dependencies taht use JUnit in any way. i can get rid of this exceptino if Junit is added as a test scope dependency. It smells like a class loader issue where something funkey is going on to make the no-args constructor of UnitTest unavailable for chaining from BatteryAssert. Beats me.


org.apache.maven.plugin.MojoExecutionException: Error executing surefire
        at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:294)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:599)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:326)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:152)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:237)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:251)
        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:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.reflect.InvocationTargetException
        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:585)
        at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
        at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:289)
        ... 16 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at org.codehaus.surefire.Surefire.instantiateBatteries(Surefire.java:274)
        at org.codehaus.surefire.Surefire.run(Surefire.java:82)
        at org.codehaus.surefire.Surefire.run(Surefire.java:76)
        ... 22 more
Caused by: java.lang.IllegalAccessError: tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert
        at org.codehaus.surefire.battery.assertion.BatteryAssert.<init>(BatteryAssert.java:23)
        at org.codehaus.surefire.battery.AbstractBattery.<init>(AbstractBattery.java:31)
        at org.codehaus.surefire.battery.DirectoryBattery.<init>(DirectoryBattery.java:39)
        ... 29 more

-- 
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-1178) weird junit classloader issue

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

      Assign To: Brett Porter
     Resolution: Fixed
    Fix Version: 2.0-beta-4

this is most likely fixed then. it was certainly broken for a period yesterday.

> weird junit classloader issue
> -----------------------------
>
>          Key: MNG-1178
>          URL: http://jira.codehaus.org/browse/MNG-1178
>      Project: Maven 2
>         Type: Bug
>  Environment: java 1.5, linux
>     Reporter: Matthew Pocock
>     Assignee: Brett Porter
>      Fix For: 2.0-beta-4

>
>
> In some cases (that I've not narrowed down), I get this exception when doing m2 install. The affected projects have no test cases and no dependencies taht use JUnit in any way. i can get rid of this exceptino if Junit is added as a test scope dependency. It smells like a class loader issue where something funkey is going on to make the no-args constructor of UnitTest unavailable for chaining from BatteryAssert. Beats me.
> org.apache.maven.plugin.MojoExecutionException: Error executing surefire
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:294)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:599)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:326)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:152)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:237)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:251)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.reflect.InvocationTargetException
>         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:585)
>         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:289)
>         ... 16 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.codehaus.surefire.Surefire.instantiateBatteries(Surefire.java:274)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:82)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:76)
>         ... 22 more
> Caused by: java.lang.IllegalAccessError: tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert
>         at org.codehaus.surefire.battery.assertion.BatteryAssert.<init>(BatteryAssert.java:23)
>         at org.codehaus.surefire.battery.AbstractBattery.<init>(AbstractBattery.java:31)
>         at org.codehaus.surefire.battery.DirectoryBattery.<init>(DirectoryBattery.java:39)
>         ... 29 more

-- 
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-1178) weird junit classloader issue

Posted by "Christian Mouttet (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1178?page=comments#action_50889 ] 

Christian Mouttet commented on MNG-1178:
----------------------------------------

Brett,

to reproduce the bug you can write a simple TestCase like this (initializing Log4J):

public class SimpleTest extends TestCase {
    static {
        URL url = AbstractTestCase.class.getResource("/test-log4j.xml");
        DOMConfigurator.configure(url);
    }

    // any tests you like to do ...

}


I have maven-2.0 with surefire-1.4 and junit-3.8.1.

> weird junit classloader issue
> -----------------------------
>
>          Key: MNG-1178
>          URL: http://jira.codehaus.org/browse/MNG-1178
>      Project: Maven 2
>         Type: Bug
>  Environment: java 1.5, linux
>     Reporter: Matthew Pocock
>     Assignee: Brett Porter
>  Attachments: mng-1178-1.tar.gz
>
>
> In some cases (that I've not narrowed down), I get this exception when doing m2 install. The affected projects have no test cases and no dependencies taht use JUnit in any way. i can get rid of this exceptino if Junit is added as a test scope dependency. It smells like a class loader issue where something funkey is going on to make the no-args constructor of UnitTest unavailable for chaining from BatteryAssert. Beats me.
> org.apache.maven.plugin.MojoExecutionException: Error executing surefire
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:294)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:599)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:326)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:152)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:237)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:251)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.reflect.InvocationTargetException
>         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:585)
>         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:289)
>         ... 16 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.codehaus.surefire.Surefire.instantiateBatteries(Surefire.java:274)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:82)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:76)
>         ... 22 more
> Caused by: java.lang.IllegalAccessError: tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert
>         at org.codehaus.surefire.battery.assertion.BatteryAssert.<init>(BatteryAssert.java:23)
>         at org.codehaus.surefire.battery.AbstractBattery.<init>(AbstractBattery.java:31)
>         at org.codehaus.surefire.battery.DirectoryBattery.<init>(DirectoryBattery.java:39)
>         ... 29 more

-- 
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] Reopened: (MNG-1178) weird junit classloader issue

Posted by "Matthew Pocock (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1178?page=all ]
     
Matthew Pocock reopened MNG-1178:
---------------------------------


Defnintely still happening - using today's build of maven from svn. Using the latest svn of surefire.

> weird junit classloader issue
> -----------------------------
>
>          Key: MNG-1178
>          URL: http://jira.codehaus.org/browse/MNG-1178
>      Project: Maven 2
>         Type: Bug
>  Environment: java 1.5, linux
>     Reporter: Matthew Pocock
>     Assignee: Brett Porter
>      Fix For: 2.0-beta-4

>
>
> In some cases (that I've not narrowed down), I get this exception when doing m2 install. The affected projects have no test cases and no dependencies taht use JUnit in any way. i can get rid of this exceptino if Junit is added as a test scope dependency. It smells like a class loader issue where something funkey is going on to make the no-args constructor of UnitTest unavailable for chaining from BatteryAssert. Beats me.
> org.apache.maven.plugin.MojoExecutionException: Error executing surefire
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:294)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:599)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:326)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:152)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:237)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:251)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.reflect.InvocationTargetException
>         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:585)
>         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:289)
>         ... 16 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.codehaus.surefire.Surefire.instantiateBatteries(Surefire.java:274)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:82)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:76)
>         ... 22 more
> Caused by: java.lang.IllegalAccessError: tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert
>         at org.codehaus.surefire.battery.assertion.BatteryAssert.<init>(BatteryAssert.java:23)
>         at org.codehaus.surefire.battery.AbstractBattery.<init>(AbstractBattery.java:31)
>         at org.codehaus.surefire.battery.DirectoryBattery.<init>(DirectoryBattery.java:39)
>         ... 29 more

-- 
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-1178) weird junit classloader issue

Posted by "David H. DeWolf (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1178?page=comments#action_50477 ] 

David H. DeWolf commented on MNG-1178:
--------------------------------------

I have sporadically received this error message using both maven-2.0 and the latest trunk revision 332027 (on 11/09/2005).  In 2.0 this is hidden by issue: MNG-1220 (NullPointerException).

As stated in this bug, adding junit 3.8.1 to the pom which fails fixes the issue.

What's odd is that I can go 4 hours of development without this issue and then all of a sudden beat my head against the wall for the next 20.  Even,  if at that time, I roll my code back to a point in time I know it was working, I still get the bug.  I can't put any ryme or reason to it at all.  I happen to be developing a plugin - I'm not sure if that's related.

> weird junit classloader issue
> -----------------------------
>
>          Key: MNG-1178
>          URL: http://jira.codehaus.org/browse/MNG-1178
>      Project: Maven 2
>         Type: Bug
>  Environment: java 1.5, linux
>     Reporter: Matthew Pocock
>     Assignee: Brett Porter
>  Attachments: mng-1178-1.tar.gz
>
>
> In some cases (that I've not narrowed down), I get this exception when doing m2 install. The affected projects have no test cases and no dependencies taht use JUnit in any way. i can get rid of this exceptino if Junit is added as a test scope dependency. It smells like a class loader issue where something funkey is going on to make the no-args constructor of UnitTest unavailable for chaining from BatteryAssert. Beats me.
> org.apache.maven.plugin.MojoExecutionException: Error executing surefire
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:294)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:599)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:326)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:152)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:237)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:251)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.reflect.InvocationTargetException
>         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:585)
>         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:289)
>         ... 16 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.codehaus.surefire.Surefire.instantiateBatteries(Surefire.java:274)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:82)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:76)
>         ... 22 more
> Caused by: java.lang.IllegalAccessError: tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert
>         at org.codehaus.surefire.battery.assertion.BatteryAssert.<init>(BatteryAssert.java:23)
>         at org.codehaus.surefire.battery.AbstractBattery.<init>(AbstractBattery.java:31)
>         at org.codehaus.surefire.battery.DirectoryBattery.<init>(DirectoryBattery.java:39)
>         ... 29 more

-- 
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-1178) weird junit classloader issue

Posted by "Matthew Pocock (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1178?page=comments#action_48417 ] 

Matthew Pocock commented on MNG-1178:
-------------------------------------

both m2 and surefire where from svn - m2 beta 4 snapshot and surefire 1.4 snapshot

> weird junit classloader issue
> -----------------------------
>
>          Key: MNG-1178
>          URL: http://jira.codehaus.org/browse/MNG-1178
>      Project: Maven 2
>         Type: Bug
>  Environment: java 1.5, linux
>     Reporter: Matthew Pocock

>
>
> In some cases (that I've not narrowed down), I get this exception when doing m2 install. The affected projects have no test cases and no dependencies taht use JUnit in any way. i can get rid of this exceptino if Junit is added as a test scope dependency. It smells like a class loader issue where something funkey is going on to make the no-args constructor of UnitTest unavailable for chaining from BatteryAssert. Beats me.
> org.apache.maven.plugin.MojoExecutionException: Error executing surefire
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:294)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:599)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:326)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:152)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:237)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:251)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.reflect.InvocationTargetException
>         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:585)
>         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:289)
>         ... 16 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.codehaus.surefire.Surefire.instantiateBatteries(Surefire.java:274)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:82)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:76)
>         ... 22 more
> Caused by: java.lang.IllegalAccessError: tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert
>         at org.codehaus.surefire.battery.assertion.BatteryAssert.<init>(BatteryAssert.java:23)
>         at org.codehaus.surefire.battery.AbstractBattery.<init>(AbstractBattery.java:31)
>         at org.codehaus.surefire.battery.DirectoryBattery.<init>(DirectoryBattery.java:39)
>         ... 29 more

-- 
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-1178) weird junit classloader issue

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

Brett Porter updated MNG-1178:
------------------------------

    Fix Version:     (was: 2.0-beta-4)
                 2.0.1

do you have a test case we can use? did it work with prior versions of Maven?

> weird junit classloader issue
> -----------------------------
>
>          Key: MNG-1178
>          URL: http://jira.codehaus.org/browse/MNG-1178
>      Project: Maven 2
>         Type: Bug
>  Environment: java 1.5, linux
>     Reporter: Matthew Pocock
>     Assignee: Brett Porter
>      Fix For: 2.0.1

>
>
> In some cases (that I've not narrowed down), I get this exception when doing m2 install. The affected projects have no test cases and no dependencies taht use JUnit in any way. i can get rid of this exceptino if Junit is added as a test scope dependency. It smells like a class loader issue where something funkey is going on to make the no-args constructor of UnitTest unavailable for chaining from BatteryAssert. Beats me.
> org.apache.maven.plugin.MojoExecutionException: Error executing surefire
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:294)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:599)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:326)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:152)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:237)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:251)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.reflect.InvocationTargetException
>         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:585)
>         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:289)
>         ... 16 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.codehaus.surefire.Surefire.instantiateBatteries(Surefire.java:274)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:82)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:76)
>         ... 22 more
> Caused by: java.lang.IllegalAccessError: tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert
>         at org.codehaus.surefire.battery.assertion.BatteryAssert.<init>(BatteryAssert.java:23)
>         at org.codehaus.surefire.battery.AbstractBattery.<init>(AbstractBattery.java:31)
>         at org.codehaus.surefire.battery.DirectoryBattery.<init>(DirectoryBattery.java:39)
>         ... 29 more

-- 
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-1178) weird junit classloader issue

Posted by "Corridor Software Developer (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1178?page=comments#action_48814 ] 

Corridor Software Developer commented on MNG-1178:
--------------------------------------------------


The problem seems to stem from having a dependency on junit 3.7 in a subproject. Fabrizio, I'm assuming the junit dep you added to work around the problem was for version 3.8.1?

> weird junit classloader issue
> -----------------------------
>
>          Key: MNG-1178
>          URL: http://jira.codehaus.org/browse/MNG-1178
>      Project: Maven 2
>         Type: Bug
>  Environment: java 1.5, linux
>     Reporter: Matthew Pocock
>     Assignee: Brett Porter
>      Fix For: 2.0.1
>  Attachments: mng-1178-1.tar.gz
>
>
> In some cases (that I've not narrowed down), I get this exception when doing m2 install. The affected projects have no test cases and no dependencies taht use JUnit in any way. i can get rid of this exceptino if Junit is added as a test scope dependency. It smells like a class loader issue where something funkey is going on to make the no-args constructor of UnitTest unavailable for chaining from BatteryAssert. Beats me.
> org.apache.maven.plugin.MojoExecutionException: Error executing surefire
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:294)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:599)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:326)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:152)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:237)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:251)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.reflect.InvocationTargetException
>         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:585)
>         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:289)
>         ... 16 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.codehaus.surefire.Surefire.instantiateBatteries(Surefire.java:274)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:82)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:76)
>         ... 22 more
> Caused by: java.lang.IllegalAccessError: tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert
>         at org.codehaus.surefire.battery.assertion.BatteryAssert.<init>(BatteryAssert.java:23)
>         at org.codehaus.surefire.battery.AbstractBattery.<init>(AbstractBattery.java:31)
>         at org.codehaus.surefire.battery.DirectoryBattery.<init>(DirectoryBattery.java:39)
>         ... 29 more

-- 
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-1178) weird junit classloader issue

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1178?page=comments#action_48794 ] 

fabrizio giustina commented on MNG-1178:
----------------------------------------

Here you can find a project which shows this problem:
http://cvs.sourceforge.net/viewcvs.py/displaytag/

I recently refactored the displaytag build in order to use m2 with a 4-modules build.
The parent project is displaytag-doc, displaytag and displaytag-export poi are two jar projects and displaytag-examples is a war.

Building displaytag-examples alone works, but if you run mvn install from displaytag-doc the build breaks at displaytag-examples (a war project without junit tests) with the error:
[INFO] Error executing surefire
tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert


NOTE that at the moment I added the junit dependency as a workaround to displaytag-examples/pom.xml . If anybody wants to give a look at this issue using this project as an example he will have to comment out the dependency (with this additional dependency everything works, as described by Matthew).
I'll try to track down the cause of the error and to reproduce it with a simpler testcase.



> weird junit classloader issue
> -----------------------------
>
>          Key: MNG-1178
>          URL: http://jira.codehaus.org/browse/MNG-1178
>      Project: Maven 2
>         Type: Bug
>  Environment: java 1.5, linux
>     Reporter: Matthew Pocock
>     Assignee: Brett Porter
>      Fix For: 2.0.1

>
>
> In some cases (that I've not narrowed down), I get this exception when doing m2 install. The affected projects have no test cases and no dependencies taht use JUnit in any way. i can get rid of this exceptino if Junit is added as a test scope dependency. It smells like a class loader issue where something funkey is going on to make the no-args constructor of UnitTest unavailable for chaining from BatteryAssert. Beats me.
> org.apache.maven.plugin.MojoExecutionException: Error executing surefire
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:294)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:599)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:326)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:152)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:237)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:251)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.reflect.InvocationTargetException
>         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:585)
>         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:289)
>         ... 16 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.codehaus.surefire.Surefire.instantiateBatteries(Surefire.java:274)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:82)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:76)
>         ... 22 more
> Caused by: java.lang.IllegalAccessError: tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert
>         at org.codehaus.surefire.battery.assertion.BatteryAssert.<init>(BatteryAssert.java:23)
>         at org.codehaus.surefire.battery.AbstractBattery.<init>(AbstractBattery.java:31)
>         at org.codehaus.surefire.battery.DirectoryBattery.<init>(DirectoryBattery.java:39)
>         ... 29 more

-- 
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-1178) weird junit classloader issue

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1178?page=comments#action_48385 ] 

Brett Porter commented on MNG-1178:
-----------------------------------

what version of m2 / surefire were you getting this with?

> weird junit classloader issue
> -----------------------------
>
>          Key: MNG-1178
>          URL: http://jira.codehaus.org/browse/MNG-1178
>      Project: Maven 2
>         Type: Bug
>  Environment: java 1.5, linux
>     Reporter: Matthew Pocock

>
>
> In some cases (that I've not narrowed down), I get this exception when doing m2 install. The affected projects have no test cases and no dependencies taht use JUnit in any way. i can get rid of this exceptino if Junit is added as a test scope dependency. It smells like a class loader issue where something funkey is going on to make the no-args constructor of UnitTest unavailable for chaining from BatteryAssert. Beats me.
> org.apache.maven.plugin.MojoExecutionException: Error executing surefire
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:294)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:599)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:326)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:152)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:237)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:251)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.reflect.InvocationTargetException
>         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:585)
>         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:289)
>         ... 16 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.codehaus.surefire.Surefire.instantiateBatteries(Surefire.java:274)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:82)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:76)
>         ... 22 more
> Caused by: java.lang.IllegalAccessError: tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert
>         at org.codehaus.surefire.battery.assertion.BatteryAssert.<init>(BatteryAssert.java:23)
>         at org.codehaus.surefire.battery.AbstractBattery.<init>(AbstractBattery.java:31)
>         at org.codehaus.surefire.battery.DirectoryBattery.<init>(DirectoryBattery.java:39)
>         ... 29 more

-- 
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-1178) weird junit classloader issue

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1178?page=comments#action_48795 ] 

fabrizio giustina commented on MNG-1178:
----------------------------------------

forgot to mention: the problem is still in the maven 2.0 rc


> weird junit classloader issue
> -----------------------------
>
>          Key: MNG-1178
>          URL: http://jira.codehaus.org/browse/MNG-1178
>      Project: Maven 2
>         Type: Bug
>  Environment: java 1.5, linux
>     Reporter: Matthew Pocock
>     Assignee: Brett Porter
>      Fix For: 2.0.1

>
>
> In some cases (that I've not narrowed down), I get this exception when doing m2 install. The affected projects have no test cases and no dependencies taht use JUnit in any way. i can get rid of this exceptino if Junit is added as a test scope dependency. It smells like a class loader issue where something funkey is going on to make the no-args constructor of UnitTest unavailable for chaining from BatteryAssert. Beats me.
> org.apache.maven.plugin.MojoExecutionException: Error executing surefire
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:294)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:599)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:326)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:152)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:237)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:251)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.reflect.InvocationTargetException
>         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:585)
>         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:289)
>         ... 16 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.codehaus.surefire.Surefire.instantiateBatteries(Surefire.java:274)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:82)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:76)
>         ... 22 more
> Caused by: java.lang.IllegalAccessError: tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert
>         at org.codehaus.surefire.battery.assertion.BatteryAssert.<init>(BatteryAssert.java:23)
>         at org.codehaus.surefire.battery.AbstractBattery.<init>(AbstractBattery.java:31)
>         at org.codehaus.surefire.battery.DirectoryBattery.<init>(DirectoryBattery.java:39)
>         ... 29 more

-- 
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-1178) weird junit classloader issue

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

     Resolution: Cannot Reproduce
    Fix Version:     (was: 2.0.1)

can't reproduce in displaytag from cvs. I have a feeling this was fixed for 2.0 along with the scope changes.

> weird junit classloader issue
> -----------------------------
>
>          Key: MNG-1178
>          URL: http://jira.codehaus.org/browse/MNG-1178
>      Project: Maven 2
>         Type: Bug
>  Environment: java 1.5, linux
>     Reporter: Matthew Pocock
>     Assignee: Brett Porter
>  Attachments: mng-1178-1.tar.gz
>
>
> In some cases (that I've not narrowed down), I get this exception when doing m2 install. The affected projects have no test cases and no dependencies taht use JUnit in any way. i can get rid of this exceptino if Junit is added as a test scope dependency. It smells like a class loader issue where something funkey is going on to make the no-args constructor of UnitTest unavailable for chaining from BatteryAssert. Beats me.
> org.apache.maven.plugin.MojoExecutionException: Error executing surefire
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:294)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:599)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:326)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:152)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:237)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:251)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.reflect.InvocationTargetException
>         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:585)
>         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:289)
>         ... 16 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.codehaus.surefire.Surefire.instantiateBatteries(Surefire.java:274)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:82)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:76)
>         ... 22 more
> Caused by: java.lang.IllegalAccessError: tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert
>         at org.codehaus.surefire.battery.assertion.BatteryAssert.<init>(BatteryAssert.java:23)
>         at org.codehaus.surefire.battery.AbstractBattery.<init>(AbstractBattery.java:31)
>         at org.codehaus.surefire.battery.DirectoryBattery.<init>(DirectoryBattery.java:39)
>         ... 29 more

-- 
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-1178) weird junit classloader issue

Posted by "Corridor Software Developer (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1178?page=all ]

Corridor Software Developer updated MNG-1178:
---------------------------------------------

    Attachment: mng-1178-1.tar.gz


I am receiving the same exception under the following conditions:

- Revision: 326303
- Consistently caused with `mvn tomcat:deploy` on the attached project. You won't be able to build it since one of the dependencies required to create the failure is another internal project. Included the build debug output in the attachment instead so you can see the outcome.




> weird junit classloader issue
> -----------------------------
>
>          Key: MNG-1178
>          URL: http://jira.codehaus.org/browse/MNG-1178
>      Project: Maven 2
>         Type: Bug
>  Environment: java 1.5, linux
>     Reporter: Matthew Pocock
>     Assignee: Brett Porter
>      Fix For: 2.0.1
>  Attachments: mng-1178-1.tar.gz
>
>
> In some cases (that I've not narrowed down), I get this exception when doing m2 install. The affected projects have no test cases and no dependencies taht use JUnit in any way. i can get rid of this exceptino if Junit is added as a test scope dependency. It smells like a class loader issue where something funkey is going on to make the no-args constructor of UnitTest unavailable for chaining from BatteryAssert. Beats me.
> org.apache.maven.plugin.MojoExecutionException: Error executing surefire
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:294)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:599)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:326)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:152)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:237)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:251)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.reflect.InvocationTargetException
>         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:585)
>         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:289)
>         ... 16 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.codehaus.surefire.Surefire.instantiateBatteries(Surefire.java:274)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:82)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:76)
>         ... 22 more
> Caused by: java.lang.IllegalAccessError: tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert
>         at org.codehaus.surefire.battery.assertion.BatteryAssert.<init>(BatteryAssert.java:23)
>         at org.codehaus.surefire.battery.AbstractBattery.<init>(AbstractBattery.java:31)
>         at org.codehaus.surefire.battery.DirectoryBattery.<init>(DirectoryBattery.java:39)
>         ... 29 more

-- 
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-1178) weird junit classloader issue

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1178?page=comments#action_51722 ] 

Brett Porter commented on MNG-1178:
-----------------------------------

Christian, that doesn't help... please provide a full project structure that exhibits the problem

> weird junit classloader issue
> -----------------------------
>
>          Key: MNG-1178
>          URL: http://jira.codehaus.org/browse/MNG-1178
>      Project: Maven 2
>         Type: Bug
>  Environment: java 1.5, linux
>     Reporter: Matthew Pocock
>     Assignee: Brett Porter
>  Attachments: mng-1178-1.tar.gz
>
>
> In some cases (that I've not narrowed down), I get this exception when doing m2 install. The affected projects have no test cases and no dependencies taht use JUnit in any way. i can get rid of this exceptino if Junit is added as a test scope dependency. It smells like a class loader issue where something funkey is going on to make the no-args constructor of UnitTest unavailable for chaining from BatteryAssert. Beats me.
> org.apache.maven.plugin.MojoExecutionException: Error executing surefire
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:294)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:599)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:326)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:152)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:237)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:251)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.reflect.InvocationTargetException
>         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:585)
>         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:289)
>         ... 16 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.codehaus.surefire.Surefire.instantiateBatteries(Surefire.java:274)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:82)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:76)
>         ... 22 more
> Caused by: java.lang.IllegalAccessError: tried to access method junit.framework.TestCase.<init>()V from class org.codehaus.surefire.battery.assertion.BatteryAssert
>         at org.codehaus.surefire.battery.assertion.BatteryAssert.<init>(BatteryAssert.java:23)
>         at org.codehaus.surefire.battery.AbstractBattery.<init>(AbstractBattery.java:31)
>         at org.codehaus.surefire.battery.DirectoryBattery.<init>(DirectoryBattery.java:39)
>         ... 29 more

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