First of all, We want to apologize because we are not able to upgrade MetriC++ and MetricsAnalytics now for several reasons. I would like to thank you for your interest because we have realized the real interest that the community has for our Sonar's Plugins. I think we should follow developing these plugins together and working aligned with the t […]
I saw this error as well when using the default embedded Sonar db, but it went away when we started using MySQL. Something about the default Sonar db is unable to load the lstrcpyW rule because the description(?) field is longer than 200 characters and it's unable to truncate. Another option is to edit the RATS rules.xml file, and manually cut down the […]
0 rules for C++ jvm 1 | WrapperManager: Initializing... jvm 1 | 2010.03.02 12:07:31 ERROR Can not start Sonar jvm 1 | javax.persistence.PersistenceException: org.hibernate.exception.DataException: could not insert: [org.sonar.api.rules.Rule] jvm 1 | at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityMa […]
When you go to http://[sonar url]/profiles, what do you see? You should see a C++ quality profile, probably named MetriC++ Way with 500+ activated rules. If you don't see a C++ quality profile or it says 0 rules, check your sonar log to see what is happening when it starts. […]
That got me further. The entirety of the log can be found at http://quarter-flash.com/mvn2.log [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'sonar'. [INFO] ------------------------------------------------------------------------ [INFO] Building MetriC++ Test :: Satelite104 [INFO] task-segment: [sonar:son […]
Ah ok, I saw this same error when I upgraded to Sonar 1.12, take a look here: http://old.nabble.com/linkage-error-java.lang.NoClassDefFoundError-and-may-be-out-of-date-tc26871777.html. The problem appears to be that some of the MetriC++ classes use jdom libraries at runtime, and no provision is made for Sonar to be able to load this dependency (Sonar doesn […]