Gabriel Euzet | 18 Nov 14:49 2011

a new PicoLifecycleException ^^

Hello dear mailing list,

We use Sonar 2.11, Maven 2.2.1, and Jdk6 and we have a strange error. Strange because Google have no response ;-)
Can you help us ?

[trunk] $ /opt/apache-maven-2.2.1/bin/mvn -f /srv/hudson/data/jobs/Sonar-MyProject-trunk/workspace/trunk/pom.xml --debug -e -B sonar:sonar -Dsonar.jdbc.driver=org.postgresql.Driver -Dsonar.jdbc.url=jdbc:postgresql://sgbd/sonar ******** ******** -Dsonar.host.url=http://myserver/sonar
+ Error stacktraces are turned on.
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_20
Java home: /usr/lib/jvm/java-6-sun-1.6.0.20/jre
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux" version: "2.6.31-22-generic-pae" arch: "i386" Family: "unix"
[DEBUG] Building Maven user-level plugin registry from: '/usr/share/tomcat6/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: '/opt/apache-maven-2.2.1/conf/plugin-registry.xml'
[INFO] Scanning for projects...

[DEBUG] blah ... blah ...

[INFO] [sonar:sonar {execution: default-cli}]
[DEBUG] [14:32:02.276] Temporary directory: /tmp/sonar-batch77453204480258127538737455588825297
[DEBUG] [14:32:02.278] Downloading JDBC driver to /tmp/sonar-batch77453204480258127538737455588825297/jdbc-driver.jar
[DEBUG] [14:32:02.280] Download: http://myserver/sonar/deploy/jdbc-driver.jar (no proxy)
[INFO] [14:32:02.340] Create JDBC datasource
[DEBUG] [14:32:02.743] Logging initialized using 'org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
[DEBUG] [14:32:02.800] Downloading index of plugins
[DEBUG] [14:32:02.800] Download: http://myserver/sonar/deploy/plugins/index.txt (no proxy)
[DEBUG] [14:32:02.807] Downloading plugin findbugs into /tmp/sonar-batch77453204480258127538737455588825297/plugins/findbugs
[DEBUG] [14:32:02.807] Download: http://myserver/sonar/deploy/plugins/findbugs/sonar-findbugs-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.253] Downloading plugin l10nfr into /tmp/sonar-batch77453204480258127538737455588825297/plugins/l10nfr
[DEBUG] [14:32:03.254] Download: http://myserver/sonar/deploy/plugins/l10nfr/sonar-l10n-fr-plugin-1.1.jar (no proxy)
[DEBUG] [14:32:03.260] Downloading plugin l10nen into /tmp/sonar-batch77453204480258127538737455588825297/plugins/l10nen
[DEBUG] [14:32:03.260] Download: http://myserver/sonar/deploy/plugins/l10nen/sonar-l10n-en-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.265] Downloading plugin googleanalytics into /tmp/sonar-batch77453204480258127538737455588825297/plugins/googleanalytics
[DEBUG] [14:32:03.265] Download: http://myserver/sonar/deploy/plugins/googleanalytics/sonar-googleanalytics-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.266] Downloading plugin surefire into /tmp/sonar-batch77453204480258127538737455588825297/plugins/surefire
[DEBUG] [14:32:03.267] Download: http://myserver/sonar/deploy/plugins/surefire/sonar-surefire-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.268] Downloading plugin cpd into /tmp/sonar-batch77453204480258127538737455588825297/plugins/cpd
[DEBUG] [14:32:03.268] Download: http://myserver/sonar/deploy/plugins/cpd/sonar-cpd-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.317] Downloading plugin checkstyle into /tmp/sonar-batch77453204480258127538737455588825297/plugins/checkstyle
[DEBUG] [14:32:03.318] Download: http://myserver/sonar/deploy/plugins/checkstyle/sonar-checkstyle-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.330] Download: http://myserver/sonar/deploy/plugins/checkstyle/README.txt (no proxy)
[DEBUG] [14:32:03.363] Downloading plugin pmd into /tmp/sonar-batch77453204480258127538737455588825297/plugins/pmd
[DEBUG] [14:32:03.363] Download: http://myserver/sonar/deploy/plugins/pmd/sonar-pmd-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.452] Download: http://myserver/sonar/deploy/plugins/pmd/README.txt (no proxy)
[DEBUG] [14:32:03.608] Downloading plugin core into /tmp/sonar-batch77453204480258127538737455588825297/plugins/core
[DEBUG] [14:32:03.608] Download: http://myserver/sonar/deploy/plugins/core/sonar-core-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.621] Downloading plugin dbcleaner into /tmp/sonar-batch77453204480258127538737455588825297/plugins/dbcleaner
[DEBUG] [14:32:03.622] Download: http://myserver/sonar/deploy/plugins/dbcleaner/sonar-dbcleaner-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.623] Downloading plugin squidjava into /tmp/sonar-batch77453204480258127538737455588825297/plugins/squidjava
[DEBUG] [14:32:03.623] Download: http://myserver/sonar/deploy/plugins/squidjava/sonar-squid-java-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.672] Downloading plugin cobertura into /tmp/sonar-batch77453204480258127538737455588825297/plugins/cobertura
[DEBUG] [14:32:03.673] Download: http://myserver/sonar/deploy/plugins/cobertura/sonar-cobertura-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.675] Downloading plugin emailnotifications into /tmp/sonar-batch77453204480258127538737455588825297/plugins/emailnotifications
[DEBUG] [14:32:03.675] Download: http://myserver/sonar/deploy/plugins/emailnotifications/sonar-email-notifications-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.694] Downloading plugin design into /tmp/sonar-batch77453204480258127538737455588825297/plugins/design
[DEBUG] [14:32:03.694] Download: http://myserver/sonar/deploy/plugins/design/sonar-design-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:04.260] To prevent a memory leak, the JDBC Driver [org.postgresql.Driver] has been forcibly deregistered
[DEBUG] [14:32:04.289] Delete temporary directory: /tmp/sonar-batch77453204480258127538737455588825297
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] PicoLifecycleException: method 'public void org.sonar.batch.config.BatchSettingsEnhancer.start()', instance 'org.sonar.batch.config.BatchSettingsEnhancer <at> 14560cf, java.lang.RuntimeException: wrapper
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.picocontainer.PicoLifecycleException: PicoLifecycleException: method 'public void org.sonar.batch.config.BatchSettingsEnhancer.start()', instance 'org.sonar.batch.config.BatchSettingsEnhancer <at> 14560cf, java.lang.RuntimeException: wrapper
    at org.picocontainer.monitors.NullComponentMonitor.lifecycleInvocationFailed(NullComponentMonitor.java:77)
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.monitorAndThrowReflectionLifecycleException(ReflectionLifecycleStrategy.java:132)
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:115)
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
    at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
    at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
    at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
    at org.picocontainer.behaviors.Stored.start(Stored.java:110)
    at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:996)
    at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:989)
    at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:746)
    at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:70)
    at org.sonar.batch.bootstrap.Module.start(Module.java:82)
    at org.sonar.batch.Batch.execute(Batch.java:74)
    at org.sonar.maven.SonarMojo.executeBatch(SonarMojo.java:153)
    at org.sonar.maven.SonarMojo.execute(SonarMojo.java:142)
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    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)
Caused by: java.lang.RuntimeException: wrapper
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.monitorAndThrowReflectionLifecycleException(ReflectionLifecycleStrategy.java:130)
    ... 33 more
Caused by: java.lang.NullPointerException
    at org.sonar.jpa.session.AbstractDatabaseConnector.createEntityManager(AbstractDatabaseConnector.java:117)
    at org.sonar.jpa.session.JpaDatabaseSession.start(JpaDatabaseSession.java:52)
    at org.sonar.jpa.session.ThreadLocalDatabaseSessionFactory.getSession(ThreadLocalDatabaseSessionFactory.java:37)
    at org.sonar.core.config.ConfigurationUtils.prepareDbSession(ConfigurationUtils.java:109)
    at org.sonar.core.config.ConfigurationUtils.getProjectProperties(ConfigurationUtils.java:88)
    at org.sonar.batch.config.BatchSettingsEnhancer.start(BatchSettingsEnhancer.java:46)
    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.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
    ... 32 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Fri Nov 18 14:32:04 CET 2011
[INFO] Final Memory: 14M/35M
[INFO] ------------------------------------------------------------------------
Sonar analysis completed: FAILURE
Finished: FAILURE


Thank you
Gabe

Olivier Gaudin | 18 Nov 20:28 2011
Picon

Re: a new PicoLifecycleException ^^

Hi Gabriel,


Strange indeed... Can you send the entire stack trace ? What is the language of your project ? Which plugins are you using ?

Olivier


On Fri, Nov 18, 2011 at 2:49 PM, Gabriel Euzet <geuzet <at> sqli.com> wrote:
Hello dear mailing list,

We use Sonar 2.11, Maven 2.2.1, and Jdk6 and we have a strange error. Strange because Google have no response ;-)
Can you help us ?

[trunk] $ /opt/apache-maven-2.2.1/bin/mvn -f /srv/hudson/data/jobs/Sonar-MyProject-trunk/workspace/trunk/pom.xml --debug -e -B sonar:sonar -Dsonar.jdbc.driver=org.postgresql.Driver -Dsonar.jdbc.url=jdbc:postgresql://sgbd/sonar ******** ******** -Dsonar.host.url=http://myserver/sonar
+ Error stacktraces are turned on.
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_20
Java home: /usr/lib/jvm/java-6-sun-1.6.0.20/jre
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux" version: "2.6.31-22-generic-pae" arch: "i386" Family: "unix"
[DEBUG] Building Maven user-level plugin registry from: '/usr/share/tomcat6/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: '/opt/apache-maven-2.2.1/conf/plugin-registry.xml'
[INFO] Scanning for projects...

[DEBUG] blah ... blah ...

[INFO] [sonar:sonar {execution: default-cli}]
[DEBUG] [14:32:02.276] Temporary directory: /tmp/sonar-batch77453204480258127538737455588825297
[DEBUG] [14:32:02.278] Downloading JDBC driver to /tmp/sonar-batch77453204480258127538737455588825297/jdbc-driver.jar
[DEBUG] [14:32:02.280] Download: http://myserver/sonar/deploy/jdbc-driver.jar (no proxy)
[INFO] [14:32:02.340] Create JDBC datasource
[DEBUG] [14:32:02.743] Logging initialized using 'org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
[DEBUG] [14:32:02.800] Downloading index of plugins
[DEBUG] [14:32:02.800] Download: http://myserver/sonar/deploy/plugins/index.txt (no proxy)
[DEBUG] [14:32:02.807] Downloading plugin findbugs into /tmp/sonar-batch77453204480258127538737455588825297/plugins/findbugs
[DEBUG] [14:32:02.807] Download: http://myserver/sonar/deploy/plugins/findbugs/sonar-findbugs-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.253] Downloading plugin l10nfr into /tmp/sonar-batch77453204480258127538737455588825297/plugins/l10nfr
[DEBUG] [14:32:03.254] Download: http://myserver/sonar/deploy/plugins/l10nfr/sonar-l10n-fr-plugin-1.1.jar (no proxy)
[DEBUG] [14:32:03.260] Downloading plugin l10nen into /tmp/sonar-batch77453204480258127538737455588825297/plugins/l10nen
[DEBUG] [14:32:03.260] Download: http://myserver/sonar/deploy/plugins/l10nen/sonar-l10n-en-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.265] Downloading plugin googleanalytics into /tmp/sonar-batch77453204480258127538737455588825297/plugins/googleanalytics
[DEBUG] [14:32:03.265] Download: http://myserver/sonar/deploy/plugins/googleanalytics/sonar-googleanalytics-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.266] Downloading plugin surefire into /tmp/sonar-batch77453204480258127538737455588825297/plugins/surefire
[DEBUG] [14:32:03.267] Download: http://myserver/sonar/deploy/plugins/surefire/sonar-surefire-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.268] Downloading plugin cpd into /tmp/sonar-batch77453204480258127538737455588825297/plugins/cpd
[DEBUG] [14:32:03.268] Download: http://myserver/sonar/deploy/plugins/cpd/sonar-cpd-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.317] Downloading plugin checkstyle into /tmp/sonar-batch77453204480258127538737455588825297/plugins/checkstyle
[DEBUG] [14:32:03.318] Download: http://myserver/sonar/deploy/plugins/checkstyle/sonar-checkstyle-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.330] Download: http://myserver/sonar/deploy/plugins/checkstyle/README.txt (no proxy)
[DEBUG] [14:32:03.363] Downloading plugin pmd into /tmp/sonar-batch77453204480258127538737455588825297/plugins/pmd
[DEBUG] [14:32:03.363] Download: http://myserver/sonar/deploy/plugins/pmd/sonar-pmd-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.452] Download: http://myserver/sonar/deploy/plugins/pmd/README.txt (no proxy)
[DEBUG] [14:32:03.608] Downloading plugin core into /tmp/sonar-batch77453204480258127538737455588825297/plugins/core
[DEBUG] [14:32:03.608] Download: http://myserver/sonar/deploy/plugins/core/sonar-core-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.621] Downloading plugin dbcleaner into /tmp/sonar-batch77453204480258127538737455588825297/plugins/dbcleaner
[DEBUG] [14:32:03.622] Download: http://myserver/sonar/deploy/plugins/dbcleaner/sonar-dbcleaner-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.623] Downloading plugin squidjava into /tmp/sonar-batch77453204480258127538737455588825297/plugins/squidjava
[DEBUG] [14:32:03.623] Download: http://myserver/sonar/deploy/plugins/squidjava/sonar-squid-java-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.672] Downloading plugin cobertura into /tmp/sonar-batch77453204480258127538737455588825297/plugins/cobertura
[DEBUG] [14:32:03.673] Download: http://myserver/sonar/deploy/plugins/cobertura/sonar-cobertura-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.675] Downloading plugin emailnotifications into /tmp/sonar-batch77453204480258127538737455588825297/plugins/emailnotifications
[DEBUG] [14:32:03.675] Download: http://myserver/sonar/deploy/plugins/emailnotifications/sonar-email-notifications-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.694] Downloading plugin design into /tmp/sonar-batch77453204480258127538737455588825297/plugins/design
[DEBUG] [14:32:03.694] Download: http://myserver/sonar/deploy/plugins/design/sonar-design-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:04.260] To prevent a memory leak, the JDBC Driver [org.postgresql.Driver] has been forcibly deregistered
[DEBUG] [14:32:04.289] Delete temporary directory: /tmp/sonar-batch77453204480258127538737455588825297
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] PicoLifecycleException: method 'public void org.sonar.batch.config.BatchSettingsEnhancer.start()', instance 'org.sonar.batch.config.BatchSettingsEnhancer <at> 14560cf, java.lang.RuntimeException: wrapper
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.picocontainer.PicoLifecycleException: PicoLifecycleException: method 'public void org.sonar.batch.config.BatchSettingsEnhancer.start()', instance 'org.sonar.batch.config.BatchSettingsEnhancer <at> 14560cf, java.lang.RuntimeException: wrapper
    at org.picocontainer.monitors.NullComponentMonitor.lifecycleInvocationFailed(NullComponentMonitor.java:77)
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.monitorAndThrowReflectionLifecycleException(ReflectionLifecycleStrategy.java:132)
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:115)
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
    at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
    at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
    at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
    at org.picocontainer.behaviors.Stored.start(Stored.java:110)
    at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:996)
    at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:989)
    at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:746)
    at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:70)
    at org.sonar.batch.bootstrap.Module.start(Module.java:82)
    at org.sonar.batch.Batch.execute(Batch.java:74)
    at org.sonar.maven.SonarMojo.executeBatch(SonarMojo.java:153)
    at org.sonar.maven.SonarMojo.execute(SonarMojo.java:142)
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    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)
Caused by: java.lang.RuntimeException: wrapper
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.monitorAndThrowReflectionLifecycleException(ReflectionLifecycleStrategy.java:130)
    ... 33 more
Caused by: java.lang.NullPointerException
    at org.sonar.jpa.session.AbstractDatabaseConnector.createEntityManager(AbstractDatabaseConnector.java:117)
    at org.sonar.jpa.session.JpaDatabaseSession.start(JpaDatabaseSession.java:52)
    at org.sonar.jpa.session.ThreadLocalDatabaseSessionFactory.getSession(ThreadLocalDatabaseSessionFactory.java:37)
    at org.sonar.core.config.ConfigurationUtils.prepareDbSession(ConfigurationUtils.java:109)
    at org.sonar.core.config.ConfigurationUtils.getProjectProperties(ConfigurationUtils.java:88)
    at org.sonar.batch.config.BatchSettingsEnhancer.start(BatchSettingsEnhancer.java:46)
    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.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
    ... 32 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Fri Nov 18 14:32:04 CET 2011
[INFO] Final Memory: 14M/35M
[INFO] ------------------------------------------------------------------------
Sonar analysis completed: FAILURE
Finished: FAILURE


Thank you
Gabe

Gabriel Euzet | 21 Nov 09:14 2011

Re: a new PicoLifecycleException ^^

Hi !

I've joined a zipped log file with full stacktrace.
Our language : Java 6
Which plugins :
 * in sonar :
    - french package
 * in jenkins
    - svn, mvn release, sonar

Thank you

2011/11/18 Olivier Gaudin <gaudol-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Hi Gabriel,

Strange indeed... Can you send the entire stack trace ? What is the language of your project ? Which plugins are you using ?

Olivier



On Fri, Nov 18, 2011 at 2:49 PM, Gabriel Euzet <geuzet-AxaRnN5YFO0@public.gmane.org> wrote:
Hello dear mailing list,

We use Sonar 2.11, Maven 2.2.1, and Jdk6 and we have a strange error. Strange because Google have no response ;-)
Can you help us ?

[trunk] $ /opt/apache-maven-2.2.1/bin/mvn -f /srv/hudson/data/jobs/Sonar-MyProject-trunk/workspace/trunk/pom.xml --debug -e -B sonar:sonar -Dsonar.jdbc.driver=org.postgresql.Driver -Dsonar.jdbc.url=jdbc:postgresql://sgbd/sonar ******** ******** -Dsonar.host.url=http://myserver/sonar
+ Error stacktraces are turned on.
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_20
Java home: /usr/lib/jvm/java-6-sun-1.6.0.20/jre
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux" version: "2.6.31-22-generic-pae" arch: "i386" Family: "unix"
[DEBUG] Building Maven user-level plugin registry from: '/usr/share/tomcat6/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: '/opt/apache-maven-2.2.1/conf/plugin-registry.xml'
[INFO] Scanning for projects...

[DEBUG] blah ... blah ...

[INFO] [sonar:sonar {execution: default-cli}]
[DEBUG] [14:32:02.276] Temporary directory: /tmp/sonar-batch77453204480258127538737455588825297
[DEBUG] [14:32:02.278] Downloading JDBC driver to /tmp/sonar-batch77453204480258127538737455588825297/jdbc-driver.jar
[DEBUG] [14:32:02.280] Download: http://myserver/sonar/deploy/jdbc-driver.jar (no proxy)
[INFO] [14:32:02.340] Create JDBC datasource
[DEBUG] [14:32:02.743] Logging initialized using 'org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
[DEBUG] [14:32:02.800] Downloading index of plugins
[DEBUG] [14:32:02.800] Download: http://myserver/sonar/deploy/plugins/index.txt (no proxy)
[DEBUG] [14:32:02.807] Downloading plugin findbugs into /tmp/sonar-batch77453204480258127538737455588825297/plugins/findbugs
[DEBUG] [14:32:02.807] Download: http://myserver/sonar/deploy/plugins/findbugs/sonar-findbugs-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.253] Downloading plugin l10nfr into /tmp/sonar-batch77453204480258127538737455588825297/plugins/l10nfr
[DEBUG] [14:32:03.254] Download: http://myserver/sonar/deploy/plugins/l10nfr/sonar-l10n-fr-plugin-1.1.jar (no proxy)
[DEBUG] [14:32:03.260] Downloading plugin l10nen into /tmp/sonar-batch77453204480258127538737455588825297/plugins/l10nen
[DEBUG] [14:32:03.260] Download: http://myserver/sonar/deploy/plugins/l10nen/sonar-l10n-en-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.265] Downloading plugin googleanalytics into /tmp/sonar-batch77453204480258127538737455588825297/plugins/googleanalytics
[DEBUG] [14:32:03.265] Download: http://myserver/sonar/deploy/plugins/googleanalytics/sonar-googleanalytics-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.266] Downloading plugin surefire into /tmp/sonar-batch77453204480258127538737455588825297/plugins/surefire
[DEBUG] [14:32:03.267] Download: http://myserver/sonar/deploy/plugins/surefire/sonar-surefire-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.268] Downloading plugin cpd into /tmp/sonar-batch77453204480258127538737455588825297/plugins/cpd
[DEBUG] [14:32:03.268] Download: http://myserver/sonar/deploy/plugins/cpd/sonar-cpd-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.317] Downloading plugin checkstyle into /tmp/sonar-batch77453204480258127538737455588825297/plugins/checkstyle
[DEBUG] [14:32:03.318] Download: http://myserver/sonar/deploy/plugins/checkstyle/sonar-checkstyle-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.330] Download: http://myserver/sonar/deploy/plugins/checkstyle/README.txt (no proxy)
[DEBUG] [14:32:03.363] Downloading plugin pmd into /tmp/sonar-batch77453204480258127538737455588825297/plugins/pmd
[DEBUG] [14:32:03.363] Download: http://myserver/sonar/deploy/plugins/pmd/sonar-pmd-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.452] Download: http://myserver/sonar/deploy/plugins/pmd/README.txt (no proxy)
[DEBUG] [14:32:03.608] Downloading plugin core into /tmp/sonar-batch77453204480258127538737455588825297/plugins/core
[DEBUG] [14:32:03.608] Download: http://myserver/sonar/deploy/plugins/core/sonar-core-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.621] Downloading plugin dbcleaner into /tmp/sonar-batch77453204480258127538737455588825297/plugins/dbcleaner
[DEBUG] [14:32:03.622] Download: http://myserver/sonar/deploy/plugins/dbcleaner/sonar-dbcleaner-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.623] Downloading plugin squidjava into /tmp/sonar-batch77453204480258127538737455588825297/plugins/squidjava
[DEBUG] [14:32:03.623] Download: http://myserver/sonar/deploy/plugins/squidjava/sonar-squid-java-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.672] Downloading plugin cobertura into /tmp/sonar-batch77453204480258127538737455588825297/plugins/cobertura
[DEBUG] [14:32:03.673] Download: http://myserver/sonar/deploy/plugins/cobertura/sonar-cobertura-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.675] Downloading plugin emailnotifications into /tmp/sonar-batch77453204480258127538737455588825297/plugins/emailnotifications
[DEBUG] [14:32:03.675] Download: http://myserver/sonar/deploy/plugins/emailnotifications/sonar-email-notifications-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:03.694] Downloading plugin design into /tmp/sonar-batch77453204480258127538737455588825297/plugins/design
[DEBUG] [14:32:03.694] Download: http://myserver/sonar/deploy/plugins/design/sonar-design-plugin-2.11.jar (no proxy)
[DEBUG] [14:32:04.260] To prevent a memory leak, the JDBC Driver [org.postgresql.Driver] has been forcibly deregistered
[DEBUG] [14:32:04.289] Delete temporary directory: /tmp/sonar-batch77453204480258127538737455588825297
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] PicoLifecycleException: method 'public void org.sonar.batch.config.BatchSettingsEnhancer.start()', instance 'org.sonar.batch.config.BatchSettingsEnhancer <at> 14560cf, java.lang.RuntimeException: wrapper
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.picocontainer.PicoLifecycleException: PicoLifecycleException: method 'public void org.sonar.batch.config.BatchSettingsEnhancer.start()', instance 'org.sonar.batch.config.BatchSettingsEnhancer <at> 14560cf, java.lang.RuntimeException: wrapper
    at org.picocontainer.monitors.NullComponentMonitor.lifecycleInvocationFailed(NullComponentMonitor.java:77)
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.monitorAndThrowReflectionLifecycleException(ReflectionLifecycleStrategy.java:132)
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:115)
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
    at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
    at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
    at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
    at org.picocontainer.behaviors.Stored.start(Stored.java:110)
    at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:996)
    at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:989)
    at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:746)
    at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:70)
    at org.sonar.batch.bootstrap.Module.start(Module.java:82)
    at org.sonar.batch.Batch.execute(Batch.java:74)
    at org.sonar.maven.SonarMojo.executeBatch(SonarMojo.java:153)
    at org.sonar.maven.SonarMojo.execute(SonarMojo.java:142)
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    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)
Caused by: java.lang.RuntimeException: wrapper
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.monitorAndThrowReflectionLifecycleException(ReflectionLifecycleStrategy.java:130)
    ... 33 more
Caused by: java.lang.NullPointerException
    at org.sonar.jpa.session.AbstractDatabaseConnector.createEntityManager(AbstractDatabaseConnector.java:117)
    at org.sonar.jpa.session.JpaDatabaseSession.start(JpaDatabaseSession.java:52)
    at org.sonar.jpa.session.ThreadLocalDatabaseSessionFactory.getSession(ThreadLocalDatabaseSessionFactory.java:37)
    at org.sonar.core.config.ConfigurationUtils.prepareDbSession(ConfigurationUtils.java:109)
    at org.sonar.core.config.ConfigurationUtils.getProjectProperties(ConfigurationUtils.java:88)
    at org.sonar.batch.config.BatchSettingsEnhancer.start(BatchSettingsEnhancer.java:46)
    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.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
    ... 32 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Fri Nov 18 14:32:04 CET 2011
[INFO] Final Memory: 14M/35M
[INFO] ------------------------------------------------------------------------
Sonar analysis completed: FAILURE
Finished: FAILURE


Thank you
Gabe


<div>
<p>Hi !<br><br>I've joined a zipped log file with full stacktrace.<br>Our language : Java 6<br>Which plugins : <br>&nbsp;* in sonar :<br>&nbsp;&nbsp;&nbsp; - french package<br>&nbsp;* in jenkins<br>&nbsp;&nbsp;&nbsp; - svn, mvn release, sonar<br><br>Thank you<br><br></p>
<div class="gmail_quote">2011/11/18 Olivier Gaudin <span dir="ltr">&lt;<a href="mailto:gaudol@...">gaudol@...</a>&gt;</span><br><blockquote class="gmail_quote">
Hi Gabriel,<div><br></div>
<div>Strange indeed... Can you send the entire stack trace ? What is the language of your project ? Which plugins are you using ?<br clear="all"><br>Olivier<div>
<div>
</div>
<div class="h5">
<br><br><br><div class="gmail_quote">On Fri, Nov 18, 2011 at 2:49 PM, Gabriel Euzet <span dir="ltr">&lt;<a href="mailto:geuzet@..." target="_blank">geuzet@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">

Hello dear mailing list,<br><br>We use Sonar 2.11, Maven 2.2.1, and Jdk6 and we have a strange error. Strange because Google have no response ;-)<br>Can you help us ?<br><br>[trunk] $ /opt/apache-maven-2.2.1/bin/mvn -f /srv/hudson/data/jobs/Sonar-MyProject-trunk/workspace/trunk/pom.xml --debug -e -B sonar:sonar -Dsonar.jdbc.driver=org.postgresql.Driver -Dsonar.jdbc.url=jdbc:postgresql://sgbd/sonar ******** ******** -Dsonar.host.url=<a href="http://myserver/sonar" target="_blank">http://myserver/sonar</a><br>

+ Error stacktraces are turned on.<br>Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)<br>Java version: 1.6.0_20<br>Java home: /usr/lib/jvm/java-6-sun-1.6.0.20/jre<br>Default locale: fr_FR, platform encoding: UTF-8<br>

OS name: "linux" version: "2.6.31-22-generic-pae" arch: "i386" Family: "unix"<br>[DEBUG] Building Maven user-level plugin registry from: '/usr/share/tomcat6/.m2/plugin-registry.xml'<br>

[DEBUG] Building Maven global-level plugin registry from: '/opt/apache-maven-2.2.1/conf/plugin-registry.xml'<br>[INFO] Scanning for projects...<br><br>[DEBUG] blah ... blah ...<br><br>[INFO] [sonar:sonar {execution: default-cli}]<br>

[DEBUG] [14:32:02.276] Temporary directory: /tmp/sonar-batch77453204480258127538737455588825297<br>[DEBUG] [14:32:02.278] Downloading JDBC driver to /tmp/sonar-batch77453204480258127538737455588825297/jdbc-driver.jar<br>

[DEBUG] [14:32:02.280] Download: <a href="http://myserver/sonar/deploy/jdbc-driver.jar" target="_blank">http://myserver/sonar/deploy/jdbc-driver.jar</a> (no proxy)<br>
[INFO] [14:32:02.340] Create JDBC datasource<br>[DEBUG] [14:32:02.743] Logging initialized using 'org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.<br>[DEBUG] [14:32:02.800] Downloading index of plugins<br>[DEBUG] [14:32:02.800] Download: <a href="http://myserver/sonar/deploy/plugins/index.txt" target="_blank">http://myserver/sonar/deploy/plugins/index.txt</a> (no proxy)<br>

[DEBUG] [14:32:02.807] Downloading plugin findbugs into /tmp/sonar-batch77453204480258127538737455588825297/plugins/findbugs<br>[DEBUG] [14:32:02.807] Download: <a href="http://myserver/sonar/deploy/plugins/findbugs/sonar-findbugs-plugin-2.11.jar" target="_blank">http://myserver/sonar/deploy/plugins/findbugs/sonar-findbugs-plugin-2.11.jar</a> (no proxy)<br>

[DEBUG] [14:32:03.253] Downloading plugin l10nfr into /tmp/sonar-batch77453204480258127538737455588825297/plugins/l10nfr<br>[DEBUG] [14:32:03.254] Download: <a href="http://myserver/sonar/deploy/plugins/l10nfr/sonar-l10n-fr-plugin-1.1.jar" target="_blank">http://myserver/sonar/deploy/plugins/l10nfr/sonar-l10n-fr-plugin-1.1.jar</a> (no proxy)<br>

[DEBUG] [14:32:03.260] Downloading plugin l10nen into /tmp/sonar-batch77453204480258127538737455588825297/plugins/l10nen<br>[DEBUG] [14:32:03.260] Download: <a href="http://myserver/sonar/deploy/plugins/l10nen/sonar-l10n-en-plugin-2.11.jar" target="_blank">http://myserver/sonar/deploy/plugins/l10nen/sonar-l10n-en-plugin-2.11.jar</a> (no proxy)<br>

[DEBUG] [14:32:03.265] Downloading plugin googleanalytics into /tmp/sonar-batch77453204480258127538737455588825297/plugins/googleanalytics<br>[DEBUG] [14:32:03.265] Download: <a href="http://myserver/sonar/deploy/plugins/googleanalytics/sonar-googleanalytics-plugin-2.11.jar" target="_blank">http://myserver/sonar/deploy/plugins/googleanalytics/sonar-googleanalytics-plugin-2.11.jar</a> (no proxy)<br>

[DEBUG] [14:32:03.266] Downloading plugin surefire into /tmp/sonar-batch77453204480258127538737455588825297/plugins/surefire<br>[DEBUG] [14:32:03.267] Download: <a href="http://myserver/sonar/deploy/plugins/surefire/sonar-surefire-plugin-2.11.jar" target="_blank">http://myserver/sonar/deploy/plugins/surefire/sonar-surefire-plugin-2.11.jar</a> (no proxy)<br>

[DEBUG] [14:32:03.268] Downloading plugin cpd into /tmp/sonar-batch77453204480258127538737455588825297/plugins/cpd<br>[DEBUG] [14:32:03.268] Download: <a href="http://myserver/sonar/deploy/plugins/cpd/sonar-cpd-plugin-2.11.jar" target="_blank">http://myserver/sonar/deploy/plugins/cpd/sonar-cpd-plugin-2.11.jar</a> (no proxy)<br>

[DEBUG] [14:32:03.317] Downloading plugin checkstyle into /tmp/sonar-batch77453204480258127538737455588825297/plugins/checkstyle<br>[DEBUG] [14:32:03.318] Download: <a href="http://myserver/sonar/deploy/plugins/checkstyle/sonar-checkstyle-plugin-2.11.jar" target="_blank">http://myserver/sonar/deploy/plugins/checkstyle/sonar-checkstyle-plugin-2.11.jar</a> (no proxy)<br>

[DEBUG] [14:32:03.330] Download: <a href="http://myserver/sonar/deploy/plugins/checkstyle/README.txt" target="_blank">http://myserver/sonar/deploy/plugins/checkstyle/README.txt</a> (no proxy)<br>[DEBUG] [14:32:03.363] Downloading plugin pmd into /tmp/sonar-batch77453204480258127538737455588825297/plugins/pmd<br>

[DEBUG] [14:32:03.363] Download: <a href="http://myserver/sonar/deploy/plugins/pmd/sonar-pmd-plugin-2.11.jar" target="_blank">http://myserver/sonar/deploy/plugins/pmd/sonar-pmd-plugin-2.11.jar</a> (no proxy)<br>[DEBUG] [14:32:03.452] Download: <a href="http://myserver/sonar/deploy/plugins/pmd/README.txt" target="_blank">http://myserver/sonar/deploy/plugins/pmd/README.txt</a> (no proxy)<br>

[DEBUG] [14:32:03.608] Downloading plugin core into /tmp/sonar-batch77453204480258127538737455588825297/plugins/core<br>[DEBUG] [14:32:03.608] Download: <a href="http://myserver/sonar/deploy/plugins/core/sonar-core-plugin-2.11.jar" target="_blank">http://myserver/sonar/deploy/plugins/core/sonar-core-plugin-2.11.jar</a> (no proxy)<br>

[DEBUG] [14:32:03.621] Downloading plugin dbcleaner into /tmp/sonar-batch77453204480258127538737455588825297/plugins/dbcleaner<br>[DEBUG] [14:32:03.622] Download: <a href="http://myserver/sonar/deploy/plugins/dbcleaner/sonar-dbcleaner-plugin-2.11.jar" target="_blank">http://myserver/sonar/deploy/plugins/dbcleaner/sonar-dbcleaner-plugin-2.11.jar</a> (no proxy)<br>

[DEBUG] [14:32:03.623] Downloading plugin squidjava into /tmp/sonar-batch77453204480258127538737455588825297/plugins/squidjava<br>[DEBUG] [14:32:03.623] Download: <a href="http://myserver/sonar/deploy/plugins/squidjava/sonar-squid-java-plugin-2.11.jar" target="_blank">http://myserver/sonar/deploy/plugins/squidjava/sonar-squid-java-plugin-2.11.jar</a> (no proxy)<br>

[DEBUG] [14:32:03.672] Downloading plugin cobertura into /tmp/sonar-batch77453204480258127538737455588825297/plugins/cobertura<br>[DEBUG] [14:32:03.673] Download: <a href="http://myserver/sonar/deploy/plugins/cobertura/sonar-cobertura-plugin-2.11.jar" target="_blank">http://myserver/sonar/deploy/plugins/cobertura/sonar-cobertura-plugin-2.11.jar</a> (no proxy)<br>

[DEBUG] [14:32:03.675] Downloading plugin emailnotifications into /tmp/sonar-batch77453204480258127538737455588825297/plugins/emailnotifications<br>[DEBUG] [14:32:03.675] Download: <a href="http://myserver/sonar/deploy/plugins/emailnotifications/sonar-email-notifications-plugin-2.11.jar" target="_blank">http://myserver/sonar/deploy/plugins/emailnotifications/sonar-email-notifications-plugin-2.11.jar</a> (no proxy)<br>

[DEBUG] [14:32:03.694] Downloading plugin design into /tmp/sonar-batch77453204480258127538737455588825297/plugins/design<br>[DEBUG] [14:32:03.694] Download: <a href="http://myserver/sonar/deploy/plugins/design/sonar-design-plugin-2.11.jar" target="_blank">http://myserver/sonar/deploy/plugins/design/sonar-design-plugin-2.11.jar</a> (no proxy)<br>

[DEBUG] [14:32:04.260] To prevent a memory leak, the JDBC Driver [org.postgresql.Driver] has been forcibly deregistered<br>[DEBUG] [14:32:04.289] Delete temporary directory: /tmp/sonar-batch77453204480258127538737455588825297<br>

[INFO] ------------------------------------------------------------------------<br>[ERROR] FATAL ERROR<br>[INFO] ------------------------------------------------------------------------<br>[INFO] PicoLifecycleException: method 'public void org.sonar.batch.config.BatchSettingsEnhancer.start()', instance 'org.sonar.batch.config.BatchSettingsEnhancer <at> 14560cf, java.lang.RuntimeException: wrapper<br>

[INFO] ------------------------------------------------------------------------<br>[DEBUG] Trace<br>org.picocontainer.PicoLifecycleException: PicoLifecycleException: method 'public void org.sonar.batch.config.BatchSettingsEnhancer.start()', instance 'org.sonar.batch.config.BatchSettingsEnhancer <at> 14560cf, java.lang.RuntimeException: wrapper<br>

&nbsp;&nbsp;&nbsp; at org.picocontainer.monitors.NullComponentMonitor.lifecycleInvocationFailed(NullComponentMonitor.java:77)<br>&nbsp;&nbsp;&nbsp; at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.monitorAndThrowReflectionLifecycleException(ReflectionLifecycleStrategy.java:132)<br>

&nbsp;&nbsp;&nbsp; at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:115)<br>&nbsp;&nbsp;&nbsp; at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)<br>

&nbsp;&nbsp;&nbsp; at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)<br>&nbsp;&nbsp;&nbsp; at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)<br>&nbsp;&nbsp;&nbsp; at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)<br>

&nbsp;&nbsp;&nbsp; at org.picocontainer.behaviors.Stored.start(Stored.java:110)<br>&nbsp;&nbsp;&nbsp; at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:996)<br>&nbsp;&nbsp;&nbsp; at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:989)<br>

&nbsp;&nbsp;&nbsp; at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:746)<br>&nbsp;&nbsp;&nbsp; at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:70)<br>&nbsp;&nbsp;&nbsp; at org.sonar.batch.bootstrap.Module.start(Module.java:82)<br>

&nbsp;&nbsp;&nbsp; at org.sonar.batch.Batch.execute(Batch.java:74)<br>&nbsp;&nbsp;&nbsp; at org.sonar.maven.SonarMojo.executeBatch(SonarMojo.java:153)<br>&nbsp;&nbsp;&nbsp; at org.sonar.maven.SonarMojo.execute(SonarMojo.java:142)<br>&nbsp;&nbsp;&nbsp; at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)<br>

&nbsp;&nbsp;&nbsp; at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)<br>&nbsp;&nbsp;&nbsp; at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)<br>

&nbsp;&nbsp;&nbsp; at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)<br>&nbsp;&nbsp;&nbsp; at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)<br>

&nbsp;&nbsp;&nbsp; at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)<br>&nbsp;&nbsp;&nbsp; at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)<br>

&nbsp;&nbsp;&nbsp; at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)<br>&nbsp;&nbsp;&nbsp; at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)<br>&nbsp;&nbsp;&nbsp; at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)<br>&nbsp;&nbsp;&nbsp; at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)<br>

&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>&nbsp;&nbsp;&nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>

&nbsp;&nbsp;&nbsp; at java.lang.reflect.Method.invoke(Method.java:597)<br>&nbsp;&nbsp;&nbsp; at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)<br>&nbsp;&nbsp;&nbsp; at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)<br>&nbsp;&nbsp;&nbsp; at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)<br>

&nbsp;&nbsp;&nbsp; at org.codehaus.classworlds.Launcher.main(Launcher.java:375)<br>Caused by: java.lang.RuntimeException: wrapper<br>&nbsp;&nbsp;&nbsp; at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.monitorAndThrowReflectionLifecycleException(ReflectionLifecycleStrategy.java:130)<br>

&nbsp;&nbsp;&nbsp; ... 33 more<br>Caused by: java.lang.NullPointerException<br>&nbsp;&nbsp;&nbsp; at org.sonar.jpa.session.AbstractDatabaseConnector.createEntityManager(AbstractDatabaseConnector.java:117)<br>&nbsp;&nbsp;&nbsp; at org.sonar.jpa.session.JpaDatabaseSession.start(JpaDatabaseSession.java:52)<br>

&nbsp;&nbsp;&nbsp; at org.sonar.jpa.session.ThreadLocalDatabaseSessionFactory.getSession(ThreadLocalDatabaseSessionFactory.java:37)<br>&nbsp;&nbsp;&nbsp; at org.sonar.core.config.ConfigurationUtils.prepareDbSession(ConfigurationUtils.java:109)<br>&nbsp;&nbsp;&nbsp; at org.sonar.core.config.ConfigurationUtils.getProjectProperties(ConfigurationUtils.java:88)<br>

&nbsp;&nbsp;&nbsp; at org.sonar.batch.config.BatchSettingsEnhancer.start(BatchSettingsEnhancer.java:46)<br>&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>

&nbsp;&nbsp;&nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>&nbsp;&nbsp;&nbsp; at java.lang.reflect.Method.invoke(Method.java:597)<br>&nbsp;&nbsp;&nbsp; at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)<br>

&nbsp;&nbsp;&nbsp; ... 32 more<br>[INFO] ------------------------------------------------------------------------<br>[INFO] Total time: 4 seconds<br>[INFO] Finished at: Fri Nov 18 14:32:04 CET 2011<br>[INFO] Final Memory: 14M/35M<br>[INFO] ------------------------------------------------------------------------<br>

Sonar analysis completed: FAILURE<br>Finished: FAILURE<br><br><br>Thank you<br>Gabe<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
Gabriel Euzet | 21 Nov 13:17 2011

Re: a new PicoLifecycleException ^^

Problem solved by specifying plugin versions like this :

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>1.0</version>
</plugin>
<plugin>
   <groupId>org.codehaus.sonar</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.11</version>
</plugin>


but there is a new error :

[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
    at net.sourceforge.pmd.typeresolution.PMDASMClassLoader.getImportedClasses(PMDASMClassLoader.java:40)
    at net.sourceforge.pmd.typeresolution.ClassTypeResolver.populateClassName(ClassTypeResolver.java:664)
    at net.sourceforge.pmd.typeresolution.ClassTypeResolver.visit(ClassTypeResolver.java:146)
    at net.sourceforge.pmd.ast.ASTCompilationUnit.jjtAccept(ASTCompilationUnit.java:35)
    at net.sourceforge.pmd.typeresolution.TypeResolutionFacade.initializeWith(TypeResolutionFacade.java:17)
    at net.sourceforge.pmd.sourcetypehandlers.JavaTypeHandler$3.start(JavaTypeHandler.java:35)
    at net.sourceforge.pmd.PMD.processFile(PMD.java:118)
    at net.sourceforge.pmd.PMD.processFile(PMD.java:75)
    at org.sonar.plugins.pmd.PmdExecutor.execute(PmdExecutor.java:70)
    at org.sonar.plugins.pmd.PmdSensor.analyse(PmdSensor.java:45)
    at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)
    at org.sonar.batch.phases.Phases.execute(Phases.java:93)
    at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:110)
    at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:105)
    at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:100)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:96)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.Batch.execute(Batch.java:74)
    at org.sonar.maven.SonarMojo.executeBatch(SonarMojo.java:154)
    at org.sonar.maven.SonarMojo.execute(SonarMojo.java:143)
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    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: 15 minutes 45 seconds
[INFO] Finished at: Mon Nov 21 11:11:51 CET 2011
[INFO] Final Memory: 64M/247M
[INFO] ------------------------------------------------------------------------
Sonar analysis completed: FAILURE
Sending e-mails to: sysadmin-b2FeZBM3HiuZeO0cHdv5RQ@public.gmane.org
Finished: FAILURE


:-/

Freddy Mallet | 23 Nov 23:55 2011
Picon

Re: a new PicoLifecycleException ^^

Hi Gabriel,


Could you give a try with the following configuration :

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.0</version>
</plugin>

Moreover, could you remove the following section :

<plugin>
   <groupId>org.codehaus.sonar</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.11</version>
</plugin>

Kind regards,
Freddy

-----
Sonar for Continuous Inspection



On Mon, Nov 21, 2011 at 1:17 PM, Gabriel Euzet <geuzet <at> sqli.com> wrote:
Problem solved by specifying plugin versions like this :

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>1.0</version>
</plugin>
<plugin>
   <groupId>org.codehaus.sonar</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.11</version>
</plugin>


but there is a new error :


[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
    at net.sourceforge.pmd.typeresolution.PMDASMClassLoader.getImportedClasses(PMDASMClassLoader.java:40)
    at net.sourceforge.pmd.typeresolution.ClassTypeResolver.populateClassName(ClassTypeResolver.java:664)
    at net.sourceforge.pmd.typeresolution.ClassTypeResolver.visit(ClassTypeResolver.java:146)
    at net.sourceforge.pmd.ast.ASTCompilationUnit.jjtAccept(ASTCompilationUnit.java:35)
    at net.sourceforge.pmd.typeresolution.TypeResolutionFacade.initializeWith(TypeResolutionFacade.java:17)
    at net.sourceforge.pmd.sourcetypehandlers.JavaTypeHandler$3.start(JavaTypeHandler.java:35)
    at net.sourceforge.pmd.PMD.processFile(PMD.java:118)
    at net.sourceforge.pmd.PMD.processFile(PMD.java:75)
    at org.sonar.plugins.pmd.PmdExecutor.execute(PmdExecutor.java:70)
    at org.sonar.plugins.pmd.PmdSensor.analyse(PmdSensor.java:45)
    at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)
    at org.sonar.batch.phases.Phases.execute(Phases.java:93)
    at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:110)
    at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:105)
    at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:100)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:96)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.Batch.execute(Batch.java:74)
    at org.sonar.maven.SonarMojo.executeBatch(SonarMojo.java:154)
    at org.sonar.maven.SonarMojo.execute(SonarMojo.java:143)

    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    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: 15 minutes 45 seconds
[INFO] Finished at: Mon Nov 21 11:11:51 CET 2011
[INFO] Final Memory: 64M/247M

[INFO] ------------------------------------------------------------------------
Sonar analysis completed: FAILURE
Sending e-mails to: sysadmin-b2FeZBM3HiuZeO0cHdv5RQ@public.gmane.org
Finished: FAILURE


:-/

Gabriel Euzet | 24 Nov 09:12 2011

Re: a new PicoLifecycleException ^^

Hi (again) Freddy ! ^^

This configuration brings me back to the initial problem.
In the user doc it's specified that I must use the mojo version 1 plugin with maven 2 : http://docs.codehaus.org/display/SONAR/How+to+fix+version+of+Maven+plugin

Regards
Gabe

2011/11/23 Freddy Mallet <freddy.mallet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Hi Gabriel,

Could you give a try with the following configuration :

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.0</version>
</plugin>

Moreover, could you remove the following section :

<plugin>
   <groupId>org.codehaus.sonar</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.11</version>
</plugin>

Kind regards,
Freddy

-----
Sonar for Continuous Inspection



On Mon, Nov 21, 2011 at 1:17 PM, Gabriel Euzet <geuzet-AxaRnN5YFO0@public.gmane.org> wrote:
Problem solved by specifying plugin versions like this :

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>1.0</version>
</plugin>
<plugin>
   <groupId>org.codehaus.sonar</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.11</version>
</plugin>


but there is a new error :


[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
    at net.sourceforge.pmd.typeresolution.PMDASMClassLoader.getImportedClasses(PMDASMClassLoader.java:40)
    at net.sourceforge.pmd.typeresolution.ClassTypeResolver.populateClassName(ClassTypeResolver.java:664)
    at net.sourceforge.pmd.typeresolution.ClassTypeResolver.visit(ClassTypeResolver.java:146)
    at net.sourceforge.pmd.ast.ASTCompilationUnit.jjtAccept(ASTCompilationUnit.java:35)
    at net.sourceforge.pmd.typeresolution.TypeResolutionFacade.initializeWith(TypeResolutionFacade.java:17)
    at net.sourceforge.pmd.sourcetypehandlers.JavaTypeHandler$3.start(JavaTypeHandler.java:35)
    at net.sourceforge.pmd.PMD.processFile(PMD.java:118)
    at net.sourceforge.pmd.PMD.processFile(PMD.java:75)
    at org.sonar.plugins.pmd.PmdExecutor.execute(PmdExecutor.java:70)
    at org.sonar.plugins.pmd.PmdSensor.analyse(PmdSensor.java:45)
    at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)
    at org.sonar.batch.phases.Phases.execute(Phases.java:93)
    at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:110)
    at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:105)
    at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:100)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:96)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.Batch.execute(Batch.java:74)
    at org.sonar.maven.SonarMojo.executeBatch(SonarMojo.java:154)
    at org.sonar.maven.SonarMojo.execute(SonarMojo.java:143)

    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    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: 15 minutes 45 seconds
[INFO] Finished at: Mon Nov 21 11:11:51 CET 2011
[INFO] Final Memory: 64M/247M

[INFO] ------------------------------------------------------------------------
Sonar analysis completed: FAILURE
Sending e-mails to: sysadmin-b2FeZBM3HiuZeO0cHdv5RQ@public.gmane.org
Finished: FAILURE


:-/


Freddy Mallet | 25 Nov 08:39 2011
Picon

Re: a new PicoLifecycleException ^^

Hi Gabriel,


Indeed you're right about the version of the Mojo plugin. This should be 

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>1.0</version>
</plugin>

If you use Maven 2. 

Could you provide me the following pieces of information :
  • Which is the version of your Sonar server ?
  • Have you migrated recently to a newer version of the Sonar server ?
  • What's the result of the Maven command : mvn help:effective-pom ?
Thanks
Freddy

-----
Sonar for Continuous Inspection



On Thu, Nov 24, 2011 at 9:12 AM, Gabriel Euzet <geuzet <at> sqli.com> wrote:
Hi (again) Freddy ! ^^

This configuration brings me back to the initial problem.
In the user doc it's specified that I must use the mojo version 1 plugin with maven 2 : http://docs.codehaus.org/display/SONAR/How+to+fix+version+of+Maven+plugin

Regards
Gabe


2011/11/23 Freddy Mallet <freddy.mallet <at> gmail.com>
Hi Gabriel,

Could you give a try with the following configuration :

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.0</version>
</plugin>

Moreover, could you remove the following section :

<plugin>
   <groupId>org.codehaus.sonar</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.11</version>
</plugin>

Kind regards,
Freddy

-----
Sonar for Continuous Inspection



On Mon, Nov 21, 2011 at 1:17 PM, Gabriel Euzet <geuzet-AxaRnN5YFO0@public.gmane.org> wrote:
Problem solved by specifying plugin versions like this :

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>1.0</version>
</plugin>
<plugin>
   <groupId>org.codehaus.sonar</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.11</version>
</plugin>


but there is a new error :


[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
    at net.sourceforge.pmd.typeresolution.PMDASMClassLoader.getImportedClasses(PMDASMClassLoader.java:40)
    at net.sourceforge.pmd.typeresolution.ClassTypeResolver.populateClassName(ClassTypeResolver.java:664)
    at net.sourceforge.pmd.typeresolution.ClassTypeResolver.visit(ClassTypeResolver.java:146)
    at net.sourceforge.pmd.ast.ASTCompilationUnit.jjtAccept(ASTCompilationUnit.java:35)
    at net.sourceforge.pmd.typeresolution.TypeResolutionFacade.initializeWith(TypeResolutionFacade.java:17)
    at net.sourceforge.pmd.sourcetypehandlers.JavaTypeHandler$3.start(JavaTypeHandler.java:35)
    at net.sourceforge.pmd.PMD.processFile(PMD.java:118)
    at net.sourceforge.pmd.PMD.processFile(PMD.java:75)
    at org.sonar.plugins.pmd.PmdExecutor.execute(PmdExecutor.java:70)
    at org.sonar.plugins.pmd.PmdSensor.analyse(PmdSensor.java:45)
    at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)
    at org.sonar.batch.phases.Phases.execute(Phases.java:93)
    at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:110)
    at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:105)
    at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:100)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:96)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.Batch.execute(Batch.java:74)
    at org.sonar.maven.SonarMojo.executeBatch(SonarMojo.java:154)
    at org.sonar.maven.SonarMojo.execute(SonarMojo.java:143)

    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    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: 15 minutes 45 seconds
[INFO] Finished at: Mon Nov 21 11:11:51 CET 2011
[INFO] Final Memory: 64M/247M

[INFO] ------------------------------------------------------------------------
Sonar analysis completed: FAILURE
Sending e-mails to: sysadmin-b2FeZBM3HiuZeO0cHdv5RQ@public.gmane.org
Finished: FAILURE


:-/



Gabriel Euzet | 5 Dec 16:21 2011

Re: a new PicoLifecycleException ^^

Hi Freddy,

* Sonar version 2.11
* Yes I have upgraded from 2.2. But this problem was already here before.
* mvn help:effective-pom in your personnal mail box, there are too much private stuff

Regards,
Gabe

2011/11/25 Freddy Mallet <freddy.mallet <at> gmail.com>
Hi Gabriel,

Indeed you're right about the version of the Mojo plugin. This should be 

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>1.0</version>
</plugin>

If you use Maven 2. 

Could you provide me the following pieces of information :
  • Which is the version of your Sonar server ?
  • Have you migrated recently to a newer version of the Sonar server ?
  • What's the result of the Maven command : mvn help:effective-pom ?
Thanks
Freddy

-----
Sonar for Continuous Inspection



On Thu, Nov 24, 2011 at 9:12 AM, Gabriel Euzet <geuzet-AxaRnN5YFO0@public.gmane.org> wrote:
Hi (again) Freddy ! ^^

This configuration brings me back to the initial problem.
In the user doc it's specified that I must use the mojo version 1 plugin with maven 2 : http://docs.codehaus.org/display/SONAR/How+to+fix+version+of+Maven+plugin

Regards
Gabe


2011/11/23 Freddy Mallet <freddy.mallet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Hi Gabriel,

Could you give a try with the following configuration :

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.0</version>
</plugin>

Moreover, could you remove the following section :

<plugin>
   <groupId>org.codehaus.sonar</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.11</version>
</plugin>

Kind regards,
Freddy

-----
Sonar for Continuous Inspection



On Mon, Nov 21, 2011 at 1:17 PM, Gabriel Euzet <geuzet-AxaRnN5YFO0@public.gmane.org> wrote:
Problem solved by specifying plugin versions like this :

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>1.0</version>
</plugin>
<plugin>
   <groupId>org.codehaus.sonar</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.11</version>
</plugin>


but there is a new error :


[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
    at net.sourceforge.pmd.typeresolution.PMDASMClassLoader.getImportedClasses(PMDASMClassLoader.java:40)
    at net.sourceforge.pmd.typeresolution.ClassTypeResolver.populateClassName(ClassTypeResolver.java:664)
    at net.sourceforge.pmd.typeresolution.ClassTypeResolver.visit(ClassTypeResolver.java:146)
    at net.sourceforge.pmd.ast.ASTCompilationUnit.jjtAccept(ASTCompilationUnit.java:35)
    at net.sourceforge.pmd.typeresolution.TypeResolutionFacade.initializeWith(TypeResolutionFacade.java:17)
    at net.sourceforge.pmd.sourcetypehandlers.JavaTypeHandler$3.start(JavaTypeHandler.java:35)
    at net.sourceforge.pmd.PMD.processFile(PMD.java:118)
    at net.sourceforge.pmd.PMD.processFile(PMD.java:75)
    at org.sonar.plugins.pmd.PmdExecutor.execute(PmdExecutor.java:70)
    at org.sonar.plugins.pmd.PmdSensor.analyse(PmdSensor.java:45)
    at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)
    at org.sonar.batch.phases.Phases.execute(Phases.java:93)
    at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:110)
    at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:105)
    at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:100)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:96)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.Batch.execute(Batch.java:74)
    at org.sonar.maven.SonarMojo.executeBatch(SonarMojo.java:154)
    at org.sonar.maven.SonarMojo.execute(SonarMojo.java:143)

    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    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: 15 minutes 45 seconds
[INFO] Finished at: Mon Nov 21 11:11:51 CET 2011
[INFO] Final Memory: 64M/247M

[INFO] ------------------------------------------------------------------------
Sonar analysis completed: FAILURE
Sending e-mails to: sysadmin-b2FeZBM3HiuZeO0cHdv5RQ@public.gmane.org
Finished: FAILURE


:-/




Freddy Mallet | 9 Dec 12:56 2011
Picon

Re: a new PicoLifecycleException ^^

Hi Gabriel, just to keep you informed, unhappily I haven't managed to figure out what happens.


-----
Sonar for Continuous Inspection



On Mon, Dec 5, 2011 at 4:21 PM, Gabriel Euzet <geuzet <at> sqli.com> wrote:
Hi Freddy,

* Sonar version 2.11
* Yes I have upgraded from 2.2. But this problem was already here before.
* mvn help:effective-pom in your personnal mail box, there are too much private stuff

Regards,
Gabe


2011/11/25 Freddy Mallet <freddy.mallet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Hi Gabriel,

Indeed you're right about the version of the Mojo plugin. This should be 

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>1.0</version>
</plugin>

If you use Maven 2. 

Could you provide me the following pieces of information :
  • Which is the version of your Sonar server ?
  • Have you migrated recently to a newer version of the Sonar server ?
  • What's the result of the Maven command : mvn help:effective-pom ?
Thanks
Freddy

-----
Sonar for Continuous Inspection



On Thu, Nov 24, 2011 at 9:12 AM, Gabriel Euzet <geuzet-AxaRnN5YFO0@public.gmane.org> wrote:
Hi (again) Freddy ! ^^

This configuration brings me back to the initial problem.
In the user doc it's specified that I must use the mojo version 1 plugin with maven 2 : http://docs.codehaus.org/display/SONAR/How+to+fix+version+of+Maven+plugin

Regards
Gabe


2011/11/23 Freddy Mallet <freddy.mallet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Hi Gabriel,

Could you give a try with the following configuration :

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.0</version>
</plugin>

Moreover, could you remove the following section :

<plugin>
   <groupId>org.codehaus.sonar</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.11</version>
</plugin>

Kind regards,
Freddy

-----
Sonar for Continuous Inspection



On Mon, Nov 21, 2011 at 1:17 PM, Gabriel Euzet <geuzet-AxaRnN5YFO0@public.gmane.org> wrote:
Problem solved by specifying plugin versions like this :

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>1.0</version>
</plugin>
<plugin>
   <groupId>org.codehaus.sonar</groupId>
   <artifactId>sonar-maven-plugin</artifactId>
   <version>2.11</version>
</plugin>


but there is a new error :


[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
    at net.sourceforge.pmd.typeresolution.PMDASMClassLoader.getImportedClasses(PMDASMClassLoader.java:40)
    at net.sourceforge.pmd.typeresolution.ClassTypeResolver.populateClassName(ClassTypeResolver.java:664)
    at net.sourceforge.pmd.typeresolution.ClassTypeResolver.visit(ClassTypeResolver.java:146)
    at net.sourceforge.pmd.ast.ASTCompilationUnit.jjtAccept(ASTCompilationUnit.java:35)
    at net.sourceforge.pmd.typeresolution.TypeResolutionFacade.initializeWith(TypeResolutionFacade.java:17)
    at net.sourceforge.pmd.sourcetypehandlers.JavaTypeHandler$3.start(JavaTypeHandler.java:35)
    at net.sourceforge.pmd.PMD.processFile(PMD.java:118)
    at net.sourceforge.pmd.PMD.processFile(PMD.java:75)
    at org.sonar.plugins.pmd.PmdExecutor.execute(PmdExecutor.java:70)
    at org.sonar.plugins.pmd.PmdSensor.analyse(PmdSensor.java:45)
    at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)
    at org.sonar.batch.phases.Phases.execute(Phases.java:93)
    at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:110)
    at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:105)
    at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:100)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:96)
    at org.sonar.batch.bootstrap.Module.start(Module.java:89)
    at org.sonar.batch.Batch.execute(Batch.java:74)
    at org.sonar.maven.SonarMojo.executeBatch(SonarMojo.java:154)
    at org.sonar.maven.SonarMojo.execute(SonarMojo.java:143)

    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    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: 15 minutes 45 seconds
[INFO] Finished at: Mon Nov 21 11:11:51 CET 2011
[INFO] Final Memory: 64M/247M

[INFO] ------------------------------------------------------------------------
Sonar analysis completed: FAILURE
Sending e-mails to: sysadmin-b2FeZBM3HiuZeO0cHdv5RQ@public.gmane.org
Finished: FAILURE


:-/






Gmane