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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramesheee318
    New Member
    • Sep 2014
    • 1

    "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 = FontRenderConte xt.new(nil, true, true) OR frc = FontRenderConte xt.new(nil, false, false) .
    Problem: Some time not able to download (it's means some able to download )


    Error text:

    IllegalArgument Exception (AA hint:false):
    vendor/plugins/studec_reportin g/app/helpers/reporting_expor t_report_helper .rb:454:in `new'
    vendor/plugins/studec_reportin g/app/helpers/reporting_expor t_report_helper .rb:454:in `block in set_height_to_d escription_rows '
    vendor/plugins/studec_reportin g/app/helpers/reporting_expor t_report_helper .rb:433:in `each'
    vendor/plugins/studec_reportin g/app/helpers/reporting_expor t_report_helper .rb:433:in `set_height_to_ description_row s'
    vendor/plugins/studec_reportin g/app/helpers/reporting_expor t_report_helper .rb:142:in `export_to_xls'
    vendor/plugins/studec_reportin g/app/controllers/reporting_contr oller.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_inst rumentation.rb: 366:in `perform_action _with_newrelic_ trace'

    [ [ OR ] ]


    IllegalArgument Exception (AA hint:true):
    vendor/plugins/studec_reportin g/app/helpers/reporting_expor t_report_helper .rb:454:in `new'
    vendor/plugins/studec_reportin g/app/helpers/reporting_expor t_report_helper .rb:454:in `block in set_height_to_d escription_rows '
    vendor/plugins/studec_reportin g/app/helpers/reporting_expor t_report_helper .rb:433:in `each'
    vendor/plugins/studec_reportin g/app/helpers/reporting_expor t_report_helper .rb:433:in `set_height_to_ description_row s'
    vendor/plugins/studec_reportin g/app/helpers/reporting_expor t_report_helper .rb:142:in `export_to_xls'
    vendor/plugins/studec_reportin g/app/controllers/reporting_contr oller.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_inst rumentation.rb: 366:in `perform_action _with_newrelic_ trace'


    Note: Above error while generating the xls or xlsx.
Working...