rsharma Posted August 29, 2007 Share Posted August 29, 2007 We are getting java.lang.InterruptedException from net.sf.jasperreports.engine.fill.JRThreadSubreportRunner in our logs while using the jasperreports, though the pdfs are getting generated fine. Wanted to know if we should be concerned about it and any resolution. Log details are attached alongwith. Many Thanks! [file name=InterruptedException.txt size=3787]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/InterruptedException.txt[/file] Link to comment Share on other sites More sharing options...
einstein_mic Posted November 22, 2007 Share Posted November 22, 2007 Hi I found the same problem and my application seems never ended.Any idea about the problem. I've a multithread application using a pool of threads from JDK 1.5.Every thread of the pool is responsible for the generation of one PDF.Attached you can find error message.I know that all the PDF were generated but I don't know if they are ok, because I've 10000 PDF and I cannot check all them. [file name=error-d6da3adaf8b79235e0d76c4757a95eaa.txt size=1390]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/error-d6da3adaf8b79235e0d76c4757a95eaa.txt[/file] Link to comment Share on other sites More sharing options...
jbuberel Posted December 26, 2007 Share Posted December 26, 2007 In my case, these exceptions were being caused by uncaught exceptions being thrown from within a custom chart scriptlet referenced by the JRXML file. The chart scriptlet was throwing a NullPointerException that was not being caught or logged. This appears to send the interrupt signal to the thread that Jasper has created to perform the sub-report filling work. I tracked it down by wrapping my entire scriptlet's invocation with a try/catch Throwable and then narrowed down the offending code from there. Hope this information helps,Jason Link to comment Share on other sites More sharing options...
villanueva.ricardo Posted January 21, 2013 Share Posted January 21, 2013 Hi. I resolved a similar case. the exception was caused by the sumatory of heights of every band was higher that height of the page. I had to calculate the height available for the subreport and I configured in the height of the band "detail" of the subReport. Hope this information helps,Ricardo Villanueva Link to comment Share on other sites More sharing options...
villanueva.ricardo Posted January 21, 2013 Share Posted January 21, 2013 Hi. I resolved a similar case. the exception was caused by the sumatory of heights of every band was higher that height of the page. I had to calculate the height available for the subreport and I configured in the height of the band "detail" of the subReport. Hope this information helps,Ricardo Villanueva Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now