473,587 Members | 2,487 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 6920

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

Similar topics

0
1538
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...
1
3262
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
3397
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...
1
2336
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....
0
1760
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
2819
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. #...
1
2386
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
1803
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...
0
1583
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
8215
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8347
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7973
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...
0
8220
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...
0
6626
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5394
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3844
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...
0
3879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1189
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...

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.