• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Flying-saucer throws an unexpected error

 
Ahsan Bagwan
Ranch Hand
Posts: 247
1
Java MySQL Database Ubuntu
  • 0
  • 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,



 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic