472,133 Members | 1,334 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,133 software developers and data experts.

"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 6049

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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.