Details

    • Number of attachments :
      0

      Description

      Started by user sonar

      [workspace] $ cvs -q -z3 update -PdC -D "Thursday, March 4, 2010 9:12:10 AM UTC"

      ? pom.xml

      ? target

      P javacaltools/ChangeLog

      P javacaltools/src/us/k5n/ical/Event.java

      P javacaltools/src/us/k5n/ical/Rrule.java

      $ computing changelog
      Warning: JAVA_HOME environment variable is not set.

      + Error stacktraces are turned on.
      [INFO] Scanning for projects...
      [INFO] Searching repository for plugin with prefix: 'sonar'.
      [INFO] org.apache.maven.plugins: checking for updates from nexus
      [INFO] org.codehaus.mojo: checking for updates from nexus
      [INFO] artifact org.codehaus.mojo:sonar-maven-plugin: checking for updates from nexus
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Java Calendar Tools
      [INFO] task-segment: [sonar:sonar] (aggregator-style)
      [INFO] ------------------------------------------------------------------------
      [INFO] [sonar:sonar]
      [INFO] Sonar host: http://domU-12-31-39-03-34-43:9000
      [INFO] Sonar version: 2.0RC1
      [INFO] [sonar-core:internal]
      [INFO] Database dialect class org.sonar.api.database.dialect.MySql
      [INFO] ------------- Analyzing Java Calendar Tools
      [INFO] Selected quality profile : Nemo rules, language=java
      [INFO] Configure maven plugins...
      [INFO] Sensor SquidSensor...
      [INFO] Java AST scan...
      [INFO] Java AST scan done: 2432 ms
      [INFO] Squid extraction...
      [INFO] Squid extraction done: 1650 ms
      [INFO] Sensor SquidSensor done: 4160 ms
      [INFO] Sensor JavaSourceImporter...
      [INFO] Sensor JavaSourceImporter done: 282 ms
      [INFO] Sensor AsynchronousMeasuresSensor...
      [INFO] Sensor AsynchronousMeasuresSensor done: 35 ms
      [INFO] Sensor ScmActivitySensor...
      [INFO] SCM connection URL: scm:cvs:pserver:anonymous@javacaltools.cvs.sourceforge.net:/cvsroot/javacaltools:javacaltools
      [INFO] Analyzing blame for /mnt/hudson/jobs/javacaltools/workspace/javacaltools/src/us/k5n/ical/Event.java
      [FATAL ERROR] org.sonar.maven2.BatchMojo#execute() caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
      [FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.sonar.runtime:sonar-core-maven-plugin]
      urls[0] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/sonar-core-maven-plugin/20100303155554/sonar-core-maven-plugin-20100303155554.jar
      urls[1] = file:/mnt/maven/repo/org/apache/maven/shared/maven-dependency-tree/1.2/maven-dependency-tree-1.2.jar
      urls[2] = file:/mnt/maven/repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
      urls[3] = file:/mnt/maven/repo/junit/junit/4.4/junit-4.4.jar
      urls[4] = file:/mnt/maven/repo/org/codehaus/sonar/sonar-squid/2.0RC1/sonar-squid-2.0RC1.jar
      urls[5] = file:/mnt/maven/repo/org/codehaus/sonar/sonar-graph/2.0RC1/sonar-graph-2.0RC1.jar
      urls[6] = file:/mnt/maven/repo/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
      urls[7] = file:/mnt/maven/repo/com/google/collections/google-collections/1.0/google-collections-1.0.jar
      urls[8] = file:/mnt/maven/repo/checkstyle/checkstyle/4.4/checkstyle-4.4.jar
      urls[9] = file:/mnt/maven/repo/antlr/antlr/2.7.6/antlr-2.7.6.jar
      urls[10] = file:/mnt/maven/repo/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar
      urls[11] = file:/mnt/maven/repo/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
      urls[12] = file:/mnt/maven/repo/asm/asm-all/3.2/asm-all-3.2.jar
      urls[13] = file:/mnt/maven/repo/commons-io/commons-io/1.4/commons-io-1.4.jar
      urls[14] = file:/mnt/maven/repo/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar
      urls[15] = file:/mnt/maven/repo/org/picocontainer/picocontainer/2.9/picocontainer-2.9.jar
      urls[16] = file:/mnt/maven/repo/org/codehaus/sonar/sonar-plugin-api/2.0RC1/sonar-plugin-api-2.0RC1.jar
      urls[17] = file:/mnt/maven/repo/org/codehaus/sonar/sonar-colorizer/2.0RC1/sonar-colorizer-2.0RC1.jar
      urls[18] = file:/mnt/maven/repo/org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.jar
      urls[19] = file:/mnt/maven/repo/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
      urls[20] = file:/mnt/maven/repo/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar
      urls[21] = file:/mnt/maven/repo/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar
      urls[22] = file:/mnt/maven/repo/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar
      urls[23] = file:/mnt/maven/repo/org/hibernate/hibernate-commons-annotations/3.1.0.GA/hibernate-commons-annotations-3.1.0.GA.jar
      urls[24] = file:/mnt/maven/repo/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.jar
      urls[25] = file:/mnt/maven/repo/javassist/javassist/3.4.GA/javassist-3.4.GA.jar
      urls[26] = file:/mnt/maven/repo/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar
      urls[27] = file:/mnt/maven/repo/commons-dbcp/commons-dbcp/1.2.2/commons-dbcp-1.2.2.jar
      urls[28] = file:/mnt/maven/repo/commons-pool/commons-pool/1.3/commons-pool-1.3.jar
      urls[29] = file:/mnt/maven/repo/org/apache/maven/shared/maven-common-artifact-filters/1.2/maven-common-artifact-filters-1.2.jar
      urls[30] = file:/mnt/maven/repo/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.jar
      urls[31] = file:/mnt/maven/repo/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
      urls[32] = file:/mnt/maven/repo/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar
      urls[33] = file:/mnt/maven/repo/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
      urls[34] = file:/mnt/maven/repo/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
      urls[35] = file:/mnt/maven/repo/commons-codec/commons-codec/1.4/commons-codec-1.4.jar
      urls[36] = file:/mnt/maven/repo/org/hibernate/hibernate-ehcache/3.3.2.GA/hibernate-ehcache-3.3.2.GA.jar
      urls[37] = file:/mnt/maven/repo/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar
      urls[38] = file:/mnt/maven/repo/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar
      urls[39] = file:/mnt/maven/repo/jfree/jcommon/1.0.12/jcommon-1.0.12.jar
      urls[40] = file:/mnt/maven/repo/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
      urls[41] = file:/mnt/maven/repo/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar
      urls[42] = file:/mnt/maven/repo/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar
      urls[43] = file:/mnt/maven/repo/org/codehaus/woodstox/woodstox-core-lgpl/4.0.4/woodstox-core-lgpl-4.0.4.jar
      urls[44] = file:/mnt/maven/repo/stax/stax-api/1.0.1/stax-api-1.0.1.jar
      urls[45] = file:/mnt/maven/repo/org/codehaus/woodstox/stax2-api/3.0.1/stax2-api-3.0.1.jar
      urls[46] = file:/mnt/maven/repo/org/codehaus/staxmate/staxmate/2.0.0/staxmate-2.0.0.jar
      urls[47] = file:/mnt/maven/repo/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
      urls[48] = file:/mnt/maven/repo/xalan/xalan/2.7.1/xalan-2.7.1.jar
      urls[49] = file:/mnt/maven/repo/xalan/serializer/2.7.1/serializer-2.7.1.jar
      urls[50] = file:/mnt/maven/repo/pmd/pmd/4.2.5/pmd-4.2.5.jar
      urls[51] = file:/mnt/maven/repo/org/codehaus/sonar/sonar-batch/2.0RC1/sonar-batch-2.0RC1.jar
      urls[52] = file:/mnt/maven/repo/ch/qos/logback/logback-classic/0.9.15/logback-classic-0.9.15.jar
      urls[53] = file:/mnt/maven/repo/ch/qos/logback/logback-core/0.9.15/logback-core-0.9.15.jar
      urls[54] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/parent/20100303155554/parent-20100303155554.pom
      urls[55] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-identity-plugin-1.0/20100303155554/sonar-identity-plugin-1.0-20100303155554.jar
      urls[56] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-motion-chart-plugin-1.0/20100303155554/sonar-motion-chart-plugin-1.0-20100303155554.jar
      urls[57] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-plsql-plugin-1.8/20100303155554/sonar-plsql-plugin-1.8-20100303155554.jar
      urls[58] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-radiator-plugin-1.0/20100303155554/sonar-radiator-plugin-1.0-20100303155554.jar
      urls[59] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-technicaldebt-plugin-0.4/20100303155554/sonar-technicaldebt-plugin-0.4-20100303155554.jar
      urls[60] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-timeline-plugin-0.1/20100303155554/sonar-timeline-plugin-0.1-20100303155554.jar
      urls[61] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-views-plugin-1.2.2-SNAPSHOT/20100303155554/sonar-views-plugin-1.2.2-SNAPSHOT-20100303155554.jar
      urls[62] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-build-stability-plugin-1.0.1/20100303155554/sonar-build-stability-plugin-1.0.1-20100303155554.jar
      urls[63] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-scm-activity-plugin-0.3-SNAPSHOT-shaded/20100303155554/sonar-scm-activity-plugin-0.3-SNAPSHOT-shaded-20100303155554.jar
      urls[64] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-plugin-checkstyle-2.0RC1/20100303155554/sonar-plugin-checkstyle-2.0RC1-20100303155554.jar
      urls[65] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-plugin-clover-2.0RC1/20100303155554/sonar-plugin-clover-2.0RC1-20100303155554.jar
      urls[66] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-plugin-cobertura-2.0RC1/20100303155554/sonar-plugin-cobertura-2.0RC1-20100303155554.jar
      urls[67] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-plugin-core-2.0RC1/20100303155554/sonar-plugin-core-2.0RC1-20100303155554.jar
      urls[68] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-plugin-cpd-2.0RC1/20100303155554/sonar-plugin-cpd-2.0RC1-20100303155554.jar
      urls[69] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-plugin-design-2.0RC1/20100303155554/sonar-plugin-design-2.0RC1-20100303155554.jar
      urls[70] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-plugin-findbugs-2.0RC1/20100303155554/sonar-plugin-findbugs-2.0RC1-20100303155554.jar
      urls[71] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-plugin-googleanalytics-2.0RC1/20100303155554/sonar-plugin-googleanalytics-2.0RC1-20100303155554.jar
      urls[72] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-plugin-pmd-2.0RC1/20100303155554/sonar-plugin-pmd-2.0RC1-20100303155554.jar
      urls[73] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-plugin-squid-2.0RC1/20100303155554/sonar-plugin-squid-2.0RC1-20100303155554.jar
      urls[74] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/plugins/sonar-plugin-surefire-2.0RC1/20100303155554/sonar-plugin-surefire-2.0RC1-20100303155554.jar
      urls[75] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/jdbc-driver/parent/20100303155554/parent-20100303155554.pom
      urls[76] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/jdbc-driver/mysql-connector-java-5.1.6/20100303155554/mysql-connector-java-5.1.6-20100303155554.jar
      urls[77] = file:/mnt/maven/repo/org/codehaus/sonar/runtime/rules-extensions/parent/20100303155554/parent-20100303155554.pom
      [FATAL ERROR] Container realm = plexus.core
      urls[0] = file:/mnt/maven/apache-maven-2.0.10/lib/maven-2.0.10-uber.jar
      [FATAL ERROR] org.codehaus.mojo.sonar.SonarMojo#execute() caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
      [FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.mojo:sonar-maven-plugin]
      urls[0] = file:/mnt/maven/repo/org/codehaus/mojo/sonar-maven-plugin/1.0-beta-1/sonar-maven-plugin-1.0-beta-1.jar
      urls[1] = file:/mnt/maven/repo/commons-io/commons-io/1.3/commons-io-1.3.jar
      urls[2] = file:/mnt/maven/repo/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
      urls[3] = file:/mnt/maven/repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
      [FATAL ERROR] Container realm = plexus.core
      urls[0] = file:/mnt/maven/apache-maven-2.0.10/lib/maven-2.0.10-uber.jar
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
      at org.apache.maven.scm.provider.cvslib.command.CvsCommandUtils.getBaseCommand(CvsCommandUtils.java:104)
      at org.apache.maven.scm.provider.cvslib.command.CvsCommandUtils.getBaseCommand(CvsCommandUtils.java:72)
      at org.apache.maven.scm.provider.cvslib.command.blame.AbsrtactCvsBlameCommand.executeBlameCommand(AbsrtactCvsBlameCommand.java:39)
      at org.apache.maven.scm.manager.ExtScmManager.blame(ExtScmManager.java:87)
      at org.sonar.plugins.scmactivity.BlameSensor.analyseBlame(BlameSensor.java:63)
      at org.sonar.plugins.scmactivity.BlameSensor.analyse(BlameSensor.java:56)
      at org.sonar.plugins.scmactivity.ScmActivitySensor.analyse(ScmActivitySensor.java:77)
      at org.sonar.batch.SensorsExecutor.execute(SensorsExecutor.java:58)
      at org.sonar.batch.ProjectBatch.execute(ProjectBatch.java:54)
      at org.sonar.batch.AggregatorBatch.analyzeProject(AggregatorBatch.java:98)
      at org.sonar.batch.AggregatorBatch.analyzeProjects(AggregatorBatch.java:90)
      at org.sonar.batch.AggregatorBatch.execute(AggregatorBatch.java:74)
      at org.sonar.maven2.BatchMojo.executeBatch(BatchMojo.java:140)
      at org.sonar.maven2.BatchMojo.execute(BatchMojo.java:122)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
      at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:82)
      at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65)
      at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:117)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
      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.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)
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 21 seconds
      [INFO] Finished at: Thu Mar 04 09:12:40 UTC 2010
      [INFO] Final Memory: 15M/508M
      [INFO] ------------------------------------------------------------------------
      Finished: FAILURE

        Activity

        Hide
        Evgeny Mandrikov added a comment -

        Olivier, sorry - forget my previous comments: it still not working, but with different error.

        Show
        Evgeny Mandrikov added a comment - Olivier, sorry - forget my previous comments: it still not working, but with different error.
        Hide
        Evgeny Mandrikov added a comment -

        To avoid this problem - try to relocate plexus-utils (see Maven Shade Plugin - Relocating Classes)

        Show
        Evgeny Mandrikov added a comment - To avoid this problem - try to relocate plexus-utils (see Maven Shade Plugin - Relocating Classes )
        Hide
        Evgeny Mandrikov added a comment -

        Fixed.

        I tested it locally for following cases:

        • Maven 2.2.1, 2.0.10
        • Sonar 2.0RC2, 2.0RC3
        • CVS and SVN (pure java too)

        And now it works fine, so new snapshot deployed.
        Olivier, could you please install it on nemo?

        Show
        Evgeny Mandrikov added a comment - Fixed. I tested it locally for following cases: Maven 2.2.1, 2.0.10 Sonar 2.0RC2, 2.0RC3 CVS and SVN (pure java too) And now it works fine, so new snapshot deployed. Olivier, could you please install it on nemo?
        Hide
        Olivier Gaudin added a comment -

        Evgeny, this works fine.

        Show
        Olivier Gaudin added a comment - Evgeny, this works fine.
        Hide
        Evgeny Mandrikov added a comment -

        That's great - version 1.0 can be released just after Sonar 2.0

        Show
        Evgeny Mandrikov added a comment - That's great - version 1.0 can be released just after Sonar 2.0

          People

          • Assignee:
            Evgeny Mandrikov
            Reporter:
            Olivier Gaudin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: