[jira] Created: (MEVENIDE-620) Test fail with extra commons-logging

View: New views
10 Messages — Rating Filter:   Alert me  

[jira] Created: (MEVENIDE-620) Test fail with extra commons-logging

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Test fail with extra commons-logging
------------------------------------

                 Key: MEVENIDE-620
                 URL: http://jira.codehaus.org/browse/MEVENIDE-620
             Project: mevenide
          Issue Type: Bug
          Components: mevenide-netbeans
    Affects Versions: NB_3.0
         Environment: netbean 6.0.1 6.1dev kubuntu linux
            Reporter: Nick Stuart
            Assignee: Milos Kleint


I have a maven project setup that, outside of the ide, runs and completes tests just fine. If I try to run the tests from with in Netbeans I get an error:
------------------------------------------------------------------------
null; nested exception is java.lang.ExceptionInInitializerError: null

Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
------------------------------------------------------------------------
For more information, run Maven with the -e switch
------------------------------------------------------------------------
Total time: 3 seconds
Finished at: Tue Apr 08 09:23:27 EDT 2008
Final Memory: 91M/185M
------------------------------------------------------------------------

The pom files are not changed between when I open it in NB and when I run it on the command line, but it still fails. I've checked my dependencies, and I only have 1 reference of commons-logging 1.0.4 in the list, so I don't know where the extra one is coming from.

I do have some projects that test fine through NB, so really not sure whats going on here.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (MEVENIDE-620) Test fail with extra commons-logging

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint updated MEVENIDE-620:
----------------------------------

    Fix Version/s: NB_3.1
      Component/s:     (was: mevenide-netbeans)
                   mevenide2-netbeans

do you have a sample project to reproduce to problem?



> Test fail with extra commons-logging
> ------------------------------------
>
>                 Key: MEVENIDE-620
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-620
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: netbean 6.0.1 6.1dev kubuntu linux
>            Reporter: Nick Stuart
>            Assignee: Milos Kleint
>             Fix For: NB_3.1
>
>
> I have a maven project setup that, outside of the ide, runs and completes tests just fine. If I try to run the tests from with in Netbeans I get an error:
> ------------------------------------------------------------------------
> null; nested exception is java.lang.ExceptionInInitializerError: null
> Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
> ------------------------------------------------------------------------
> For more information, run Maven with the -e switch
> ------------------------------------------------------------------------
> Total time: 3 seconds
> Finished at: Tue Apr 08 09:23:27 EDT 2008
> Final Memory: 91M/185M
> ------------------------------------------------------------------------
> The pom files are not changed between when I open it in NB and when I run it on the command line, but it still fails. I've checked my dependencies, and I only have 1 reference of commons-logging 1.0.4 in the list, so I don't know where the extra one is coming from.
> I do have some projects that test fine through NB, so really not sure whats going on here.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MEVENIDE-620) Test fail with extra commons-logging

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MEVENIDE-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130125#action_130125 ]

Nick Stuart commented on MEVENIDE-620:
--------------------------------------

I'll see if I can come up with one. The only problem with doing it quickly is we have an internal repo set up with some custom stuff in it so duplicating an exact project, dependencies wise will be a little tricky.

The other odd thing is that all my projects inherit from one super-pom with the dependencies in it, yet some work and some don't. The only thing I've seen thats really different are the ones that rely on some of our own internal projects seem to be failing. Let me see if I can get the debug output and see if that helps.

> Test fail with extra commons-logging
> ------------------------------------
>
>                 Key: MEVENIDE-620
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-620
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: netbean 6.0.1 6.1dev kubuntu linux
>            Reporter: Nick Stuart
>            Assignee: Milos Kleint
>             Fix For: NB_3.1
>
>
> I have a maven project setup that, outside of the ide, runs and completes tests just fine. If I try to run the tests from with in Netbeans I get an error:
> ------------------------------------------------------------------------
> null; nested exception is java.lang.ExceptionInInitializerError: null
> Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
> ------------------------------------------------------------------------
> For more information, run Maven with the -e switch
> ------------------------------------------------------------------------
> Total time: 3 seconds
> Finished at: Tue Apr 08 09:23:27 EDT 2008
> Final Memory: 91M/185M
> ------------------------------------------------------------------------
> The pom files are not changed between when I open it in NB and when I run it on the command line, but it still fails. I've checked my dependencies, and I only have 1 reference of commons-logging 1.0.4 in the list, so I don't know where the extra one is coming from.
> I do have some projects that test fine through NB, so really not sure whats going on here.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MEVENIDE-620) Test fail with extra commons-logging

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MEVENIDE-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130126#action_130126 ]

Nick Stuart commented on MEVENIDE-620:
--------------------------------------

Here's the debug stacktrace:

[DEBUG]Trace
org.apache.maven.lifecycle.LifecycleExecutionException: null; nested exception is java.lang.ExceptionInInitializerError: null
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:635)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:551)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:530)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:309)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:276)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:92)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:393)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:182)
        at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:760)
        at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:196)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: org.apache.maven.plugin.MojoExecutionException: null; nested exception is java.lang.ExceptionInInitializerError: null
        at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:496)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:610)
        ... 11 more
Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: null; nested exception is java.lang.ExceptionInInitializerError: null
        at org.apache.maven.surefire.booter.SurefireBooter.getTestSets(SurefireBooter.java:460)
        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesForkPerTestSet(SurefireBooter.java:399)
        at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:249)
        at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:492)
        ... 13 more
Caused by: java.lang.ExceptionInInitializerError
        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:513)
        at org.junit.internal.requests.ClassRequest.buildRunner(ClassRequest.java:33)
        at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:28)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.<init>(JUnit4TestSet.java:45)
        at org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite.createTestSet(JUnit4DirectoryTestSuite.java:56)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:96)
        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.getTestSets(SurefireBooter.java:448)
        ... 16 more
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused by org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.))
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
        at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.<clinit>(SpringJUnit4ClassRunner.java:61)
        ... 30 more
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.)
        at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
        ... 34 more
Caused by: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
        at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:385)
        ... 35 more

> Test fail with extra commons-logging
> ------------------------------------
>
>                 Key: MEVENIDE-620
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-620
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: netbean 6.0.1 6.1dev kubuntu linux
>            Reporter: Nick Stuart
>            Assignee: Milos Kleint
>             Fix For: NB_3.1
>
>
> I have a maven project setup that, outside of the ide, runs and completes tests just fine. If I try to run the tests from with in Netbeans I get an error:
> ------------------------------------------------------------------------
> null; nested exception is java.lang.ExceptionInInitializerError: null
> Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
> ------------------------------------------------------------------------
> For more information, run Maven with the -e switch
> ------------------------------------------------------------------------
> Total time: 3 seconds
> Finished at: Tue Apr 08 09:23:27 EDT 2008
> Final Memory: 91M/185M
> ------------------------------------------------------------------------
> The pom files are not changed between when I open it in NB and when I run it on the command line, but it still fails. I've checked my dependencies, and I only have 1 reference of commons-logging 1.0.4 in the list, so I don't know where the extra one is coming from.
> I do have some projects that test fine through NB, so really not sure whats going on here.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (MEVENIDE-620) Test fail with extra commons-logging

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Stuart updated MEVENIDE-620:
---------------------------------

    Attachment: build.out

Full debug output for running a test that fails.

> Test fail with extra commons-logging
> ------------------------------------
>
>                 Key: MEVENIDE-620
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-620
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: netbean 6.0.1 6.1dev kubuntu linux
>            Reporter: Nick Stuart
>            Assignee: Milos Kleint
>             Fix For: NB_3.1
>
>         Attachments: build.out
>
>
> I have a maven project setup that, outside of the ide, runs and completes tests just fine. If I try to run the tests from with in Netbeans I get an error:
> ------------------------------------------------------------------------
> null; nested exception is java.lang.ExceptionInInitializerError: null
> Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
> ------------------------------------------------------------------------
> For more information, run Maven with the -e switch
> ------------------------------------------------------------------------
> Total time: 3 seconds
> Finished at: Tue Apr 08 09:23:27 EDT 2008
> Final Memory: 91M/185M
> ------------------------------------------------------------------------
> The pom files are not changed between when I open it in NB and when I run it on the command line, but it still fails. I've checked my dependencies, and I only have 1 reference of commons-logging 1.0.4 in the list, so I don't know where the extra one is coming from.
> I do have some projects that test fine through NB, so really not sure whats going on here.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (MEVENIDE-620) Test fail with extra commons-logging

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Stuart updated MEVENIDE-620:
---------------------------------

    Attachment: build.out

And for comparision, debug output that runs (even though there are errors in the test. This is run from the command line, same poms and everything.

> Test fail with extra commons-logging
> ------------------------------------
>
>                 Key: MEVENIDE-620
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-620
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: netbean 6.0.1 6.1dev kubuntu linux
>            Reporter: Nick Stuart
>            Assignee: Milos Kleint
>             Fix For: NB_3.1
>
>         Attachments: build.out, build.out
>
>
> I have a maven project setup that, outside of the ide, runs and completes tests just fine. If I try to run the tests from with in Netbeans I get an error:
> ------------------------------------------------------------------------
> null; nested exception is java.lang.ExceptionInInitializerError: null
> Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
> ------------------------------------------------------------------------
> For more information, run Maven with the -e switch
> ------------------------------------------------------------------------
> Total time: 3 seconds
> Finished at: Tue Apr 08 09:23:27 EDT 2008
> Final Memory: 91M/185M
> ------------------------------------------------------------------------
> The pom files are not changed between when I open it in NB and when I run it on the command line, but it still fails. I've checked my dependencies, and I only have 1 reference of commons-logging 1.0.4 in the list, so I don't know where the extra one is coming from.
> I do have some projects that test fine through NB, so really not sure whats going on here.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MEVENIDE-620) Test fail with extra commons-logging

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MEVENIDE-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130220#action_130220 ]

Milos Kleint commented on MEVENIDE-620:
---------------------------------------

a few ideas.

1. if your tests are forked, then it's most probably not caused by netbeans integration but by maven itself. I assume you are using 3.0.x of mevenide. A possible workaround would be to use the command-line maven for execution within the IDE. (settable from project properties dialog and tools/options dialog). Since 3.0.x uses an old (2.0.4 like) maven embedder, it could cause it. Alternaively you can try installing 3.1-SNAPSHOT daily builds from http://deadlock.netbeans.org/hudson/job/mevenide. That one includes current 2.1-SNAPSHOT of maven embedder.
2. since some projects work and some fail, you might be using different version of surefire plugin. There were classloader related changes between 2.3 and 2.4. Please make sure you are using the latest of 2.4.x (and not 2.4 as that one has a bug that is visible in embedded environment)
3. some of the dependencies you are using might actually include the commons-logging classes even though it doesn't declare it. I've seen it before that a jar contains all it's dependencies  as well.

In any case I will really need a sample setup project to be able to debug and tell if the problem related to  the netbeans integration or not..

> Test fail with extra commons-logging
> ------------------------------------
>
>                 Key: MEVENIDE-620
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-620
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: netbean 6.0.1 6.1dev kubuntu linux
>            Reporter: Nick Stuart
>            Assignee: Milos Kleint
>             Fix For: NB_3.1
>
>         Attachments: build.out, build.out
>
>
> I have a maven project setup that, outside of the ide, runs and completes tests just fine. If I try to run the tests from with in Netbeans I get an error:
> ------------------------------------------------------------------------
> null; nested exception is java.lang.ExceptionInInitializerError: null
> Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
> ------------------------------------------------------------------------
> For more information, run Maven with the -e switch
> ------------------------------------------------------------------------
> Total time: 3 seconds
> Finished at: Tue Apr 08 09:23:27 EDT 2008
> Final Memory: 91M/185M
> ------------------------------------------------------------------------
> The pom files are not changed between when I open it in NB and when I run it on the command line, but it still fails. I've checked my dependencies, and I only have 1 reference of commons-logging 1.0.4 in the list, so I don't know where the extra one is coming from.
> I do have some projects that test fine through NB, so really not sure whats going on here.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (MEVENIDE-620) Test fail with extra commons-logging

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint updated MEVENIDE-620:
----------------------------------

    Fix Version/s:     (was: NB_3.1)
                   NB_3.2

> Test fail with extra commons-logging
> ------------------------------------
>
>                 Key: MEVENIDE-620
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-620
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: netbean 6.0.1 6.1dev kubuntu linux
>            Reporter: Nick Stuart
>            Assignee: Milos Kleint
>             Fix For: NB_3.2
>
>         Attachments: build.out, build.out
>
>
> I have a maven project setup that, outside of the ide, runs and completes tests just fine. If I try to run the tests from with in Netbeans I get an error:
> ------------------------------------------------------------------------
> null; nested exception is java.lang.ExceptionInInitializerError: null
> Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
> ------------------------------------------------------------------------
> For more information, run Maven with the -e switch
> ------------------------------------------------------------------------
> Total time: 3 seconds
> Finished at: Tue Apr 08 09:23:27 EDT 2008
> Final Memory: 91M/185M
> ------------------------------------------------------------------------
> The pom files are not changed between when I open it in NB and when I run it on the command line, but it still fails. I've checked my dependencies, and I only have 1 reference of commons-logging 1.0.4 in the list, so I don't know where the extra one is coming from.
> I do have some projects that test fine through NB, so really not sure whats going on here.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MEVENIDE-620) Test fail with extra commons-logging

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MEVENIDE-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156543#action_156543 ]

Jaromir Uhrik commented on MEVENIDE-620:
----------------------------------------

This bug was transferred to the NetBeans Issuezilla bug tracking system as http://www.netbeans.org/issues/show_bug.cgi?id=154493

> Test fail with extra commons-logging
> ------------------------------------
>
>                 Key: MEVENIDE-620
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-620
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: netbean 6.0.1 6.1dev kubuntu linux
>            Reporter: Nick Stuart
>            Assignee: Milos Kleint
>             Fix For: NB_3.2
>
>         Attachments: build.out, build.out
>
>
> I have a maven project setup that, outside of the ide, runs and completes tests just fine. If I try to run the tests from with in Netbeans I get an error:
> ------------------------------------------------------------------------
> null; nested exception is java.lang.ExceptionInInitializerError: null
> Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
> ------------------------------------------------------------------------
> For more information, run Maven with the -e switch
> ------------------------------------------------------------------------
> Total time: 3 seconds
> Finished at: Tue Apr 08 09:23:27 EDT 2008
> Final Memory: 91M/185M
> ------------------------------------------------------------------------
> The pom files are not changed between when I open it in NB and when I run it on the command line, but it still fails. I've checked my dependencies, and I only have 1 reference of commons-logging 1.0.4 in the list, so I don't know where the extra one is coming from.
> I do have some projects that test fine through NB, so really not sure whats going on here.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Closed: (MEVENIDE-620) Test fail with extra commons-logging

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint closed MEVENIDE-620.
---------------------------------

    Resolution: Duplicate

closing the issue as duplicate of the newly created one in netbeans.org issuezilla.
Please post your additional comments to the new issue.

> Test fail with extra commons-logging
> ------------------------------------
>
>                 Key: MEVENIDE-620
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-620
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: netbean 6.0.1 6.1dev kubuntu linux
>            Reporter: Nick Stuart
>            Assignee: Milos Kleint
>             Fix For: NB_3.2
>
>         Attachments: build.out, build.out
>
>
> I have a maven project setup that, outside of the ide, runs and completes tests just fine. If I try to run the tests from with in Netbeans I get an error:
> ------------------------------------------------------------------------
> null; nested exception is java.lang.ExceptionInInitializerError: null
> Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
> ------------------------------------------------------------------------
> For more information, run Maven with the -e switch
> ------------------------------------------------------------------------
> Total time: 3 seconds
> Finished at: Tue Apr 08 09:23:27 EDT 2008
> Final Memory: 91M/185M
> ------------------------------------------------------------------------
> The pom files are not changed between when I open it in NB and when I run it on the command line, but it still fails. I've checked my dependencies, and I only have 1 reference of commons-logging 1.0.4 in the list, so I don't know where the extra one is coming from.
> I do have some projects that test fine through NB, so really not sure whats going on here.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email