473,686 Members | 3,347 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"IllegalArgumen tException" error getting . While generating xls in ruby on rails

1 New Member
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.
Sep 30 '14 #1
0 6931

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

Similar topics

0
1540
by: deepakjgupta | last post by:
Hello all, We are using SQL Server 2000 (Enterprise Edition) Merge Replication to synchronize databases between a main server database and about 200 local MSDE databases. Recently, we upgraded our QA server from build 8.00.928 to SP4. Since then, the Snapshot Agent fails to create files on our File Server. We have checked and double-checked all permissions, shares, etc. But we keep getting the following error randomly on any step:
1
3264
by: Peter Krikelis | last post by:
Hi, I am trying to automate the Outlook so that I can get all new messages received and look at them. I have added refference "Microsoft Outlook 10.0 Object Library" and written code: private Outlook.Application oApp; private Outlook._NameSpace oNameSpace;
9
3398
by: madushan | last post by:
hi all , I try to generate .cs file from AxInterop.SHDocVw.dll by using the bellow command C:\Documents and Settings\malik\Desktop\Debug>aximp out:AxInterop.SHDocVw.dll /source but then bellow error is given error:Unhandled Exception: System.NotSupportedException: The given path's format is not supported. at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) at...
1
2337
by: Nathan Sokalski | last post by:
Visual Studio 2005 unexpectedly stopped generating the *.designer.vb files for *.aspx and *.ascx files. After a few days of frustration trying to fix this, I noticed that it had the following Warning in the Error List tab at the bottom of the screen: Generation of designer file failed: The relative virtual path '?/' is not allowed here. C:\Inetpub\wwwroot\CAT_aspnet\worldnews.aspx 0 0 CAT_aspnet
0
1762
by: rodeoval | last post by:
Can nyone tell me what is crypto/bss..because when creating a ssl certification I get the error as crypto/bss not found in system libraries..Cn nyone pls tell me what's wrong??Its urgent
5
2828
by: bvithya | last post by:
Hi Gurus, I am in need of your guidance. I have installed Perl5.8.8 on my server running with SunOS 5.8 and then I installed Spreadsheet::WriteExcel perl module. It has been installed successfully. Howver when I try to run a command to check whether it emails an excel sheet or not, it showed me the below. # /home/oracle8/oradba/admin/utils/sqlplus2xls/sqlplus2xls.pl ERROR (Missing Parameter): <config_file> not specified!
1
2390
by: neelsbr | last post by:
Error getting when i insert data after truncate the table.once more i truncate that table data is going otherwise it will show the error message. this is the error message i am getting .."Failed to read-auto increment storage engine." Can anyone help to sove this,pls reply as soon as possible. Thanks in advance
1
1805
by: Nandan n | last post by:
Hi., I have an ActiveX control which is been pin in the SolidWorks task pane. I am generating an excel and pdf report. The problem is i am able to generate excel report very fine in the first attempt, but when i try to generate again for the second time it s displaying error " Run- time error '440' Automation error" and another error "Run- time error '91' object variable or with block variable not set", if i reload the application twice it is...
0
1588
by: Amit Bobade | last post by:
I am new to ruby. I am using Selenium with ruby. There is a condition where I am checking for the equality of the strings. When I am equating the strings with assert_equal(String1, String2) Then it is showing error: AssertionFailedError So please tell me, when does "AssertionFailedError" error occur in ruby?
0
8584
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8516
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8768
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8778
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6440
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4308
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2205
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1934
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.