This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Flying-saucer throws an unexpected error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Flying-saucer throws an unexpected error" Watch "Flying-saucer throws an unexpected error" New topic

Flying-saucer throws an unexpected error

Ahsan Bagwan
Ranch Hand

Joined: Oct 05, 2010
Posts: 153
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 . After searching through the web I found this mailing list discussion which tells to use R9 version .

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,

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12675
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.


Java Resources at
I agree. Here's the link:
subject: Flying-saucer throws an unexpected error
Similar Threads
Rendering PDF in browser using Flying Saucer
unable to send an email and update Database at a time
flying saucer not identifying   of html
retreiving String array from servlet
request.getAttribute returning null