Quantcast

[sonar-dev] const_missing

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[sonar-dev] const_missing

Ann Campbell
I came in this morning to a frozen laptop (they pushed out updates last night :-/)

After the reboot, my browser offered to restore the previous session. I took it up on the offer. 

The restored window for the project dashboard with the widgets I've been working on gave me a 500 error & this in sonar.log:

2012.06.20 08:18:34 ERROR o.s.s.ui.JRubyFacade  Fail to render: http://localhost:9000/dashboard/index/3600?did=1
uninitialized constant ActiveSupport::Multibyte
org/jruby/RubyModule.java:2526:in `const_missing'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb:11:in `quote'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/gems/activerecord-jdbc-adapter-1.1.3/lib/arjdbc/mysql/adapter.rb:138:in `quote'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/base.rb:2992:in `attributes_with_quotes'
org/jruby/RubyArray.java:1602:in `each'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/base.rb:2983:in `attributes_with_quotes'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/base.rb:2881:in `update'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb:70:in `update_with_lock'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/dirty.rb:146:in `update_with_dirty'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/timestamp.rb:64:in `update_with_timestamps'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/callbacks.rb:282:in `update_with_callbacks'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/base.rb:2874:in `create_or_update'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/callbacks.rb:250:in `create_or_update_with_callbacks'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/base.rb:2538:in `save'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/validations.rb:1078:in `save_with_validation'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/dirty.rb:79:in `save_with_dirty'
org/jruby/RubyKernel.java:2056:in `send'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/transactions.rb:182:in `transaction'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/transactions.rb:196:in `save_with_transactions'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/transactions.rb:196:in `save_with_transactions'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/vendor/plugins/restful_authentication/lib/authentication/by_cookie_token.rb:46:in `refresh_token'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/lib/authenticated_system.rb:174:in `handle_remember_cookie!'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/lib/authenticated_system.rb:130:in `login_from_cookie'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/lib/authenticated_system.rb:11:in `current_user'
C:/sonar/sonar-3.1-RC2/war/sonar-server/WEB-INF/app/controllers/application_controller.rb:97:in `check_authentication'
org/jruby/RubyKernel.java:2052:in `send'

After a trip to localhost:9000 that dashboard rendered fine. So apparently there's something that gets set up by rendering the front page that's needed but not set up by other pages...?

Not a big deal to me. I don't anticipate ever seeing this in production. But I thought I'd report it.


--
G. Ann Campbell
Sr. Systems Engineer, IS Production Systems - Shop Floor Systems
Shaw Industries Inc,
201 S. Hamilton St.
Dalton Ga 30720


**********************************************************
Privileged and/or confidential information may be contained in this message. If you are not the addressee indicated in this message (or are not responsible for delivery of this message to that person) , you may not copy or deliver this message to anyone. In such case, you should destroy this message and notify the sender by reply e-mail.
If you or your employer do not consent to Internet e-mail for messages of this kind, please advise the sender.
Shaw Industries does not provide or endorse any opinions, conclusions or other information in this message that do not relate to the official business of the company  or its subsidiaries.
**********************************************************

Loading...