atom feed10 messages in org.codehaus.sonar.userRe: [sonar-user] [ANN] Sonar 2.14 RC3...
FromSent OnAttachments
Eric HartmannMar 9, 2012 2:01 am 
Ann CampbellMar 12, 2012 6:04 am 
Evgeny MandrikovMar 12, 2012 6:40 am 
Ann CampbellMar 12, 2012 6:48 am 
Ann CampbellMar 12, 2012 7:01 am 
Evgeny MandrikovMar 12, 2012 10:01 am 
Ann CampbellMar 12, 2012 10:05 am 
Evgeny MandrikovMar 12, 2012 10:18 am 
Evgeny MandrikovMar 12, 2012 10:43 pm 
Ann CampbellMar 13, 2012 4:21 am 
Subject:Re: [sonar-user] [ANN] Sonar 2.14 RC3 available
From:Evgeny Mandrikov (
Date:Mar 12, 2012 6:40:54 am

Hi Ann,

I repeat my question : do you have an exclusions in failed projects ? Previous questions are : and Here is some info to explain my question : This error occurs only when Sonar CPD is used with cross-project analysis. And indeed - in 2.14 Sonar CPD is enabled by default, so I guess that cross-project analysis is enabled in your instance. However this error from my point of view can occur only if sonar language plugin incorrectly handles resources or exclusion patters. And ideed - this happens for you only with Delphi. Which in fact means that error doesn't directly relate to Sonar Core. At the end I'm pretty sure that you can get rid this error if you'll disable cross-project analysis for this project or even for all Delphi plugins.

On Mon, Mar 12, 2012 at 17:04, Ann Campbell <>wrote:

Still getting this exception - analysis succeeds on 2.13:

no change for [SVN project] since the previous build [workspace] $ java -cp
org.sonar.runner.Main -Dsonar.jdbc.driver=com.mysql.jdbc.Driver
-Dsonar.jdbc.url=jdbc:mysql://localhost:3306/sonar ******** ******** -Dsonar.language=delph
-Dsonar.projectName=ADelphiProject -Dsonar.projectVersion=1.0 -Dsources=.
-Dsonar.projectKey=com.shawinc:aDelphiProject Runner configuration file: NONE Project configuration file: NONE Runner version: 1.2 Java version: 1.6.0_26, vendor: Sun Microsystems Inc. OS name: "Linux", version: "2.6.38-13-generic", arch: "i386" Server: http://localhost:9000 Work directory: /path/to/workspace/.sonar 08:56:31.941 INFO o.s.core.persistence.Database - Create JDBC datasource 08:56:32.784 INFO org.sonar.INFO - Initializing Hibernate 08:56:36.586 INFO o.s.b.bootstrap.ProjectModule - ------------- Analyzing
HSCosting 08:56:37.296 INFO o.sonar.batch.ProfileProvider - Selected quality profile :
[name=Delphi Default Profile,language=delph] 08:56:37.311 INFO org.sonar.INFO - Cutoff date not set 08:56:37.324 INFO s.b.p.MavenPluginsConfigurator - Configure maven plugins... 08:56:37.380 INFO org.sonar.INFO - Compare to previous analysis
(2012-03-01) 08:56:37.415 INFO org.sonar.INFO - Compare over 7 days
(2012-03-05, analysis of 2012-03-01 10:44:59.0) 08:56:37.438 INFO org.sonar.INFO - Compare to date 2012-01-15
(analysis of 2012-02-24) 08:56:38.522 INFO o.s.p.w.api.ProjectFileManager - Source dir for web files:
/path/to/workspace 08:56:38.559 ERROR org.sonar.INFO - Plugin views: license not
found/valid. Please email 08:56:38.614 INFO o.s.b.phases.SensorsExecutor - Initializer
ProjectFileSystemLogger... 08:56:38.614 INFO .p.c.b.ProjectFileSystemLogger - Source directories: 08:56:38.614 INFO .p.c.b.ProjectFileSystemLogger - /path/to/workspace 08:56:38.615 INFO o.s.b.phases.SensorsExecutor - Initializer
ProjectFileSystemLogger done: 1 ms 08:56:38.706 INFO o.s.b.p.PhasesTimeProfiler - Sensor CpdSensor... 08:56:38.706 INFO org.sonar.INFO - SonarBridgeEngine is used 08:56:38.732 INFO o.s.p.cpd.index.IndexFactory - Cross-project analysis
enabled 08:56:38.749 INFO o.s.p.delphi.DelphiPlugin - No exclude directories found
in project configuration. Total time: 8.533s Final Memory: 25M/157M Exception in thread "main" org.sonar.batch.bootstrapper.BootstrapException:
org.sonar.plugins.delphi.core.DelphiFile@cbc2d3[key=[default].frameMisc,package=[default],longName=frameMisc,unitTest=false] at org.sonar.runner.Runner.delegateExecution( at org.sonar.runner.Runner.execute( at org.sonar.runner.Main.main( Caused by: org.sonar.batch.index.ResourceNotPersistedException:
org.sonar.plugins.delphi.core.DelphiFile@cbc2d3[key=[default].frameMisc,package=[default],longName=frameMisc,unitTest=false] at
org.sonar.batch.index.DefaultResourcePersister.getSnapshotOrFail( at
org.sonar.plugins.cpd.index.DbDuplicationsIndex.getSnapshotIdFor( at
org.sonar.plugins.cpd.index.DbDuplicationsIndex.insert( at
org.sonar.plugins.cpd.index.SonarDuplicationsIndex.insert( at org.sonar.plugins.cpd.SonarBridgeEngine.analyse( at org.sonar.plugins.cpd.CpdSensor.analyse( at org.sonar.batch.phases.SensorsExecutor.execute( at org.sonar.batch.phases.Phases.execute( at org.sonar.batch.bootstrap.ProjectModule.doStart( at org.sonar.batch.bootstrap.Module.start( at org.sonar.batch.bootstrap.BatchModule.analyze( at org.sonar.batch.bootstrap.BatchModule.doStart( at org.sonar.batch.bootstrap.Module.start( at org.sonar.batch.bootstrap.BootstrapModule.doStart( at org.sonar.batch.bootstrap.Module.start( at org.sonar.batch.Batch.execute( at org.sonar.runner.Launcher.executeBatch( at org.sonar.runner.Launcher.execute( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke( at
sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at org.sonar.runner.Runner.delegateExecution( ... 2 more Build step 'Invoke Standalone Sonar Analysis' marked build as failure Notifying upstream projects of job completion Finished: FAILURE

On Fri, Mar 9, 2012 at 5:01 AM, Eric Hartmann <>wrote:


I'm pleased to announce the release of Sonar 2.14-RC3 which is available here :

This release canditate fixes the issues found during tests on 2.14-RC1. Thanks for early testers that made tests on RC1.

As usual, let us know if you found any issue on this release candidate.


The SonarSource Team