permaculture playing cards
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
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: 245

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: 13037
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.

I agree. Here's the link:
subject: Flying-saucer throws an unexpected error
It's not a secret anymore!