469,360 Members | 1,799 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,360 developers. It's quick & easy.

"IllegalArgumentException" error getting . While generating xls in ruby on rails

Hi Friends,

I have gone through many forums but haven't fix below Error.If anyhow know this solution.Please write ur text (Solution)

Application language: ruby on rails
Tools (java lib) : rjb
Error occurred place : frc = FontRenderContext.new(nil, true, true) OR frc = FontRenderContext.new(nil, false, false) .
Problem: Some time not able to download (it's means some able to download )


Error text:

IllegalArgumentException (AA hint:false):
vendor/plugins/studec_reporting/app/helpers/reporting_export_report_helper.rb:454:in `new'
vendor/plugins/studec_reporting/app/helpers/reporting_export_report_helper.rb:454:in `block in set_height_to_description_rows'
vendor/plugins/studec_reporting/app/helpers/reporting_export_report_helper.rb:433:in `each'
vendor/plugins/studec_reporting/app/helpers/reporting_export_report_helper.rb:433:in `set_height_to_description_rows'
vendor/plugins/studec_reporting/app/helpers/reporting_export_report_helper.rb:142:in `export_to_xls'
vendor/plugins/studec_reporting/app/controllers/reporting_controller.rb:415:in `get_report'
/usr/local/lib/ruby/gems/1.9.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:366:in `perform_action_with_newrelic_trace'

[ [ OR ] ]


IllegalArgumentException (AA hint:true):
vendor/plugins/studec_reporting/app/helpers/reporting_export_report_helper.rb:454:in `new'
vendor/plugins/studec_reporting/app/helpers/reporting_export_report_helper.rb:454:in `block in set_height_to_description_rows'
vendor/plugins/studec_reporting/app/helpers/reporting_export_report_helper.rb:433:in `each'
vendor/plugins/studec_reporting/app/helpers/reporting_export_report_helper.rb:433:in `set_height_to_description_rows'
vendor/plugins/studec_reporting/app/helpers/reporting_export_report_helper.rb:142:in `export_to_xls'
vendor/plugins/studec_reporting/app/controllers/reporting_controller.rb:415:in `get_report'
/usr/local/lib/ruby/gems/1.9.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:366:in `perform_action_with_newrelic_trace'


Note: Above error while generating the xls or xlsx.
Sep 30 '14 #1
0 5667

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Peter Krikelis | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.