Coding Rules issues

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Coding Rules issues

Colin Rogers-5
Message
Sonar Dudes,
 
I've encountered a number of issues with Sonar, relating to Coding Rules;
  • Trying to turn on rules is a random thing. Sometimes I try turning on a rule the "spinny thing" comes up and completes, most of the time. Sometime I have to re-try up to 5 times (after reloading the page each time) and sometimes I can never turn on certain rules no matter how hard I try!
  • Having managed to turn on 298 rules, when I try and generate the Checkstyle XML I intermittently get the following error;
XML Parsing Error: not well-formed
Location: http://it-pc2:9000/rules_configuration/export/checkstyle.xml
Line Number 29, Column 8:      <%= link_to "go back projects homepage", :controller=>"project" %>
-------^
  • Now, I get the following error intermittently when I click on any of the types of rules when defining them and all the time when i try and delete a profile, and all the time when I try and upload a new profile from XML (although the process works, I just get this error);

We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it shortly.

<%= link_to "go back projects homepage", :controller=>"project" %>

  • Having left the coding rules screens, only to return I'd get the "something went wrong" message and couldn't get back into them. So having run out of ideas, I killed that session and restarted the browser, only to receive this error consistantly, whenever I click on coding rules;

ActiveRecord::StatementInvalid in Rules_profile#index

Showing app/views/rules_profile/index.rhtml where line # raised:

ActiveRecord::ActiveRecordError: Index: 0, Size: 0: SELECT active_rules.id AS t0_r0, active_rules.profile_id AS t0_r1, active_rules.rule_id AS t0_r2, active_rules.failure_level AS t0_r3, rules.id AS t1_r0, rules.name AS t1_r1, rules.rules_category_id AS t1_r2, rules.plugin_rule_key AS t1_r3, rules.plugin_config_key AS t1_r4, rules.plugin_name AS t1_r5, rules.description AS t1_r6, rules.is_ext AS t1_r7 FROM active_rules  LEFT OUTER JOIN rules ON rules.id = active_rules.rule_id WHERE (active_rules.profile_id = 5) 

Extracted source (around line #):

RAILS_ROOT: D:/Java/sonar-1.3/war/sonar-web/config/..

<A onclick="document.getElementById('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Application-Trace').style.display='block';; return false;" href="http://localhost:9000/rules_profile#">Application Trace | <A onclick="document.getElementById('Application-Trace').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='block';; return false;" href="http://localhost:9000/rules_profile#">Framework Trace | <A onclick="document.getElementById('Application-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='block';; return false;" href="http://localhost:9000/rules_profile#">Full Trace
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/connection_adapters/abstract_adapter.rb:128:in `log'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.8/lib/active_record/connection_adapters/jdbc_adapter.rb:520:in `execute'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1189:in `select_all_rows'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1044:in `find_with_associations'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1042:in `catch'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1042:in `find_with_associations'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:995:in `find_every'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:418:in `find'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:91:in `find'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/association_collection.rb:163:in `find_target'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:123:in `load_target'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/association_proxy.rb:122:in `method_missing'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:98:in `method_missing'
D:/Java/sonar-1.3/war/sonar-web/app/models/rules_profile.rb:41:in `active_rules_by_category_and_level'
D:/Java/sonar-1.3/war/sonar-web/app/views/rules_profile/index.rhtml:53:in `_run_rhtml_47app47views47rules_profile47index46rhtml'
D:/Java/sonar-1.3/war/sonar-web/app/views/rules_profile/index.rhtml:37:in `each'
D:/Java/sonar-1.3/war/sonar-web/app/views/rules_profile/index.rhtml:37:in `_run_rhtml_47app47views47rules_profile47index46rhtml'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in `compile_and_render_template'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:301:in `render_template'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:260:in `render_file'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:812:in `render_file'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:717:in `render'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/layout.rb:247:in `render_with_a_layout'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in `render_with_benchmark'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in `render_with_benchmark'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:1102:in `perform_action'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:696:in `call_filters'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in `perform_action_with_filters'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_with_benchmark'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_with_benchmark'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:in `perform_action_with_rescue'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in `process'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:in `process_with_filters'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:in `process_with_session_management_support'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:in `process'
:1

Request

Parameters: None

<A onclick="document.getElementById('session_dump').style.display='block'; return false;" href="http://localhost:9000/rules_profile#">Show session dump

Response

Headers: {"Cache-Control"=>"no-cache", "cookie"=>[]}
 
 
 
 
  • I also get this error now whenever I click on any project;

ActiveRecord::StatementInvalid in Project#dashboard

Showing app/views/project/_snapshot_measures.rhtml where line # raised:

ActiveRecord::ActiveRecordError: Index: 0, Size: 0: SELECT project_measures.id AS t0_r0, project_measures.value AS t0_r1, project_measures.metric_id AS t0_r2, project_measures.snapshot_id AS t0_r3, project_measures.rule_id AS t0_r4, project_measures.rules_category_id AS t0_r5, project_measures.text_value AS t0_r6, project_measures.tendency AS t0_r7, rules.id AS t1_r0, rules.name AS t1_r1, rules.rules_category_id AS t1_r2, rules.plugin_rule_key AS t1_r3, rules.plugin_config_key AS t1_r4, rules.plugin_name AS t1_r5, rules.description AS t1_r6, rules.is_ext AS t1_r7, rules_categories.id AS t2_r0, rules_categories.name AS t2_r1, rules_categories.description AS t2_r2 FROM project_measures  LEFT OUTER JOIN rules ON rules.id = project_measures.rule_id  LEFT OUTER JOIN rules_categories ON rules_categories.id = project_measures.rules_category_id WHERE (project_measures.snapshot_id = 1719) 

Extracted source (around line #):

Trace of template inclusion: /app/views/project/_dashboard_snapshot.rhtml, /app/views/project/dashboard.rhtml

RAILS_ROOT: D:/Java/sonar-1.3/war/sonar-web/config/..

<A onclick="document.getElementById('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Application-Trace').style.display='block';; return false;" href="http://localhost:9000/project/dashboard/1#">Application Trace | <A onclick="document.getElementById('Application-Trace').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='block';; return false;" href="http://localhost:9000/project/dashboard/1#">Framework Trace | <A onclick="document.getElementById('Application-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='block';; return false;" href="http://localhost:9000/project/dashboard/1#">Full Trace
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/connection_adapters/abstract_adapter.rb:128:in `log'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.8/lib/active_record/connection_adapters/jdbc_adapter.rb:520:in `execute'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1189:in `select_all_rows'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1044:in `find_with_associations'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1042:in `catch'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1042:in `find_with_associations'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:995:in `find_every'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:418:in `find'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:91:in `find'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/association_collection.rb:163:in `find_target'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:123:in `load_target'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/association_proxy.rb:122:in `method_missing'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:98:in `method_missing'
D:/Java/sonar-1.3/war/sonar-web/app/models/snapshot.rb:151:in `measures_hash'
D:/Java/sonar-1.3/war/sonar-web/app/models/snapshot.rb:87:in `measure'
D:/Java/sonar-1.3/war/sonar-web/app/helpers/application_helper.rb:116:in `display_measure'
D:/Java/sonar-1.3/war/sonar-web/app/views/project/_snapshot_measures.rhtml:8:in `_run_rhtml_47app47views47project47_snapshot_measures46rhtml'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in `compile_and_render_template'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:301:in `render_template'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:260:in `render_file'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:275:in `render'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/partials.rb:59:in `render_partial'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:30:in `benchmark'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/partials.rb:58:in `render_partial'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:287:in `render'
D:/Java/sonar-1.3/war/sonar-web/app/views/project/_dashboard_snapshot.rhtml:16:in `_run_rhtml_47app47views47project47_dashboard_snapshot46rhtml'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in `compile_and_render_template'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:301:in `render_template'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:260:in `render_file'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:275:in `render'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/partials.rb:59:in `render_partial'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:30:in `benchmark'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/partials.rb:58:in `render_partial'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:287:in `render'
D:/Java/sonar-1.3/war/sonar-web/app/views/project/dashboard.rhtml:19:in `_run_rhtml_47app47views47project47dashboard46rhtml'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in `compile_and_render_template'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:301:in `render_template'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:260:in `render_file'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:812:in `render_file'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:717:in `render'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/layout.rb:247:in `render_with_a_layout'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in `render_with_benchmark'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in `render_with_benchmark'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:1102:in `perform_action'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:696:in `call_filters'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in `perform_action_with_filters'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_with_benchmark'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_with_benchmark'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:in `perform_action_with_rescue'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in `process'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:in `process_with_filters'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:in `process_with_session_management_support'
D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:in `process'
:1

Request

Parameters: {"id"=>"1"}

<A onclick="document.getElementById('session_dump').style.display='block'; return false;" href="http://localhost:9000/project/dashboard/1#">Show session dump

Response

Headers: {"Cache-Control"=>"no-cache", "cookie"=>[]}
 

 

 

 

 

Any ideas?

Few other thoughts (but not issues, just ideas!);

  • Each rule comes either from Checkstyle or PMD - would it be possible to indicate where those rules came from, when selecting or viewing them?
  • Any chance of being able to "copy to new profile" from existing profile button to save having to "export" and then "import"?
  • We have a "Filter inactive rules" selection - could we have a "Filter active rules" one, too?

Cheers,
Col

Reply | Threaded
Open this post in threaded view
|

Re: Coding Rules issues

Simon
Administrator
Hi Colin,

There were too many errors in your email for a monday ;o)

To sum up all the tickets on the coding rules page :
-  intermittent errors  : we try to reproduce/fix it for release 1.4
[http://jira.codehaus.org/browse/SONAR-287]
- copy profiles from the interface : release 1.4
[http://jira.codehaus.org/browse/SONAR-289]
- display the plugin names : not planned yet
[http://jira.codehaus.org/browse/SONAR-288]
- active rules filer : not planned [http://jira.codehaus.org/browse/SONAR-290]

These are great ideas, but I'm afraid that you have to vote for them
into JIRA to increase their priority. We have so many features to
develop...

Thanks for your feedback,
Simon

On Mon, Jun 23, 2008 at 12:33 PM, Colin Rogers <[hidden email]> wrote:

> Sonar Dudes,
>
> I've encountered a number of issues with Sonar, relating to Coding Rules;
>
> Trying to turn on rules is a random thing. Sometimes I try turning on a rule
> the "spinny thing" comes up and completes, most of the time. Sometime I have
> to re-try up to 5 times (after reloading the page each time) and sometimes I
> can never turn on certain rules no matter how hard I try!
> Having managed to turn on 298 rules, when I try and generate the Checkstyle
> XML I intermittently get the following error;
>
> XML Parsing Error: not well-formed
> Location: http://it-pc2:9000/rules_configuration/export/checkstyle.xml
> Line Number 29, Column 8:      <%= link_to "go back projects homepage",
> :controller=>"project" %>
> -------^
>
> Now, I get the following error intermittently when I click on any of the
> types of rules when defining them and all the time when i try and delete a
> profile, and all the time when I try and upload a new profile from XML
> (although the process works, I just get this error);
>
> We're sorry, but something went wrong.
>
> We've been notified about this issue and we'll take a look at it shortly.
>
> <%= link_to "go back projects homepage", :controller=>"project" %>
>
> Having left the coding rules screens, only to return I'd get the "something
> went wrong" message and couldn't get back into them. So having run out of
> ideas, I killed that session and restarted the browser, only to receive this
> error consistantly, whenever I click on coding rules;
>
> ActiveRecord::StatementInvalid in Rules_profile#index
>
> Showing app/views/rules_profile/index.rhtml where line # raised:
>
> ActiveRecord::ActiveRecordError: Index: 0, Size: 0: SELECT active_rules.id
> AS t0_r0, active_rules.profile_id AS t0_r1, active_rules.rule_id AS t0_r2,
> active_rules.failure_level AS t0_r3, rules.id AS t1_r0, rules.name AS t1_r1,
> rules.rules_category_id AS t1_r2, rules.plugin_rule_key AS t1_r3,
> rules.plugin_config_key AS t1_r4, rules.plugin_name AS t1_r5,
> rules.description AS t1_r6, rules.is_ext AS t1_r7 FROM active_rules  LEFT
> OUTER JOIN rules ON rules.id = active_rules.rule_id WHERE
> (active_rules.profile_id = 5)
>
> Extracted source (around line #):
>
> RAILS_ROOT: D:/Java/sonar-1.3/war/sonar-web/config/..
>
> Application Trace | Framework Trace | Full Trace
>
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/connection_adapters/abstract_adapter.rb:128:in
> `log'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.8/lib/active_record/connection_adapters/jdbc_adapter.rb:520:in
> `execute'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1189:in
> `select_all_rows'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1044:in
> `find_with_associations'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1042:in
> `catch'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1042:in
> `find_with_associations'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:995:in
> `find_every'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:418:in
> `find'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:91:in
> `find'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/association_collection.rb:163:in
> `find_target'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:123:in
> `load_target'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/association_proxy.rb:122:in
> `method_missing'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:98:in
> `method_missing'
> D:/Java/sonar-1.3/war/sonar-web/app/models/rules_profile.rb:41:in
> `active_rules_by_category_and_level'
> D:/Java/sonar-1.3/war/sonar-web/app/views/rules_profile/index.rhtml:53:in
> `_run_rhtml_47app47views47rules_profile47index46rhtml'
> D:/Java/sonar-1.3/war/sonar-web/app/views/rules_profile/index.rhtml:37:in
> `each'
> D:/Java/sonar-1.3/war/sonar-web/app/views/rules_profile/index.rhtml:37:in
> `_run_rhtml_47app47views47rules_profile47index46rhtml'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in
> `compile_and_render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:301:in
> `render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:260:in
> `render_file'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:812:in
> `render_file'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:717:in
> `render'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/layout.rb:247:in
> `render_with_a_layout'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in
> `render_with_benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in
> `render_with_benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:1102:in
> `perform_action'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:696:in
> `call_filters'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in
> `perform_action_with_filters'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in
> `perform_action_with_benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in
> `perform_action_with_benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:in
> `perform_action_with_rescue'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in
> `process'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:in
> `process_with_filters'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:in
> `process_with_session_management_support'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:in
> `process'
> :1
>
> file:/D:/Java/sonar-1.3/war/sonar-web/WEB-INF/lib/jruby-complete-1.1.1.jar!/benchmark.rb:293:in
> `measure'
> file:/D:/Java/sonar-1.3/war/sonar-web/WEB-INF/lib/jruby-complete-1.1.1.jar!/benchmark.rb:293:in
> `measure'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/rails-1.2.6/lib/dispatcher.rb:41:in
> `dispatch'
>
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/connection_adapters/abstract_adapter.rb:128:in
> `log'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.8/lib/active_record/connection_adapters/jdbc_adapter.rb:520:in
> `execute'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1189:in
> `select_all_rows'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1044:in
> `find_with_associations'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1042:in
> `catch'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1042:in
> `find_with_associations'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:995:in
> `find_every'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:418:in
> `find'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:91:in
> `find'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/association_collection.rb:163:in
> `find_target'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:123:in
> `load_target'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/association_proxy.rb:122:in
> `method_missing'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:98:in
> `method_missing'
> D:/Java/sonar-1.3/war/sonar-web/app/models/rules_profile.rb:41:in
> `active_rules_by_category_and_level'
> D:/Java/sonar-1.3/war/sonar-web/app/views/rules_profile/index.rhtml:53:in
> `_run_rhtml_47app47views47rules_profile47index46rhtml'
> D:/Java/sonar-1.3/war/sonar-web/app/views/rules_profile/index.rhtml:37:in
> `each'
> D:/Java/sonar-1.3/war/sonar-web/app/views/rules_profile/index.rhtml:37:in
> `_run_rhtml_47app47views47rules_profile47index46rhtml'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in
> `compile_and_render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:301:in
> `render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:260:in
> `render_file'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:812:in
> `render_file'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:717:in
> `render'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/layout.rb:247:in
> `render_with_a_layout'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in
> `render_with_benchmark'
> file:/D:/Java/sonar-1.3/war/sonar-web/WEB-INF/lib/jruby-complete-1.1.1.jar!/benchmark.rb:293:in
> `measure'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in
> `render_with_benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:1102:in
> `perform_action'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:696:in
> `call_filters'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in
> `perform_action_with_filters'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in
> `perform_action_with_benchmark'
> file:/D:/Java/sonar-1.3/war/sonar-web/WEB-INF/lib/jruby-complete-1.1.1.jar!/benchmark.rb:293:in
> `measure'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in
> `perform_action_with_benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:in
> `perform_action_with_rescue'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in
> `process'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:in
> `process_with_filters'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:in
> `process_with_session_management_support'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:in
> `process'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/rails-1.2.6/lib/dispatcher.rb:41:in
> `dispatch'
> :1
>
> Request
>
> Parameters: None
>
> Show session dump
>
> ---
> flash: !map:ActionController::Flash::FlashHash {}
>
> Response
>
> Headers: {"Cache-Control"=>"no-cache", "cookie"=>[]}
>
>
>
>
>
> I also get this error now whenever I click on any project;
>
> ActiveRecord::StatementInvalid in Project#dashboard
>
> Showing app/views/project/_snapshot_measures.rhtml where line # raised:
>
> ActiveRecord::ActiveRecordError: Index: 0, Size: 0: SELECT
> project_measures.id AS t0_r0, project_measures.value AS t0_r1,
> project_measures.metric_id AS t0_r2, project_measures.snapshot_id AS t0_r3,
> project_measures.rule_id AS t0_r4, project_measures.rules_category_id AS
> t0_r5, project_measures.text_value AS t0_r6, project_measures.tendency AS
> t0_r7, rules.id AS t1_r0, rules.name AS t1_r1, rules.rules_category_id AS
> t1_r2, rules.plugin_rule_key AS t1_r3, rules.plugin_config_key AS t1_r4,
> rules.plugin_name AS t1_r5, rules.description AS t1_r6, rules.is_ext AS
> t1_r7, rules_categories.id AS t2_r0, rules_categories.name AS t2_r1,
> rules_categories.description AS t2_r2 FROM project_measures  LEFT OUTER JOIN
> rules ON rules.id = project_measures.rule_id  LEFT OUTER JOIN
> rules_categories ON rules_categories.id = project_measures.rules_category_id
> WHERE (project_measures.snapshot_id = 1719)
>
> Extracted source (around line #):
>
> Trace of template inclusion: /app/views/project/_dashboard_snapshot.rhtml,
> /app/views/project/dashboard.rhtml
>
> RAILS_ROOT: D:/Java/sonar-1.3/war/sonar-web/config/..
>
> Application Trace | Framework Trace | Full Trace
>
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/connection_adapters/abstract_adapter.rb:128:in
> `log'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.8/lib/active_record/connection_adapters/jdbc_adapter.rb:520:in
> `execute'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1189:in
> `select_all_rows'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1044:in
> `find_with_associations'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1042:in
> `catch'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1042:in
> `find_with_associations'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:995:in
> `find_every'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:418:in
> `find'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:91:in
> `find'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/association_collection.rb:163:in
> `find_target'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:123:in
> `load_target'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/association_proxy.rb:122:in
> `method_missing'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:98:in
> `method_missing'
> D:/Java/sonar-1.3/war/sonar-web/app/models/snapshot.rb:151:in
> `measures_hash'
> D:/Java/sonar-1.3/war/sonar-web/app/models/snapshot.rb:87:in `measure'
> D:/Java/sonar-1.3/war/sonar-web/app/helpers/application_helper.rb:116:in
> `display_measure'
> D:/Java/sonar-1.3/war/sonar-web/app/views/project/_snapshot_measures.rhtml:8:in
> `_run_rhtml_47app47views47project47_snapshot_measures46rhtml'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in
> `compile_and_render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:301:in
> `render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:260:in
> `render_file'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:275:in
> `render'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/partials.rb:59:in
> `render_partial'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:30:in
> `benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/partials.rb:58:in
> `render_partial'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:287:in
> `render'
> D:/Java/sonar-1.3/war/sonar-web/app/views/project/_dashboard_snapshot.rhtml:16:in
> `_run_rhtml_47app47views47project47_dashboard_snapshot46rhtml'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in
> `compile_and_render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:301:in
> `render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:260:in
> `render_file'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:275:in
> `render'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/partials.rb:59:in
> `render_partial'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:30:in
> `benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/partials.rb:58:in
> `render_partial'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:287:in
> `render'
> D:/Java/sonar-1.3/war/sonar-web/app/views/project/dashboard.rhtml:19:in
> `_run_rhtml_47app47views47project47dashboard46rhtml'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in
> `compile_and_render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:301:in
> `render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:260:in
> `render_file'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:812:in
> `render_file'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:717:in
> `render'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/layout.rb:247:in
> `render_with_a_layout'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in
> `render_with_benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in
> `render_with_benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:1102:in
> `perform_action'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:696:in
> `call_filters'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in
> `perform_action_with_filters'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in
> `perform_action_with_benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in
> `perform_action_with_benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:in
> `perform_action_with_rescue'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in
> `process'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:in
> `process_with_filters'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:in
> `process_with_session_management_support'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:in
> `process'
> :1
>
> file:/D:/Java/sonar-1.3/war/sonar-web/WEB-INF/lib/jruby-complete-1.1.1.jar!/benchmark.rb:293:in
> `measure'
> file:/D:/Java/sonar-1.3/war/sonar-web/WEB-INF/lib/jruby-complete-1.1.1.jar!/benchmark.rb:293:in
> `measure'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/rails-1.2.6/lib/dispatcher.rb:41:in
> `dispatch'
>
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/connection_adapters/abstract_adapter.rb:128:in
> `log'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.8/lib/active_record/connection_adapters/jdbc_adapter.rb:520:in
> `execute'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1189:in
> `select_all_rows'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1044:in
> `find_with_associations'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1042:in
> `catch'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations.rb:1042:in
> `find_with_associations'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:995:in
> `find_every'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:418:in
> `find'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:91:in
> `find'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/association_collection.rb:163:in
> `find_target'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:123:in
> `load_target'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/association_proxy.rb:122:in
> `method_missing'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/associations/has_many_association.rb:98:in
> `method_missing'
> D:/Java/sonar-1.3/war/sonar-web/app/models/snapshot.rb:151:in
> `measures_hash'
> D:/Java/sonar-1.3/war/sonar-web/app/models/snapshot.rb:87:in `measure'
> D:/Java/sonar-1.3/war/sonar-web/app/helpers/application_helper.rb:116:in
> `display_measure'
> D:/Java/sonar-1.3/war/sonar-web/app/views/project/_snapshot_measures.rhtml:8:in
> `_run_rhtml_47app47views47project47_snapshot_measures46rhtml'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in
> `compile_and_render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:301:in
> `render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:260:in
> `render_file'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:275:in
> `render'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/partials.rb:59:in
> `render_partial'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:30:in
> `benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/partials.rb:58:in
> `render_partial'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:287:in
> `render'
> D:/Java/sonar-1.3/war/sonar-web/app/views/project/_dashboard_snapshot.rhtml:16:in
> `_run_rhtml_47app47views47project47_dashboard_snapshot46rhtml'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in
> `compile_and_render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:301:in
> `render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:260:in
> `render_file'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:275:in
> `render'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/partials.rb:59:in
> `render_partial'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:30:in
> `benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/partials.rb:58:in
> `render_partial'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:287:in
> `render'
> D:/Java/sonar-1.3/war/sonar-web/app/views/project/dashboard.rhtml:19:in
> `_run_rhtml_47app47views47project47dashboard46rhtml'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in
> `compile_and_render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:301:in
> `render_template'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_view/base.rb:260:in
> `render_file'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:812:in
> `render_file'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:717:in
> `render'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/layout.rb:247:in
> `render_with_a_layout'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in
> `render_with_benchmark'
> file:/D:/Java/sonar-1.3/war/sonar-web/WEB-INF/lib/jruby-complete-1.1.1.jar!/benchmark.rb:293:in
> `measure'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in
> `render_with_benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:1102:in
> `perform_action'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:696:in
> `call_filters'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in
> `perform_action_with_filters'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in
> `perform_action_with_benchmark'
> file:/D:/Java/sonar-1.3/war/sonar-web/WEB-INF/lib/jruby-complete-1.1.1.jar!/benchmark.rb:293:in
> `measure'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in
> `perform_action_with_benchmark'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:in
> `perform_action_with_rescue'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in
> `process'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:in
> `process_with_filters'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:in
> `process_with_session_management_support'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:in
> `process'
> D:/Java/sonar-1.3/war/sonar-web/WEB-INF/gems/gems/rails-1.2.6/lib/dispatcher.rb:41:in
> `dispatch'
> :1
>
> Request
>
> Parameters: {"id"=>"1"}
>
> Show session dump
>
> ---
> flash: !map:ActionController::Flash::FlashHash {}
>
> Response
>
> Headers: {"Cache-Control"=>"no-cache", "cookie"=>[]}
>
>
>
>
>
>
>
>
>
>
> Any ideas?
>
> Few other thoughts (but not issues, just ideas!);
>
> Each rule comes either from Checkstyle or PMD - would it be possible to
> indicate where those rules came from, when selecting or viewing them?
> Any chance of being able to "copy to new profile" from existing profile
> button to save having to "export" and then "import"?
> We have a "Filter inactive rules" selection - could we have a "Filter active
> rules" one, too?
>
> Cheers,
> Col



--
Simon Brandhof, +41 78 653 09 49
Hortis, Consulting & Innovation team
Sonar , Open Source Quality Dashboard for Java projects
http://sonar.hortis.ch

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Coding Rules issues

Simon Brandhof-2
In reply to this post by Colin Rogers-5
Hi Colin, which database do you use when you get such errors ?
Reply | Threaded
Open this post in threaded view
|

RE: Coding Rules issues

Colin Rogers-5
I was using the Derby DB.

-----Original Message-----
From: Simon Brandhof [mailto:[hidden email]]
Sent: 01 July 2008 15:18
To: [hidden email]
Subject: Re: [sonar-user] Coding Rules issues



Hi Colin, which database do you use when you get such errors ?
--
View this message in context:
http://www.nabble.com/Coding-Rules-issues-tp18066481p18215727.html
Sent from the Sonar mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





Please visit our new website at: www.groundsure.com

The information transmitted is intended only for the person, or persons, or entity to which it is addressed and may contain confidential and/or privileged material.  Any review, dissemination, retransmission or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited.  If you received this communication in error, please contact the sender and delete the material from the computer.

All reasonable precautions have been taken to ensure email transmissions are secure or error or virus free; but this cannot be guaranteed and we will not accept responsibility for loss or damage arising from the use of this email or any attachment.

GroundSure Limited is authorised and regulated by the Financial Services Authority, Firm Reference Number: 315420.

Emap International Limited, Company number: 435820 (England), Registered Office: Greater London House, Hampstead Road, London NW1 7EJ.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Coding Rules issues

Simon
Administrator
Just use a "real" database and it will resolve your problems ;o)
To be serious, we do not reproduce the issue with mysql. We recommend
to use derby only for tests and demos. And I'm not sure that
activating 298 rules is a simple test !
But this is an easy answer. I don't understand why derby is so
unstable (if the problem really comes from derby...) It's maybe badly
configured. We will check out later.

Simon

On Tue, Jul 1, 2008 at 4:21 PM, Colin Rogers <[hidden email]> wrote:

> I was using the Derby DB.
>
> -----Original Message-----
> From: Simon Brandhof [mailto:[hidden email]]
> Sent: 01 July 2008 15:18
> To: [hidden email]
> Subject: Re: [sonar-user] Coding Rules issues
>
>
>
> Hi Colin, which database do you use when you get such errors ?
> --
> View this message in context:
> http://www.nabble.com/Coding-Rules-issues-tp18066481p18215727.html
> Sent from the Sonar mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>
>
>
> Please visit our new website at: www.groundsure.com
>
> The information transmitted is intended only for the person, or persons, or entity to which it is addressed and may contain confidential and/or privileged material.  Any review, dissemination, retransmission or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited.  If you received this communication in error, please contact the sender and delete the material from the computer.
>
> All reasonable precautions have been taken to ensure email transmissions are secure or error or virus free; but this cannot be guaranteed and we will not accept responsibility for loss or damage arising from the use of this email or any attachment.
>
> GroundSure Limited is authorised and regulated by the Financial Services Authority, Firm Reference Number: 315420.
>
> Emap International Limited, Company number: 435820 (England), Registered Office: Greater London House, Hampstead Road, London NW1 7EJ.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
Simon Brandhof, +41 78 653 09 49
Hortis, Consulting & Innovation team
Sonar , Open Source Quality Dashboard for Java projects
http://sonar.codehaus.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

RE: Coding Rules issues

Colin Rogers-5
Simon,

No worries! :D

I'm currently using MySQL with no issues - but I've not tried to
recreate this failure on that!

Cheers,
Col.

-----Original Message-----
From: Simon Brandhof [mailto:[hidden email]]
Sent: 01 July 2008 15:38
To: [hidden email]
Subject: Re: [sonar-user] Coding Rules issues


Just use a "real" database and it will resolve your problems ;o) To be
serious, we do not reproduce the issue with mysql. We recommend to use
derby only for tests and demos. And I'm not sure that activating 298
rules is a simple test ! But this is an easy answer. I don't understand
why derby is so unstable (if the problem really comes from derby...)
It's maybe badly configured. We will check out later.

Simon

On Tue, Jul 1, 2008 at 4:21 PM, Colin Rogers <[hidden email]>
wrote:

> I was using the Derby DB.
>
> -----Original Message-----
> From: Simon Brandhof [mailto:[hidden email]]
> Sent: 01 July 2008 15:18
> To: [hidden email]
> Subject: Re: [sonar-user] Coding Rules issues
>
>
>
> Hi Colin, which database do you use when you get such errors ?
> --
> View this message in context:
> http://www.nabble.com/Coding-Rules-issues-tp18066481p18215727.html
> Sent from the Sonar mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>
>
>
> Please visit our new website at: www.groundsure.com
>
> The information transmitted is intended only for the person, or
> persons, or entity to which it is addressed and may contain
> confidential and/or privileged material.  Any review, dissemination,
> retransmission or other use of, or taking of any action in reliance
> upon, this information by persons or entities other than the intended
> recipients is prohibited.  If you received this communication in
> error, please contact the sender and delete the material from the
> computer.
>
> All reasonable precautions have been taken to ensure email
> transmissions are secure or error or virus free; but this cannot be
> guaranteed and we will not accept responsibility for loss or damage
> arising from the use of this email or any attachment.
>
> GroundSure Limited is authorised and regulated by the Financial
> Services Authority, Firm Reference Number: 315420.
>
> Emap International Limited, Company number: 435820 (England),
> Registered Office: Greater London House, Hampstead Road, London NW1
> 7EJ.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
Simon Brandhof, +41 78 653 09 49
Hortis, Consulting & Innovation team
Sonar , Open Source Quality Dashboard for Java projects
http://sonar.codehaus.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





Please visit our new website at: www.groundsure.com

The information transmitted is intended only for the person, or persons, or entity to which it is addressed and may contain confidential and/or privileged material.  Any review, dissemination, retransmission or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited.  If you received this communication in error, please contact the sender and delete the material from the computer.

All reasonable precautions have been taken to ensure email transmissions are secure or error or virus free; but this cannot be guaranteed and we will not accept responsibility for loss or damage arising from the use of this email or any attachment.

GroundSure Limited is authorised and regulated by the Financial Services Authority, Firm Reference Number: 315420.

Emap International Limited, Company number: 435820 (England), Registered Office: Greater London House, Hampstead Road, London NW1 7EJ.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Integration tests

Colin Rogers-5
Sonar guys,

Just wondering - as yet the integration tests aren't run by Sonar and
obviously nor are they used for coverage.

Are there any plans to change this - or indeed have I miss configured
something that they should run and aren't?

Cheers,
Col.

-----Original Message-----
From: Colin Rogers [mailto:[hidden email]]
Sent: 01 July 2008 15:40
To: [hidden email]
Subject: RE: [sonar-user] Coding Rules issues


Simon,

No worries! :D

I'm currently using MySQL with no issues - but I've not tried to
recreate this failure on that!

Cheers,
Col.

-----Original Message-----
From: Simon Brandhof [mailto:[hidden email]]
Sent: 01 July 2008 15:38
To: [hidden email]
Subject: Re: [sonar-user] Coding Rules issues


Just use a "real" database and it will resolve your problems ;o) To be
serious, we do not reproduce the issue with mysql. We recommend to use
derby only for tests and demos. And I'm not sure that activating 298
rules is a simple test ! But this is an easy answer. I don't understand
why derby is so unstable (if the problem really comes from derby...)
It's maybe badly configured. We will check out later.

Simon

On Tue, Jul 1, 2008 at 4:21 PM, Colin Rogers <[hidden email]>
wrote:

> I was using the Derby DB.
>
> -----Original Message-----
> From: Simon Brandhof [mailto:[hidden email]]
> Sent: 01 July 2008 15:18
> To: [hidden email]
> Subject: Re: [sonar-user] Coding Rules issues
>
>
>
> Hi Colin, which database do you use when you get such errors ?
> --
> View this message in context:
> http://www.nabble.com/Coding-Rules-issues-tp18066481p18215727.html
> Sent from the Sonar mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>
>
>
> Please visit our new website at: www.groundsure.com
>
> The information transmitted is intended only for the person, or
> persons, or entity to which it is addressed and may contain
> confidential and/or privileged material.  Any review, dissemination,
> retransmission or other use of, or taking of any action in reliance
> upon, this information by persons or entities other than the intended
> recipients is prohibited.  If you received this communication in
> error, please contact the sender and delete the material from the
> computer.
>
> All reasonable precautions have been taken to ensure email
> transmissions are secure or error or virus free; but this cannot be
> guaranteed and we will not accept responsibility for loss or damage
> arising from the use of this email or any attachment.
>
> GroundSure Limited is authorised and regulated by the Financial
> Services Authority, Firm Reference Number: 315420.
>
> Emap International Limited, Company number: 435820 (England),
> Registered Office: Greater London House, Hampstead Road, London NW1
> 7EJ.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
Simon Brandhof, +41 78 653 09 49
Hortis, Consulting & Innovation team
Sonar , Open Source Quality Dashboard for Java projects
http://sonar.codehaus.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





Please visit our new website at: www.groundsure.com

The information transmitted is intended only for the person, or persons,
or entity to which it is addressed and may contain confidential and/or
privileged material.  Any review, dissemination, retransmission or other
use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipients is prohibited.
If you received this communication in error, please contact the sender
and delete the material from the computer.

All reasonable precautions have been taken to ensure email transmissions
are secure or error or virus free; but this cannot be guaranteed and we
will not accept responsibility for loss or damage arising from the use
of this email or any attachment.

GroundSure Limited is authorised and regulated by the Financial Services
Authority, Firm Reference Number: 315420.

Emap International Limited, Company number: 435820 (England), Registered
Office: Greater London House, Hampstead Road, London NW1 7EJ.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





Please visit our new website at: www.groundsure.com

The information transmitted is intended only for the person, or persons, or entity to which it is addressed and may contain confidential and/or privileged material.  Any review, dissemination, retransmission or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited.  If you received this communication in error, please contact the sender and delete the material from the computer.

All reasonable precautions have been taken to ensure email transmissions are secure or error or virus free; but this cannot be guaranteed and we will not accept responsibility for loss or damage arising from the use of this email or any attachment.

GroundSure Limited is authorised and regulated by the Financial Services Authority, Firm Reference Number: 315420.

Emap International Limited, Company number: 435820 (England), Registered Office: Greater London House, Hampstead Road, London NW1 7EJ.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Integration tests

Simon
Administrator
Hi Colin,

Sonar executes the maven test phase then parses XML files from
target/surefire-reports. That's why it does not include results from
integration-test phase.

But I don't understand the relation with code coverage. My point of
view is that coverage aims to highlight code without unit tests.
Integration and functional tests are not directly related to sources.

Please have your say. How would you see integration tests into sonar ?

Simon

On Wed, Jul 2, 2008 at 10:24 AM, Colin Rogers <[hidden email]> wrote:

>
> Sonar guys,
>
> Just wondering - as yet the integration tests aren't run by Sonar and
> obviously nor are they used for coverage.
>
> Are there any plans to change this - or indeed have I miss configured
> something that they should run and aren't?
>
> Cheers,
> Col.
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

RE: Integration tests

Colin Rogers-5
From my own simplified point of view, Maven works as such;

Builds code
Runs tests that work against standalone code
Builds war/product
Runs tests that require a built war

The kind of tests I run in "integration" are Selenium tests. These
obviously require a built and running server, but otherwise are
standalone Junit tests (I don't configure the startup of Selenium in
Maven config, but in statically initialised code. This way I can
develop, run server in debug in eclipse and then run the tests
individually or as a group from within debug in eclipse... Gives a lot
of freedom!)

Personally, I'd like to be able to see;

Code not run by unit tests.
Code not run by integration tests.
Code not run by either.

The latter result being the most important. After ALL my testing have
been done, what am I missing?

"target/surefire-reports"

As I understand it, because my integration tests are just Junit tests
run in a different phase, they still produce surefire-reports just as
normal.

Could Sonar be changed to pick up and parse these tests, too?

I can understand that coverage probably doesn't work with a built
jar...? But at the very least, could the results of the integration test
(or to word it nicely, the result of the unit tests run within the
integration test phase) be collated and shown in Sonar?

Cheers,
Col.

-----Original Message-----
From: Simon Brandhof [mailto:[hidden email]]
Sent: 03 July 2008 11:15
To: [hidden email]
Subject: Re: [sonar-user] Integration tests


Hi Colin,

Sonar executes the maven test phase then parses XML files from
target/surefire-reports. That's why it does not include results from
integration-test phase.

But I don't understand the relation with code coverage. My point of view
is that coverage aims to highlight code without unit tests. Integration
and functional tests are not directly related to sources.

Please have your say. How would you see integration tests into sonar ?

Simon

On Wed, Jul 2, 2008 at 10:24 AM, Colin Rogers <[hidden email]>
wrote:

>
> Sonar guys,
>
> Just wondering - as yet the integration tests aren't run by Sonar and
> obviously nor are they used for coverage.
>
> Are there any plans to change this - or indeed have I miss configured
> something that they should run and aren't?
>
> Cheers,
> Col.
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





Please visit our new website at: www.groundsure.com

The information transmitted is intended only for the person, or persons, or entity to which it is addressed and may contain confidential and/or privileged material.  Any review, dissemination, retransmission or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited.  If you received this communication in error, please contact the sender and delete the material from the computer.

All reasonable precautions have been taken to ensure email transmissions are secure or error or virus free; but this cannot be guaranteed and we will not accept responsibility for loss or damage arising from the use of this email or any attachment.

GroundSure Limited is authorised and regulated by the Financial Services Authority, Firm Reference Number: 315420.

Emap International Limited, Company number: 435820 (England), Registered Office: Greater London House, Hampstead Road, London NW1 7EJ.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

RE: Integration tests

Colin Rogers-5
Simon,

Do you not have an opinion on this? :)

Cheers,
Col.

-----Original Message-----
From: Colin Rogers [mailto:[hidden email]]
Sent: 03 July 2008 11:27
To: [hidden email]
Subject: RE: [sonar-user] Integration tests


From my own simplified point of view, Maven works as such;

Builds code
Runs tests that work against standalone code
Builds war/product
Runs tests that require a built war

The kind of tests I run in "integration" are Selenium tests. These
obviously require a built and running server, but otherwise are
standalone Junit tests (I don't configure the startup of Selenium in
Maven config, but in statically initialised code. This way I can
develop, run server in debug in eclipse and then run the tests
individually or as a group from within debug in eclipse... Gives a lot
of freedom!)

Personally, I'd like to be able to see;

Code not run by unit tests.
Code not run by integration tests.
Code not run by either.

The latter result being the most important. After ALL my testing have
been done, what am I missing?

"target/surefire-reports"

As I understand it, because my integration tests are just Junit tests
run in a different phase, they still produce surefire-reports just as
normal.

Could Sonar be changed to pick up and parse these tests, too?

I can understand that coverage probably doesn't work with a built
jar...? But at the very least, could the results of the integration test
(or to word it nicely, the result of the unit tests run within the
integration test phase) be collated and shown in Sonar?

Cheers,
Col.

-----Original Message-----
From: Simon Brandhof [mailto:[hidden email]]
Sent: 03 July 2008 11:15
To: [hidden email]
Subject: Re: [sonar-user] Integration tests


Hi Colin,

Sonar executes the maven test phase then parses XML files from
target/surefire-reports. That's why it does not include results from
integration-test phase.

But I don't understand the relation with code coverage. My point of view
is that coverage aims to highlight code without unit tests. Integration
and functional tests are not directly related to sources.

Please have your say. How would you see integration tests into sonar ?

Simon

On Wed, Jul 2, 2008 at 10:24 AM, Colin Rogers <[hidden email]>
wrote:

>
> Sonar guys,
>
> Just wondering - as yet the integration tests aren't run by Sonar and
> obviously nor are they used for coverage.
>
> Are there any plans to change this - or indeed have I miss configured
> something that they should run and aren't?
>
> Cheers,
> Col.
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





Please visit our new website at: www.groundsure.com

The information transmitted is intended only for the person, or persons,
or entity to which it is addressed and may contain confidential and/or
privileged material.  Any review, dissemination, retransmission or other
use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipients is prohibited.
If you received this communication in error, please contact the sender
and delete the material from the computer.

All reasonable precautions have been taken to ensure email transmissions
are secure or error or virus free; but this cannot be guaranteed and we
will not accept responsibility for loss or damage arising from the use
of this email or any attachment.

GroundSure Limited is authorised and regulated by the Financial Services
Authority, Firm Reference Number: 315420.

Emap International Limited, Company number: 435820 (England), Registered
Office: Greater London House, Hampstead Road, London NW1 7EJ.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





Please visit our new website at: www.groundsure.com

The information transmitted is intended only for the person, or persons, or entity to which it is addressed and may contain confidential and/or privileged material.  Any review, dissemination, retransmission or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited.  If you received this communication in error, please contact the sender and delete the material from the computer.

All reasonable precautions have been taken to ensure email transmissions are secure or error or virus free; but this cannot be guaranteed and we will not accept responsibility for loss or damage arising from the use of this email or any attachment.

GroundSure Limited is authorised and regulated by the Financial Services Authority, Firm Reference Number: 315420.

Emap International Limited, Company number: 435820 (England), Registered Office: Greater London House, Hampstead Road, London NW1 7EJ.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Integration tests

Simon
Administrator
In reply to this post by Colin Rogers-5
Hi Colin,

Sorry for the late answer.
We agree that code coverage does not apply to integration tests.
So the next step is to collect these measures : number of itests,
success ratio and execution failures (with message). The problem is
that all XML surefire reports are generated into the same directory
target/surefire-reports. It's not possible to distinguish between unit
and integration tests.
I know that there's a maven plugin that helps executing integration
tests. It's called shitty
(http://mojo.codehaus.org/shitty-maven-plugin). Maybe it could resolve
this problem. I will have a try and keep you in contact.

Simon

PS : new JIRA ticket at http://jira.codehaus.org/browse/SONAR-316

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

RE: Integration tests

Conor MacMahon
Dear Simon,
          I too would like the integration tests to be called and
considered in sonar, if possible. I realise you have an issue with how
to interpret what is an integration test over a unit test, and where to
find the results of integration tests over unit tests.
          Maven 2 biases placing all tests under
${basedir}/src/test/java, while the grails framework places unit tests
under ${basedir}/test/unit, and integration tests under
${basedir}/test/integration. Between the shitty maven 2 plugin you
mentioned below, and maybe taking something from grails, you might be
able to perform and consider both unit and integration tests in sonar?
          I really do believe this would be a great improvement to your
tool, as it adds so much more reporting value to the testing process.
May I take this opportunity to thank you all at sonar for this great
tool, it has added a lot of benefit to our development process.
Best regards,
Conor

-----Original Message-----
From: Simon Brandhof [mailto:[hidden email]]
Sent: Thursday, 10 July 2008 6:21 PM
To: [hidden email]
Subject: Re: [sonar-user] Integration tests

Hi Colin,

Sorry for the late answer.
We agree that code coverage does not apply to integration tests.
So the next step is to collect these measures : number of itests,
success ratio and execution failures (with message). The problem is that
all XML surefire reports are generated into the same directory
target/surefire-reports. It's not possible to distinguish between unit
and integration tests.
I know that there's a maven plugin that helps executing integration
tests. It's called shitty
(http://mojo.codehaus.org/shitty-maven-plugin). Maybe it could resolve
this problem. I will have a try and keep you in contact.

Simon

PS : new JIRA ticket at http://jira.codehaus.org/browse/SONAR-316

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please,
as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Can anyone get 1.4RC1 to work on windows xp?

Conor MacMahon
Hi there,
        I'd like to try out sonar 1.4RC1, as I have a project that
fails, due to the javaNCSS error
(http://jira.codehaus.org/browse/MJNCSS-16). However, I cannot get it to
work, whether with the embedded db, or my usual oracle db. Here's the
error below:

C:\apps\sonar\sonar-1.4RC1\bin>startsonar
wrapper  | --> Wrapper Started as Console
wrapper  | Java Service Wrapper Community Edition 3.3.0
wrapper  |   Copyright (C) 1999-2008 Tanuki Software, Inc.  All Rights
Reserved.
wrapper  |     http://wrapper.tanukisoftware.org
wrapper  |
wrapper  | Launching a JVM...
jvm 1    | WrapperManager: Initializing...
jvm 1    | 2008-07-21 16:12:50.575::INFO:  Logging to STDERR via
org.mortbay.log.StdErrLog
jvm 1    | WrapperSimpleApp:
jvm 1    | WrapperSimpleApp: Encountered an error running main:
jvm 1    | WrapperSimpleApp: java.lang.NullPointerException
jvm 1    | WrapperSimpleApp:    at
org.sonar.application.JettyEmbedder.getPluginsClasspath(JettyEmbedder.ja
va:115)
jvm 1    | WrapperSimpleApp:    at
org.sonar.application.JettyEmbedder.configureProgrammatically(JettyEmbed
der.java:85)
jvm 1    | WrapperSimpleApp:    at
org.sonar.application.JettyEmbedder.<init>(JettyEmbedder.java:51)
jvm 1    | WrapperSimpleApp:    at
org.sonar.application.StartServer.main(StartServer.java:36)
jvm 1    | WrapperSimpleApp:    at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    | WrapperSimpleApp:    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
jvm 1    | WrapperSimpleApp:    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
jvm 1    | WrapperSimpleApp:    at
java.lang.reflect.Method.invoke(Method.java:585)
jvm 1    | WrapperSimpleApp:    at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:23
7)
jvm 1    | WrapperSimpleApp:    at java.lang.Thread.run(Thread.java:595)
jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook executing
jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook complete
wrapper  | <-- Wrapper Stopped
Press any key to continue . . .
C:\apps\sonar\sonar-1.4RC1\bin>

I'm using windows xp, service pack 2. Anyone know what is the issue, and
maybe have a solution/work-around? It isn't very urgent, just wondering
if someone has encountered it before.
Thanks,
Conor
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please,
as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Can anyone get 1.4RC1 to work on windows xp?

Simon
Administrator
Hi Conor,

It looks like the file conf/wrapper.conf is not valid. Did you keep
the same one from 1.3 ?

Simon

On Mon, Jul 21, 2008 at 8:17 AM, Conor MacMahon
<[hidden email]> wrote:

>
> Hi there,
>        I'd like to try out sonar 1.4RC1, as I have a project that
> fails, due to the javaNCSS error
> (http://jira.codehaus.org/browse/MJNCSS-16). However, I cannot get it to
> work, whether with the embedded db, or my usual oracle db. Here's the
> error below:
>
> C:\apps\sonar\sonar-1.4RC1\bin>startsonar
> wrapper  | --> Wrapper Started as Console
> wrapper  | Java Service Wrapper Community Edition 3.3.0
> wrapper  |   Copyright (C) 1999-2008 Tanuki Software, Inc.  All Rights
> Reserved.
> wrapper  |     http://wrapper.tanukisoftware.org
> wrapper  |
> wrapper  | Launching a JVM...
> jvm 1    | WrapperManager: Initializing...
> jvm 1    | 2008-07-21 16:12:50.575::INFO:  Logging to STDERR via
> org.mortbay.log.StdErrLog
> jvm 1    | WrapperSimpleApp:
> jvm 1    | WrapperSimpleApp: Encountered an error running main:
> jvm 1    | WrapperSimpleApp: java.lang.NullPointerException
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.getPluginsClasspath(JettyEmbedder.ja
> va:115)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.configureProgrammatically(JettyEmbed
> der.java:85)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.<init>(JettyEmbedder.java:51)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.StartServer.main(StartServer.java:36)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> jvm 1    | WrapperSimpleApp:    at
> java.lang.reflect.Method.invoke(Method.java:585)
> jvm 1    | WrapperSimpleApp:    at
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:23
> 7)
> jvm 1    | WrapperSimpleApp:    at java.lang.Thread.run(Thread.java:595)
> jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook executing
> jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook complete
> wrapper  | <-- Wrapper Stopped
> Press any key to continue . . .
> C:\apps\sonar\sonar-1.4RC1\bin>
>
> I'm using windows xp, service pack 2. Anyone know what is the issue, and
> maybe have a solution/work-around? It isn't very urgent, just wondering
> if someone has encountered it before.
> Thanks,
> Conor
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email (including any attached files) is for the intended
> recipient(s) only. If you received this email by mistake, please,
> as a courtesy, tell the sender, then delete this email.
>
> The views and opinions are the originator's and do not necessarily
> reflect those of the Queensland Studies Authority. All reasonable
> precautions have been taken to ensure that this email contained no
> viruses at the time it was sent.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>



--
Simon Brandhof, +41 78 653 09 49
Hortis, Consulting & Innovation team
Sonar , Open Source Quality Dashboard for Java projects
http://sonar.codehaus.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

RE: Can anyone get 1.4RC1 to work on windows xp?

Conor MacMahon
Hi Simon,
                I did keep my conf/wrapper.conf from my sonar-1.3.
However, I thought I did already do a diff to compare what were the
differences, to see if there was anything there (plus
conf/sonar.properties).
            Seeing you've pointed the finger there to conf/wrapper.conf,
will do a diff again to see if I can see anything suspicious there. I'll
email later with my findings.
            Thanks for that hint Simon.
Best,
Conor

-----Original Message-----
From: Simon Brandhof [mailto:[hidden email]]
Sent: Monday, 21 July 2008 4:44 PM
To: [hidden email]
Subject: Re: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi Conor,

It looks like the file conf/wrapper.conf is not valid. Did you keep the
same one from 1.3 ?

Simon

On Mon, Jul 21, 2008 at 8:17 AM, Conor MacMahon
<[hidden email]> wrote:

>
> Hi there,
>        I'd like to try out sonar 1.4RC1, as I have a project that
> fails, due to the javaNCSS error
> (http://jira.codehaus.org/browse/MJNCSS-16). However, I cannot get it
> to work, whether with the embedded db, or my usual oracle db. Here's
> the error below:
>
> C:\apps\sonar\sonar-1.4RC1\bin>startsonar
> wrapper  | --> Wrapper Started as Console wrapper  | Java Service
> Wrapper Community Edition 3.3.0
> wrapper  |   Copyright (C) 1999-2008 Tanuki Software, Inc.  All Rights
> Reserved.
> wrapper  |     http://wrapper.tanukisoftware.org
> wrapper  |
> wrapper  | Launching a JVM...
> jvm 1    | WrapperManager: Initializing...
> jvm 1    | 2008-07-21 16:12:50.575::INFO:  Logging to STDERR via
> org.mortbay.log.StdErrLog
> jvm 1    | WrapperSimpleApp:
> jvm 1    | WrapperSimpleApp: Encountered an error running main:
> jvm 1    | WrapperSimpleApp: java.lang.NullPointerException
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.getPluginsClasspath(JettyEmbedder.
> ja
> va:115)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.configureProgrammatically(JettyEmb
> ed
> der.java:85)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.<init>(JettyEmbedder.java:51)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.StartServer.main(StartServer.java:36)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> av
> a:39)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> or
> Impl.java:25)
> jvm 1    | WrapperSimpleApp:    at
> java.lang.reflect.Method.invoke(Method.java:585)
> jvm 1    | WrapperSimpleApp:    at
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:
> 23
> 7)
> jvm 1    | WrapperSimpleApp:    at
java.lang.Thread.run(Thread.java:595)

> jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook executing
> jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook complete
> wrapper  | <-- Wrapper Stopped
> Press any key to continue . . .
> C:\apps\sonar\sonar-1.4RC1\bin>
>
> I'm using windows xp, service pack 2. Anyone know what is the issue,
> and maybe have a solution/work-around? It isn't very urgent, just
> wondering if someone has encountered it before.
> Thanks,
> Conor
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email (including any attached files) is for the intended
> recipient(s) only. If you received this email by mistake, please, as a

> courtesy, tell the sender, then delete this email.
>
> The views and opinions are the originator's and do not necessarily
> reflect those of the Queensland Studies Authority. All reasonable
> precautions have been taken to ensure that this email contained no
> viruses at the time it was sent.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>



--
Simon Brandhof, +41 78 653 09 49
Hortis, Consulting & Innovation team
Sonar , Open Source Quality Dashboard for Java projects
http://sonar.codehaus.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please,
as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

RE: Can anyone get 1.4RC1 to work on windows xp?

Conor MacMahon
Hi Simon,
        I did another diff, and there were a few changes between the
sonar-1.3/conf/wrapper.conf, and sonar-1.4RC1/conf/wrapper.conf file.
However, when I slowly but surely made the latter file the same as
sonar-1.3/conf/wrapper.conf, it did not solve my issue? Still getting
the below issue.
        I then upped the log4j logging, to see if I could see anything
there. Nothing major came up. So, will leave it at that Simon. As I
said, it's not urgent, just giving you feedback on the release1.4rc1,
maybe you or someone else in hortis can try to replicate on windows xp
service pack 2? Maybe the next release will solve it.
Thanks again Simon to you and your colleagues for the great tool that is
sonar,
Conor :)

-----Original Message-----
From: Conor MacMahon [mailto:[hidden email]]
Sent: Tuesday, 22 July 2008 8:42 AM
To: [hidden email]
Subject: RE: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi Simon,
                I did keep my conf/wrapper.conf from my sonar-1.3.
However, I thought I did already do a diff to compare what were the
differences, to see if there was anything there (plus
conf/sonar.properties).
            Seeing you've pointed the finger there to conf/wrapper.conf,
will do a diff again to see if I can see anything suspicious there. I'll
email later with my findings.
            Thanks for that hint Simon.
Best,
Conor

-----Original Message-----
From: Simon Brandhof [mailto:[hidden email]]
Sent: Monday, 21 July 2008 4:44 PM
To: [hidden email]
Subject: Re: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi Conor,

It looks like the file conf/wrapper.conf is not valid. Did you keep the
same one from 1.3 ?

Simon

On Mon, Jul 21, 2008 at 8:17 AM, Conor MacMahon
<[hidden email]> wrote:

>
> Hi there,
>        I'd like to try out sonar 1.4RC1, as I have a project that
> fails, due to the javaNCSS error
> (http://jira.codehaus.org/browse/MJNCSS-16). However, I cannot get it
> to work, whether with the embedded db, or my usual oracle db. Here's
> the error below:
>
> C:\apps\sonar\sonar-1.4RC1\bin>startsonar
> wrapper  | --> Wrapper Started as Console wrapper  | Java Service
> Wrapper Community Edition 3.3.0
> wrapper  |   Copyright (C) 1999-2008 Tanuki Software, Inc.  All Rights
> Reserved.
> wrapper  |     http://wrapper.tanukisoftware.org
> wrapper  |
> wrapper  | Launching a JVM...
> jvm 1    | WrapperManager: Initializing...
> jvm 1    | 2008-07-21 16:12:50.575::INFO:  Logging to STDERR via
> org.mortbay.log.StdErrLog
> jvm 1    | WrapperSimpleApp:
> jvm 1    | WrapperSimpleApp: Encountered an error running main:
> jvm 1    | WrapperSimpleApp: java.lang.NullPointerException
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.getPluginsClasspath(JettyEmbedder.
> ja
> va:115)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.configureProgrammatically(JettyEmb
> ed
> der.java:85)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.<init>(JettyEmbedder.java:51)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.StartServer.main(StartServer.java:36)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> av
> a:39)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> or
> Impl.java:25)
> jvm 1    | WrapperSimpleApp:    at
> java.lang.reflect.Method.invoke(Method.java:585)
> jvm 1    | WrapperSimpleApp:    at
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:
> 23
> 7)
> jvm 1    | WrapperSimpleApp:    at
java.lang.Thread.run(Thread.java:595)

> jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook executing
> jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook complete
> wrapper  | <-- Wrapper Stopped
> Press any key to continue . . .
> C:\apps\sonar\sonar-1.4RC1\bin>
>
> I'm using windows xp, service pack 2. Anyone know what is the issue,
> and maybe have a solution/work-around? It isn't very urgent, just
> wondering if someone has encountered it before.
> Thanks,
> Conor
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email (including any attached files) is for the intended
> recipient(s) only. If you received this email by mistake, please, as a

> courtesy, tell the sender, then delete this email.
>
> The views and opinions are the originator's and do not necessarily
> reflect those of the Queensland Studies Authority. All reasonable
> precautions have been taken to ensure that this email contained no
> viruses at the time it was sent.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>



--
Simon Brandhof, +41 78 653 09 49
Hortis, Consulting & Innovation team
Sonar , Open Source Quality Dashboard for Java projects
http://sonar.codehaus.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please, as a
courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please,
as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Can anyone get 1.4RC1 to work on windows xp?

Simon
Administrator
Hi Conor,

The library that uses wrapper.conf is rather sensitive. Parameter ids
are really important. Check that you exactly have the following lines
for the parameter wrapper.java.classpath :

wrapper.java.classpath.1=../lib/*.jar
wrapper.java.classpath.2=../
wrapper.java.classpath.3=../extensions/jdbc-driver/derby/*.jar
wrapper.java.classpath.4=../extensions/jdbc-driver/mssql/*.jar
wrapper.java.classpath.5=../extensions/jdbc-driver/mysql/*.jar
wrapper.java.classpath.6=../extensions/jdbc-driver/oracle/*.jar
wrapper.java.classpath.7=../conf/

Don't worry, sonar packaging/configuration should be stable now and
should not get changed on next releases.

Regards,
Simon

On Tue, Jul 22, 2008 at 2:00 AM, Conor MacMahon
<[hidden email]> wrote:

>
> Hi Simon,
>        I did another diff, and there were a few changes between the
> sonar-1.3/conf/wrapper.conf, and sonar-1.4RC1/conf/wrapper.conf file.
> However, when I slowly but surely made the latter file the same as
> sonar-1.3/conf/wrapper.conf, it did not solve my issue? Still getting
> the below issue.
>        I then upped the log4j logging, to see if I could see anything
> there. Nothing major came up. So, will leave it at that Simon. As I
> said, it's not urgent, just giving you feedback on the release1.4rc1,
> maybe you or someone else in hortis can try to replicate on windows xp
> service pack 2? Maybe the next release will solve it.
> Thanks again Simon to you and your colleagues for the great tool that is
> sonar,
> Conor :)
>
> -----Original Message-----
> From: Conor MacMahon [mailto:[hidden email]]
> Sent: Tuesday, 22 July 2008 8:42 AM
> To: [hidden email]
> Subject: RE: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?
>
> Hi Simon,
>                I did keep my conf/wrapper.conf from my sonar-1.3.
> However, I thought I did already do a diff to compare what were the
> differences, to see if there was anything there (plus
> conf/sonar.properties).
>            Seeing you've pointed the finger there to conf/wrapper.conf,
> will do a diff again to see if I can see anything suspicious there. I'll
> email later with my findings.
>            Thanks for that hint Simon.
> Best,
> Conor
>
> -----Original Message-----
> From: Simon Brandhof [mailto:[hidden email]]
> Sent: Monday, 21 July 2008 4:44 PM
> To: [hidden email]
> Subject: Re: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?
>
> Hi Conor,
>
> It looks like the file conf/wrapper.conf is not valid. Did you keep the
> same one from 1.3 ?
>
> Simon
>
> On Mon, Jul 21, 2008 at 8:17 AM, Conor MacMahon
> <[hidden email]> wrote:
> >
> > Hi there,
> >        I'd like to try out sonar 1.4RC1, as I have a project that
> > fails, due to the javaNCSS error
> > (http://jira.codehaus.org/browse/MJNCSS-16). However, I cannot get it
> > to work, whether with the embedded db, or my usual oracle db. Here's
> > the error below:
> >
> > C:\apps\sonar\sonar-1.4RC1\bin>startsonar
> > wrapper  | --> Wrapper Started as Console wrapper  | Java Service
> > Wrapper Community Edition 3.3.0
> > wrapper  |   Copyright (C) 1999-2008 Tanuki Software, Inc.  All Rights
> > Reserved.
> > wrapper  |     http://wrapper.tanukisoftware.org
> > wrapper  |
> > wrapper  | Launching a JVM...
> > jvm 1    | WrapperManager: Initializing...
> > jvm 1    | 2008-07-21 16:12:50.575::INFO:  Logging to STDERR via
> > org.mortbay.log.StdErrLog
> > jvm 1    | WrapperSimpleApp:
> > jvm 1    | WrapperSimpleApp: Encountered an error running main:
> > jvm 1    | WrapperSimpleApp: java.lang.NullPointerException
> > jvm 1    | WrapperSimpleApp:    at
> > org.sonar.application.JettyEmbedder.getPluginsClasspath(JettyEmbedder.
> > ja
> > va:115)
> > jvm 1    | WrapperSimpleApp:    at
> > org.sonar.application.JettyEmbedder.configureProgrammatically(JettyEmb
> > ed
> > der.java:85)
> > jvm 1    | WrapperSimpleApp:    at
> > org.sonar.application.JettyEmbedder.<init>(JettyEmbedder.java:51)
> > jvm 1    | WrapperSimpleApp:    at
> > org.sonar.application.StartServer.main(StartServer.java:36)
> > jvm 1    | WrapperSimpleApp:    at
> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > jvm 1    | WrapperSimpleApp:    at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> > av
> > a:39)
> > jvm 1    | WrapperSimpleApp:    at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> > or
> > Impl.java:25)
> > jvm 1    | WrapperSimpleApp:    at
> > java.lang.reflect.Method.invoke(Method.java:585)
> > jvm 1    | WrapperSimpleApp:    at
> > org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:
> > 23
> > 7)
> > jvm 1    | WrapperSimpleApp:    at
> java.lang.Thread.run(Thread.java:595)
> > jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook executing
> > jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook complete
> > wrapper  | <-- Wrapper Stopped
> > Press any key to continue . . .
> > C:\apps\sonar\sonar-1.4RC1\bin>
> >
> > I'm using windows xp, service pack 2. Anyone know what is the issue,
> > and maybe have a solution/work-around? It isn't very urgent, just
> > wondering if someone has encountered it before.
> > Thanks,
> > Conor
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > This email (including any attached files) is for the intended
> > recipient(s) only. If you received this email by mistake, please, as a
>
> > courtesy, tell the sender, then delete this email.
> >
> > The views and opinions are the originator's and do not necessarily
> > reflect those of the Queensland Studies Authority. All reasonable
> > precautions have been taken to ensure that this email contained no
> > viruses at the time it was sent.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> >
> >    http://xircles.codehaus.org/manage_email
> >
> >
>
>
>
> --
> Simon Brandhof, +41 78 653 09 49
> Hortis, Consulting & Innovation team
> Sonar , Open Source Quality Dashboard for Java projects
> http://sonar.codehaus.org
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email (including any attached files) is for the intended
> recipient(s) only. If you received this email by mistake, please, as a
> courtesy, tell the sender, then delete this email.
>
> The views and opinions are the originator's and do not necessarily
> reflect those of the Queensland Studies Authority. All reasonable
> precautions have been taken to ensure that this email contained no
> viruses at the time it was sent.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email (including any attached files) is for the intended
> recipient(s) only. If you received this email by mistake, please,
> as a courtesy, tell the sender, then delete this email.
>
> The views and opinions are the originator's and do not necessarily
> reflect those of the Queensland Studies Authority. All reasonable
> precautions have been taken to ensure that this email contained no
> viruses at the time it was sent.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>



--
Simon Brandhof, +41 78 653 09 49
Hortis, Consulting & Innovation team
Sonar , Open Source Quality Dashboard for Java projects
http://sonar.codehaus.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

RE: Can anyone get 1.4RC1 to work on windows xp?

Conor MacMahon
In reply to this post by Conor MacMahon
Hi Simon,
        I noticed that ye have released sonar 1.4, great. So, downloaded
it to give it a run. I came across the issue I found below (i.e. sonar
not starting on windows xp). However, I solved it by copying my
%SONAR_HOME%/war/sonar-web/WEB-INF/classes/extensions/plugins folder to
%SONAR_HOME%/extensions, thus resulting in a
%SONAR_HOME%/extensions/plugins folder (i.e. %SONAR_HOME% is where I
have installed my sonar, happens to be C:\apps\sonar\sonar-1.4).
        All went better, the web application started on port 9000, I
could view the webapp using a browser on http://localhost:9000/, and
clicked on setup database. After it ran it's table creation, I confirmed
that the database user had tables (i.e. I'm using oracle).
        Finally, when I tried to actually do a sonar report on one of my
artefacts (that already works with sonar 1.3), I got the following
error:

[INFO] [sonar-core:prepare]
[ERROR] Cannot execute the command
org.codehaus.sonar:sonar-core-maven-plugin:1.4:prepare
org.picocontainer.PicoCompositionException: Duplicate Keys not allowed.
Duplicate for 'class
org.sonar.plugins.checkstyle.CheckstyleRulesRepository'
        at
org.picocontainer.DefaultPicoContainer.addAdapterInternal(DefaultPicoCon
tainer.java:350)
        at
org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer
.java:455)
        at
org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer
.java:418)
        at
org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer
.java:405)
        at
ch.hortis.sonar.mvn.CoreMojo.registerPlugin(CoreMojo.java:246)
        at ch.hortis.sonar.mvn.CoreMojo.getContainer(CoreMojo.java:236)
        at
ch.hortis.sonar.mvn.PrepareMojo.checkPluginsPresenceForProjectLanguage(P
repareMojo.java:147)
        at
ch.hortis.sonar.mvn.PrepareMojo.doExecute(PrepareMojo.java:46)
        at ch.hortis.sonar.mvn.CoreMojo.execute(CoreMojo.java:130)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
        at
ch.hortis.sonar.mvn.SonarMavenEmbedder.execute(SonarMavenEmbedder.java:1
51)
        at
ch.hortis.sonar.mvn.SonarMojo.executeMaven(SonarMojo.java:248)
        at
ch.hortis.sonar.mvn.SonarMojo.executeGoals(SonarMojo.java:231)
        at ch.hortis.sonar.mvn.SonarMojo.execute(SonarMojo.java:116)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:224)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute the command
org.codehaus.sonar:sonar-core-maven-plugin:1.4:prepare

Embedded error: Duplicate Keys not allowed. Duplicate for 'class
org.sonar.plugins.checkstyle.CheckstyleRulesRepository'
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Fri Aug 08 15:06:17 EST 2008
[INFO] Final Memory: 23M/127M
[INFO]
------------------------------------------------------------------------

Simon, might you or anyone else know what this issue is? Is the
duplicate key reference something to do with duplicate primary keys in
the database perhaps? If so, what table? Or how to solve?

Any advice/hints appreciated.

Just to re-iterate, I'm trying to run sonar 1.4, on windows xp, service
pack 2, with oracle as the reporting database. By the by, am happy for
others to recommend me other databases, so long as they have sonar 1.4*
running on windows xp, service pack 2.

Best,
Conor

-----Original Message-----
From: Conor MacMahon [mailto:[hidden email]]
Sent: Tuesday, 22 July 2008 10:01 AM
To: [hidden email]
Subject: RE: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi Simon,
        I did another diff, and there were a few changes between the
sonar-1.3/conf/wrapper.conf, and sonar-1.4RC1/conf/wrapper.conf file.
However, when I slowly but surely made the latter file the same as
sonar-1.3/conf/wrapper.conf, it did not solve my issue? Still getting
the below issue.
        I then upped the log4j logging, to see if I could see anything
there. Nothing major came up. So, will leave it at that Simon. As I
said, it's not urgent, just giving you feedback on the release1.4rc1,
maybe you or someone else in hortis can try to replicate on windows xp
service pack 2? Maybe the next release will solve it.
Thanks again Simon to you and your colleagues for the great tool that is
sonar, Conor :)

-----Original Message-----
From: Conor MacMahon [mailto:[hidden email]]
Sent: Tuesday, 22 July 2008 8:42 AM
To: [hidden email]
Subject: RE: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi Simon,
                I did keep my conf/wrapper.conf from my sonar-1.3.
However, I thought I did already do a diff to compare what were the
differences, to see if there was anything there (plus
conf/sonar.properties).
            Seeing you've pointed the finger there to conf/wrapper.conf,
will do a diff again to see if I can see anything suspicious there. I'll
email later with my findings.
            Thanks for that hint Simon.
Best,
Conor

-----Original Message-----
From: Simon Brandhof [mailto:[hidden email]]
Sent: Monday, 21 July 2008 4:44 PM
To: [hidden email]
Subject: Re: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi Conor,

It looks like the file conf/wrapper.conf is not valid. Did you keep the
same one from 1.3 ?

Simon

On Mon, Jul 21, 2008 at 8:17 AM, Conor MacMahon
<[hidden email]> wrote:

>
> Hi there,
>        I'd like to try out sonar 1.4RC1, as I have a project that
> fails, due to the javaNCSS error
> (http://jira.codehaus.org/browse/MJNCSS-16). However, I cannot get it
> to work, whether with the embedded db, or my usual oracle db. Here's
> the error below:
>
> C:\apps\sonar\sonar-1.4RC1\bin>startsonar
> wrapper  | --> Wrapper Started as Console wrapper  | Java Service
> Wrapper Community Edition 3.3.0
> wrapper  |   Copyright (C) 1999-2008 Tanuki Software, Inc.  All Rights
> Reserved.
> wrapper  |     http://wrapper.tanukisoftware.org
> wrapper  |
> wrapper  | Launching a JVM...
> jvm 1    | WrapperManager: Initializing...
> jvm 1    | 2008-07-21 16:12:50.575::INFO:  Logging to STDERR via
> org.mortbay.log.StdErrLog
> jvm 1    | WrapperSimpleApp:
> jvm 1    | WrapperSimpleApp: Encountered an error running main:
> jvm 1    | WrapperSimpleApp: java.lang.NullPointerException
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.getPluginsClasspath(JettyEmbedder.
> ja
> va:115)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.configureProgrammatically(JettyEmb
> ed
> der.java:85)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.<init>(JettyEmbedder.java:51)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.StartServer.main(StartServer.java:36)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> av
> a:39)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> or
> Impl.java:25)
> jvm 1    | WrapperSimpleApp:    at
> java.lang.reflect.Method.invoke(Method.java:585)
> jvm 1    | WrapperSimpleApp:    at
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:
> 23
> 7)
> jvm 1    | WrapperSimpleApp:    at
java.lang.Thread.run(Thread.java:595)

> jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook executing
> jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook complete
> wrapper  | <-- Wrapper Stopped
> Press any key to continue . . .
> C:\apps\sonar\sonar-1.4RC1\bin>
>
> I'm using windows xp, service pack 2. Anyone know what is the issue,
> and maybe have a solution/work-around? It isn't very urgent, just
> wondering if someone has encountered it before.
> Thanks,
> Conor
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email (including any attached files) is for the intended
> recipient(s) only. If you received this email by mistake, please, as a

> courtesy, tell the sender, then delete this email.
>
> The views and opinions are the originator's and do not necessarily
> reflect those of the Queensland Studies Authority. All reasonable
> precautions have been taken to ensure that this email contained no
> viruses at the time it was sent.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>



--
Simon Brandhof, +41 78 653 09 49
Hortis, Consulting & Innovation team
Sonar , Open Source Quality Dashboard for Java projects
http://sonar.codehaus.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please, as a
courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please, as a
courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please,
as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

RE: Can anyone get 1.4RC1 to work on windows xp?

Conor MacMahon
Hi All Again,
            I don't know if this is related, but I notice these messages
on the sonar console, when I attempt to generate a report for my
artefact:

jvm 1    | 2008-08-08 15:06:15.852:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_2/1.0-SNAPSHOT/plu
gins_ext_2-1.0-2
0080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.868:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_6/1.0-SNAPSHOT/plu
gins_ext_6-1.0-2
0080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.868:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_6/1.0-SNAPSHOT/plu
gins_ext_6-1.0-2
0080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.883:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_7/1.0-SNAPSHOT/plu
gins_ext_7-1.0-2
0080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.883:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_7/1.0-SNAPSHOT/plu
gins_ext_7-1.0-2
0080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.899:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_3/1.0-SNAPSHOT/plu
gins_ext_3-1.0-2
0080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.899:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_3/1.0-SNAPSHOT/plu
gins_ext_3-1.0-2
0080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.930:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_1/1.0-SNAPSHOT/plu
gins_ext_1-1.0-2
0080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.946:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_1/1.0-SNAPSHOT/plu
gins_ext_1-1.0-2
0080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.070:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/jdbc-driver/jdbc-driver_ext_0/1.0-SNAP
SHOT/jdbc-driver
_ext_0-1.0-20080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.070:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/jdbc-driver/jdbc-driver_ext_0/1.0-SNAP
SHOT/jdbc-driver
_ext_0-1.0-20080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.086:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_4/1.0-SNAPSHOT/plu
gins_ext_4-1.0-2
0080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.102:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_4/1.0-SNAPSHOT/plu
gins_ext_4-1.0-2
0080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.117:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_0/1.0-SNAPSHOT/plu
gins_ext_0-1.0-2
0080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.117:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_0/1.0-SNAPSHOT/plu
gins_ext_0-1.0-2
0080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.117:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_5/1.0-SNAPSHOT/plu
gins_ext_5-1.0-2
0080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.133:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_5/1.0-SNAPSHOT/plu
gins_ext_5-1.0-2
0080808.030517-221030517.jar.md5

What file is not being found, and why? Does sonar need to publish some
extra jars to the shared maven repository, or do I need to define to use
a specific sonar repository in my work?

Like I said, I don't know if it's related, just passing along the
information.

Best,
Conor

-----Original Message-----
From: Conor MacMahon
Sent: Friday, 8 August 2008 3:12 PM
To: '[hidden email]'
Subject: RE: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi Simon,
        I noticed that ye have released sonar 1.4, great. So, downloaded
it to give it a run. I came across the issue I found below (i.e. sonar
not starting on windows xp). However, I solved it by copying my
%SONAR_HOME%/war/sonar-web/WEB-INF/classes/extensions/plugins folder to
%SONAR_HOME%/extensions, thus resulting in a
%SONAR_HOME%/extensions/plugins folder (i.e. %SONAR_HOME% is where I
have installed my sonar, happens to be C:\apps\sonar\sonar-1.4).
        All went better, the web application started on port 9000, I
could view the webapp using a browser on http://localhost:9000/, and
clicked on setup database. After it ran it's table creation, I confirmed
that the database user had tables (i.e. I'm using oracle).
        Finally, when I tried to actually do a sonar report on one of my
artefacts (that already works with sonar 1.3), I got the following
error:

[INFO] [sonar-core:prepare]
[ERROR] Cannot execute the command
org.codehaus.sonar:sonar-core-maven-plugin:1.4:prepare
org.picocontainer.PicoCompositionException: Duplicate Keys not allowed.
Duplicate for 'class
org.sonar.plugins.checkstyle.CheckstyleRulesRepository'
        at
org.picocontainer.DefaultPicoContainer.addAdapterInternal(DefaultPicoCon
tainer.java:350)
        at
org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer
.java:455)
        at
org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer
.java:418)
        at
org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer
.java:405)
        at
ch.hortis.sonar.mvn.CoreMojo.registerPlugin(CoreMojo.java:246)
        at ch.hortis.sonar.mvn.CoreMojo.getContainer(CoreMojo.java:236)
        at
ch.hortis.sonar.mvn.PrepareMojo.checkPluginsPresenceForProjectLanguage(P
repareMojo.java:147)
        at
ch.hortis.sonar.mvn.PrepareMojo.doExecute(PrepareMojo.java:46)
        at ch.hortis.sonar.mvn.CoreMojo.execute(CoreMojo.java:130)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
        at
ch.hortis.sonar.mvn.SonarMavenEmbedder.execute(SonarMavenEmbedder.java:1
51)
        at
ch.hortis.sonar.mvn.SonarMojo.executeMaven(SonarMojo.java:248)
        at
ch.hortis.sonar.mvn.SonarMojo.executeGoals(SonarMojo.java:231)
        at ch.hortis.sonar.mvn.SonarMojo.execute(SonarMojo.java:116)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:224)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute the command
org.codehaus.sonar:sonar-core-maven-plugin:1.4:prepare

Embedded error: Duplicate Keys not allowed. Duplicate for 'class
org.sonar.plugins.checkstyle.CheckstyleRulesRepository'
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch [INFO]
------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Fri Aug 08 15:06:17 EST 2008 [INFO] Final Memory:
23M/127M [INFO]
------------------------------------------------------------------------

Simon, might you or anyone else know what this issue is? Is the
duplicate key reference something to do with duplicate primary keys in
the database perhaps? If so, what table? Or how to solve?

Any advice/hints appreciated.

Just to re-iterate, I'm trying to run sonar 1.4, on windows xp, service
pack 2, with oracle as the reporting database. By the by, am happy for
others to recommend me other databases, so long as they have sonar 1.4*
running on windows xp, service pack 2.

Best,
Conor

-----Original Message-----
From: Conor MacMahon [mailto:[hidden email]]
Sent: Tuesday, 22 July 2008 10:01 AM
To: [hidden email]
Subject: RE: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi Simon,
        I did another diff, and there were a few changes between the
sonar-1.3/conf/wrapper.conf, and sonar-1.4RC1/conf/wrapper.conf file.
However, when I slowly but surely made the latter file the same as
sonar-1.3/conf/wrapper.conf, it did not solve my issue? Still getting
the below issue.
        I then upped the log4j logging, to see if I could see anything
there. Nothing major came up. So, will leave it at that Simon. As I
said, it's not urgent, just giving you feedback on the release1.4rc1,
maybe you or someone else in hortis can try to replicate on windows xp
service pack 2? Maybe the next release will solve it.
Thanks again Simon to you and your colleagues for the great tool that is
sonar, Conor :)

-----Original Message-----
From: Conor MacMahon [mailto:[hidden email]]
Sent: Tuesday, 22 July 2008 8:42 AM
To: [hidden email]
Subject: RE: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi Simon,
                I did keep my conf/wrapper.conf from my sonar-1.3.
However, I thought I did already do a diff to compare what were the
differences, to see if there was anything there (plus
conf/sonar.properties).
            Seeing you've pointed the finger there to conf/wrapper.conf,
will do a diff again to see if I can see anything suspicious there. I'll
email later with my findings.
            Thanks for that hint Simon.
Best,
Conor

-----Original Message-----
From: Simon Brandhof [mailto:[hidden email]]
Sent: Monday, 21 July 2008 4:44 PM
To: [hidden email]
Subject: Re: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi Conor,

It looks like the file conf/wrapper.conf is not valid. Did you keep the
same one from 1.3 ?

Simon

On Mon, Jul 21, 2008 at 8:17 AM, Conor MacMahon
<[hidden email]> wrote:

>
> Hi there,
>        I'd like to try out sonar 1.4RC1, as I have a project that
> fails, due to the javaNCSS error
> (http://jira.codehaus.org/browse/MJNCSS-16). However, I cannot get it
> to work, whether with the embedded db, or my usual oracle db. Here's
> the error below:
>
> C:\apps\sonar\sonar-1.4RC1\bin>startsonar
> wrapper  | --> Wrapper Started as Console wrapper  | Java Service
> Wrapper Community Edition 3.3.0
> wrapper  |   Copyright (C) 1999-2008 Tanuki Software, Inc.  All Rights
> Reserved.
> wrapper  |     http://wrapper.tanukisoftware.org
> wrapper  |
> wrapper  | Launching a JVM...
> jvm 1    | WrapperManager: Initializing...
> jvm 1    | 2008-07-21 16:12:50.575::INFO:  Logging to STDERR via
> org.mortbay.log.StdErrLog
> jvm 1    | WrapperSimpleApp:
> jvm 1    | WrapperSimpleApp: Encountered an error running main:
> jvm 1    | WrapperSimpleApp: java.lang.NullPointerException
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.getPluginsClasspath(JettyEmbedder.
> ja
> va:115)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.configureProgrammatically(JettyEmb
> ed
> der.java:85)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.<init>(JettyEmbedder.java:51)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.StartServer.main(StartServer.java:36)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> av
> a:39)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> or
> Impl.java:25)
> jvm 1    | WrapperSimpleApp:    at
> java.lang.reflect.Method.invoke(Method.java:585)
> jvm 1    | WrapperSimpleApp:    at
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:
> 23
> 7)
> jvm 1    | WrapperSimpleApp:    at
java.lang.Thread.run(Thread.java:595)

> jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook executing
> jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook complete
> wrapper  | <-- Wrapper Stopped
> Press any key to continue . . .
> C:\apps\sonar\sonar-1.4RC1\bin>
>
> I'm using windows xp, service pack 2. Anyone know what is the issue,
> and maybe have a solution/work-around? It isn't very urgent, just
> wondering if someone has encountered it before.
> Thanks,
> Conor
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email (including any attached files) is for the intended
> recipient(s) only. If you received this email by mistake, please, as a

> courtesy, tell the sender, then delete this email.
>
> The views and opinions are the originator's and do not necessarily
> reflect those of the Queensland Studies Authority. All reasonable
> precautions have been taken to ensure that this email contained no
> viruses at the time it was sent.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>



--
Simon Brandhof, +41 78 653 09 49
Hortis, Consulting & Innovation team
Sonar , Open Source Quality Dashboard for Java projects
http://sonar.codehaus.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please, as a
courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please, as a
courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please,
as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

RE: Can anyone get 1.4RC1 to work on windows xp?

Conor MacMahon
Hi once more,
            OK, sonar 1.4 on windows xp, service pack 2, is now working
for me. The issue I had below was duplicated plugin jars, so the final
solution I did was instead of doing a copy, MOVE the
%SONAR_HOME%/war/sonar-web/WEB-INF/classes/extensions/plugins folder to
%SONAR_HOME%/extensions folder.
            The only bit of bad news I had, was the webapp that didn't
work for me before, due to javaNCSS and annotations, still doesn't work
in 1.4? I get the following error:

ParseException in
C:\+development\slims3\trunk\ryps\src\main\java\au\edu\qld\qsa\struts\Ba
seForm.java
Last useful checkpoint: "au.edu.qld.qsa.struts.BaseForm"
Encountered "interface" at line 146, column 16.
Was expecting one of:
    "assert" ...
    "enum" ...
    <IDENTIFIER> ...



[ERROR] Cannot execute the command
org.codehaus.mojo:javancss-maven-plugin:2.0-beta-2:report
org.apache.maven.lifecycle.LifecycleExecutionException: An error has
occurred in JavaNCSS Report report generation.
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:564)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
        at
ch.hortis.sonar.mvn.SonarMavenEmbedder.execute(SonarMavenEmbedder.java:1
51)
        at
ch.hortis.sonar.mvn.SonarMavenEmbedder.execute(SonarMavenEmbedder.java:1
15)
        at
ch.hortis.sonar.mvn.SonarMojo.executeMaven(SonarMojo.java:269)
        at
ch.hortis.sonar.mvn.SonarMojo.executeGoals(SonarMojo.java:231)
        at ch.hortis.sonar.mvn.SonarMojo.execute(SonarMojo.java:116)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:224)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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: org.apache.maven.plugin.MojoExecutionException: An error has
occurred in JavaNCSS Report report generation.
        at
org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenRepo
rt.java:79)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
        ... 28 more
Caused by: org.apache.maven.reporting.MavenReportException: Error while
JavaNCSS was executing
        at
org.codehaus.mojo.javancss.NcssExecuter.execute(NcssExecuter.java:94)
        at
org.codehaus.mojo.javancss.NcssReportMojo.generateSingleReport(NcssRepor
tMojo.java:245)
        at
org.codehaus.mojo.javancss.NcssReportMojo.executeReport(NcssReportMojo.j
ava:166)
        at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenRep
ort.java:98)
        at
org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenRepo
rt.java:73)
        ... 30 more
Caused by: java.lang.Exception: javancss.ParseException: Encountered
"interface" at line 146, column 16.

The java code at line 146, column 16, is this line:

protected @interface Resetable {

So, don't think javaNCSS likes the @interface token still?!

Thanks guys, hope someone else using sonar on windows will find this
email handy to them!

Best,
Conor

-----Original Message-----
From: Conor MacMahon [mailto:[hidden email]]
Sent: Friday, 8 August 2008 3:19 PM
To: [hidden email]
Subject: RE: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi All Again,
            I don't know if this is related, but I notice these messages
on the sonar console, when I attempt to generate a report for my
artefact:

jvm 1    | 2008-08-08 15:06:15.852:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_2/1.0-SNAPSHOT/plu
gins_ext_2-1.0-2
0080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.868:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_6/1.0-SNAPSHOT/plu
gins_ext_6-1.0-2
0080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.868:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_6/1.0-SNAPSHOT/plu
gins_ext_6-1.0-2
0080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.883:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_7/1.0-SNAPSHOT/plu
gins_ext_7-1.0-2
0080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.883:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_7/1.0-SNAPSHOT/plu
gins_ext_7-1.0-2
0080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.899:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_3/1.0-SNAPSHOT/plu
gins_ext_3-1.0-2
0080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.899:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_3/1.0-SNAPSHOT/plu
gins_ext_3-1.0-2
0080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.930:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_1/1.0-SNAPSHOT/plu
gins_ext_1-1.0-2
0080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.946:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_1/1.0-SNAPSHOT/plu
gins_ext_1-1.0-2
0080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.070:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/jdbc-driver/jdbc-driver_ext_0/1.0-SNAP
SHOT/jdbc-driver
_ext_0-1.0-20080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.070:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/jdbc-driver/jdbc-driver_ext_0/1.0-SNAP
SHOT/jdbc-driver
_ext_0-1.0-20080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.086:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_4/1.0-SNAPSHOT/plu
gins_ext_4-1.0-2
0080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.102:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_4/1.0-SNAPSHOT/plu
gins_ext_4-1.0-2
0080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.117:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_0/1.0-SNAPSHOT/plu
gins_ext_0-1.0-2
0080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.117:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_0/1.0-SNAPSHOT/plu
gins_ext_0-1.0-2
0080808.030517-221030517.jar.md5
jvm 1    | 2008-08-08 15:06:15.117:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_5/1.0-SNAPSHOT/plu
gins_ext_5-1.0-2
0080808.030517-221030517.jar.sha1
jvm 1    | 2008-08-08 15:06:15.133:/:INFO:  files: File not found:
/maven/org/codehaus/sonar/runtime/plugins/plugins_ext_5/1.0-SNAPSHOT/plu
gins_ext_5-1.0-2
0080808.030517-221030517.jar.md5

What file is not being found, and why? Does sonar need to publish some
extra jars to the shared maven repository, or do I need to define to use
a specific sonar repository in my work?

Like I said, I don't know if it's related, just passing along the
information.

Best,
Conor

-----Original Message-----
From: Conor MacMahon
Sent: Friday, 8 August 2008 3:12 PM
To: '[hidden email]'
Subject: RE: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi Simon,
        I noticed that ye have released sonar 1.4, great. So, downloaded
it to give it a run. I came across the issue I found below (i.e. sonar
not starting on windows xp). However, I solved it by copying my
%SONAR_HOME%/war/sonar-web/WEB-INF/classes/extensions/plugins folder to
%SONAR_HOME%/extensions, thus resulting in a
%SONAR_HOME%/extensions/plugins folder (i.e. %SONAR_HOME% is where I
have installed my sonar, happens to be C:\apps\sonar\sonar-1.4).
        All went better, the web application started on port 9000, I
could view the webapp using a browser on http://localhost:9000/, and
clicked on setup database. After it ran it's table creation, I confirmed
that the database user had tables (i.e. I'm using oracle).
        Finally, when I tried to actually do a sonar report on one of my
artefacts (that already works with sonar 1.3), I got the following
error:

[INFO] [sonar-core:prepare]
[ERROR] Cannot execute the command
org.codehaus.sonar:sonar-core-maven-plugin:1.4:prepare
org.picocontainer.PicoCompositionException: Duplicate Keys not allowed.
Duplicate for 'class
org.sonar.plugins.checkstyle.CheckstyleRulesRepository'
        at
org.picocontainer.DefaultPicoContainer.addAdapterInternal(DefaultPicoCon
tainer.java:350)
        at
org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer
.java:455)
        at
org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer
.java:418)
        at
org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer
.java:405)
        at
ch.hortis.sonar.mvn.CoreMojo.registerPlugin(CoreMojo.java:246)
        at ch.hortis.sonar.mvn.CoreMojo.getContainer(CoreMojo.java:236)
        at
ch.hortis.sonar.mvn.PrepareMojo.checkPluginsPresenceForProjectLanguage(P
repareMojo.java:147)
        at
ch.hortis.sonar.mvn.PrepareMojo.doExecute(PrepareMojo.java:46)
        at ch.hortis.sonar.mvn.CoreMojo.execute(CoreMojo.java:130)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
        at
ch.hortis.sonar.mvn.SonarMavenEmbedder.execute(SonarMavenEmbedder.java:1
51)
        at
ch.hortis.sonar.mvn.SonarMojo.executeMaven(SonarMojo.java:248)
        at
ch.hortis.sonar.mvn.SonarMojo.executeGoals(SonarMojo.java:231)
        at ch.hortis.sonar.mvn.SonarMojo.execute(SonarMojo.java:116)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:224)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute the command
org.codehaus.sonar:sonar-core-maven-plugin:1.4:prepare

Embedded error: Duplicate Keys not allowed. Duplicate for 'class
org.sonar.plugins.checkstyle.CheckstyleRulesRepository'
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch [INFO]
------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Fri Aug 08 15:06:17 EST 2008 [INFO] Final Memory:
23M/127M [INFO]
------------------------------------------------------------------------

Simon, might you or anyone else know what this issue is? Is the
duplicate key reference something to do with duplicate primary keys in
the database perhaps? If so, what table? Or how to solve?

Any advice/hints appreciated.

Just to re-iterate, I'm trying to run sonar 1.4, on windows xp, service
pack 2, with oracle as the reporting database. By the by, am happy for
others to recommend me other databases, so long as they have sonar 1.4*
running on windows xp, service pack 2.

Best,
Conor

-----Original Message-----
From: Conor MacMahon [mailto:[hidden email]]
Sent: Tuesday, 22 July 2008 10:01 AM
To: [hidden email]
Subject: RE: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi Simon,
        I did another diff, and there were a few changes between the
sonar-1.3/conf/wrapper.conf, and sonar-1.4RC1/conf/wrapper.conf file.
However, when I slowly but surely made the latter file the same as
sonar-1.3/conf/wrapper.conf, it did not solve my issue? Still getting
the below issue.
        I then upped the log4j logging, to see if I could see anything
there. Nothing major came up. So, will leave it at that Simon. As I
said, it's not urgent, just giving you feedback on the release1.4rc1,
maybe you or someone else in hortis can try to replicate on windows xp
service pack 2? Maybe the next release will solve it.
Thanks again Simon to you and your colleagues for the great tool that is
sonar, Conor :)

-----Original Message-----
From: Conor MacMahon [mailto:[hidden email]]
Sent: Tuesday, 22 July 2008 8:42 AM
To: [hidden email]
Subject: RE: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi Simon,
                I did keep my conf/wrapper.conf from my sonar-1.3.
However, I thought I did already do a diff to compare what were the
differences, to see if there was anything there (plus
conf/sonar.properties).
            Seeing you've pointed the finger there to conf/wrapper.conf,
will do a diff again to see if I can see anything suspicious there. I'll
email later with my findings.
            Thanks for that hint Simon.
Best,
Conor

-----Original Message-----
From: Simon Brandhof [mailto:[hidden email]]
Sent: Monday, 21 July 2008 4:44 PM
To: [hidden email]
Subject: Re: [sonar-user] Can anyone get 1.4RC1 to work on windows xp?

Hi Conor,

It looks like the file conf/wrapper.conf is not valid. Did you keep the
same one from 1.3 ?

Simon

On Mon, Jul 21, 2008 at 8:17 AM, Conor MacMahon
<[hidden email]> wrote:

>
> Hi there,
>        I'd like to try out sonar 1.4RC1, as I have a project that
> fails, due to the javaNCSS error
> (http://jira.codehaus.org/browse/MJNCSS-16). However, I cannot get it
> to work, whether with the embedded db, or my usual oracle db. Here's
> the error below:
>
> C:\apps\sonar\sonar-1.4RC1\bin>startsonar
> wrapper  | --> Wrapper Started as Console wrapper  | Java Service
> Wrapper Community Edition 3.3.0
> wrapper  |   Copyright (C) 1999-2008 Tanuki Software, Inc.  All Rights
> Reserved.
> wrapper  |     http://wrapper.tanukisoftware.org
> wrapper  |
> wrapper  | Launching a JVM...
> jvm 1    | WrapperManager: Initializing...
> jvm 1    | 2008-07-21 16:12:50.575::INFO:  Logging to STDERR via
> org.mortbay.log.StdErrLog
> jvm 1    | WrapperSimpleApp:
> jvm 1    | WrapperSimpleApp: Encountered an error running main:
> jvm 1    | WrapperSimpleApp: java.lang.NullPointerException
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.getPluginsClasspath(JettyEmbedder.
> ja
> va:115)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.configureProgrammatically(JettyEmb
> ed
> der.java:85)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.JettyEmbedder.<init>(JettyEmbedder.java:51)
> jvm 1    | WrapperSimpleApp:    at
> org.sonar.application.StartServer.main(StartServer.java:36)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> av
> a:39)
> jvm 1    | WrapperSimpleApp:    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> or
> Impl.java:25)
> jvm 1    | WrapperSimpleApp:    at
> java.lang.reflect.Method.invoke(Method.java:585)
> jvm 1    | WrapperSimpleApp:    at
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:
> 23
> 7)
> jvm 1    | WrapperSimpleApp:    at
java.lang.Thread.run(Thread.java:595)

> jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook executing
> jvm 1    | 2008-07-21 16:12:52.477::INFO:  Shutdown hook complete
> wrapper  | <-- Wrapper Stopped
> Press any key to continue . . .
> C:\apps\sonar\sonar-1.4RC1\bin>
>
> I'm using windows xp, service pack 2. Anyone know what is the issue,
> and maybe have a solution/work-around? It isn't very urgent, just
> wondering if someone has encountered it before.
> Thanks,
> Conor
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email (including any attached files) is for the intended
> recipient(s) only. If you received this email by mistake, please, as a

> courtesy, tell the sender, then delete this email.
>
> The views and opinions are the originator's and do not necessarily
> reflect those of the Queensland Studies Authority. All reasonable
> precautions have been taken to ensure that this email contained no
> viruses at the time it was sent.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>



--
Simon Brandhof, +41 78 653 09 49
Hortis, Consulting & Innovation team
Sonar , Open Source Quality Dashboard for Java projects
http://sonar.codehaus.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please, as a
courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please, as a
courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please, as a
courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended
recipient(s) only. If you received this email by mistake, please,
as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the Queensland Studies Authority. All reasonable
precautions have been taken to ensure that this email contained no
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


12