2005 IR Help Posted August 27, 2006 Share Posted August 27, 2006 By: Shirley Goldrei - shirley Deadlock 2004-06-10 19:23 I have a report with subreports nested three deep (four if you include the top-level main report; but I don't think the depth itself is an issue here). One of the subreports has two columns. When I set the printOrder to Horizontal for that subreport only, the report filling deadlocks (see stack trace attached). {BTW: There is no deadlock when set to vertical fill} Anyone have any ideas about how to fix this? Many thanks, Shirley P.S. I've looked at other posts regarding suspected deadlocks but the only one that has been resolved was an infinite loop (related to page and band heights) and was not a thread deadlock. Thread [main] (Suspended) Object.wait(long) line: not available [native method] JRVerticalFiller(Object).wait() line: 429 JRFillSubreport.prepare(int, boolean) line: 508 JRFillBand.prepareElements(int, boolean) line: 558 JRFillBand.fill(int, boolean) line: 475 JRFillBand.fill(int) line: 446 JRVerticalFiller.fillColumnBand(JRFillBand, byte) line: 1124 JRVerticalFiller.fillDetail() line: 641 JRVerticalFiller.fillReportStart() line: 266 JRVerticalFiller.fillReport() line: 174 JRVerticalFiller(JRBaseFiller).fill(Map, JRDataSource) line: 542 JRFiller.fillReport(JasperReport, Map, JRDataSource) line: 159 JasperFillManager.fillReport(JasperReport, Map, JRDataSource) line: 350 JasperFillManager.fillReportToFile(JasperReport, String, Map, JRDataSource) line: 271 JasperFillManager.fillReportToFile(String, String, Map, JRDataSource) line: 257 ReportApp.main(String[]) line: 158 Thread [Thread-0] (Suspended) Object.wait(long) line: not available [native method] JRHorizontalFiller(Object).wait() line: 429 [local variables unavailable] JRFillSubreport.prepare(int, boolean) line: 508 JRFillBand.prepareElements(int, boolean) line: 558 JRFillBand.fill(int, boolean) line: 475 JRFillBand.fill(int) line: 446 JRVerticalFiller.fillColumnBand(JRFillBand, byte) line: 1124 JRVerticalFiller.fillDetail() line: 641 JRVerticalFiller.fillReportContent() line: 287 JRVerticalFiller.fillReport() line: 178 JRVerticalFiller(JRBaseFiller).fill(Map, JRDataSource) line: 542 JRFillSubreport.run() line: 415 Thread.run() line: 534 [local variables unavailable] Thread [Thread-2] (Suspended) Object.wait(long) line: not available [native method] JRVerticalFiller(Object).wait() line: 429 [local variables unavailable] JRFillSubreport.prepare(int, boolean) line: 508 JRFillBand.prepareElements(int, boolean) line: 558 JRFillBand.fill(int, boolean) line: 475 JRFillBand.fill() line: 435 JRHorizontalFiller.fillFixedBand(JRFillBand, byte) line: 1188 JRHorizontalFiller.fillDetail() line: 661 JRHorizontalFiller.fillReportContent() line: 290 JRHorizontalFiller.fillReport() line: 181 JRHorizontalFiller(JRBaseFiller).fill(Map, JRDataSource) line: 542 JRFillSubreport.run() line: 415 Thread.run() line: 534 [local variables unavailable] Thread [Thread-5] (Suspended) Object.wait(long) line: not available [native method] JRVerticalFiller(Object).wait() line: 429 [local variables unavailable] JRVerticalFiller.addPage(boolean) line: 964 JRVerticalFiller.fillPageBreak(boolean, byte, byte) line: 1034 JRVerticalFiller.fillColumnBreak(byte, byte) line: 1056 JRVerticalFiller.fillDetail() line: 623 JRVerticalFiller.fillReportContent() line: 287 JRVerticalFiller.fillReport() line: 178 JRVerticalFiller(JRBaseFiller).fill(Map, JRDataSource) line: 542 JRFillSubreport.run() line: 415 Thread.run() line: 534 [local variables unavailable] By: Shirley Goldrei - shirley RE: Deadlock 2004-09-23 21:35 I have tried the lastest version of Jasper Reports 0.6.1. and this problem still exists. Has anyone experienced this problem or can shed some light on it's cause? Any help would be much appreciated. Shirley. 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