File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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
Author

Flying-saucer throws an unexpected error

Ahsan Bagwan
Ranch Hand

Joined: Oct 05, 2010
Posts: 157
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

Joined: Mar 22, 2000
Posts: 12761
    
    5
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
 
subject: Flying-saucer throws an unexpected error
 
Similar Threads
unable to send an email and update Database at a time
flying saucer not identifying   of html
retreiving String array from servlet
Rendering PDF in browser using Flying Saucer
request.getAttribute returning null