This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Flying-saucer throws an unexpected error

 
Ranch Hand
Posts: 254
1
MySQL Database Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using flying-saucer to create a PDF on the server. I have written the program but it throws an unexpected error.

I am using the R8 version that can be found here http://code.google.com/p/flying-saucer/downloads/detail?name=flyingsaucer-R8.zip . After searching through the web I found this mailing list discussion which tells to use R9 version https://java.net/projects/xhtmlrenderer/lists/users/archive/2010-07/message/11 .

Now R9 version is only available in source when I searched their project on github. And I would like to use jar for R9 which is easier to add in the build path.

So my question is how do I go about resolving this error? Convert the R9 src to jar. I am using MyEclipse with Automatic Build option.

Any guidance would be deeply appreciated.

PS: Is this the appropriate forum. Or General Java forum for this question

My code and stack trace,



 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From this stack trace:


It appears that it was trying to layout a table but the input array only had one entry (which would be index 0 ).

If this was my problem I would try to investigate the data source that was supposed to provide that array.

Bill
 
Pay attention! Tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!