ERROR AbstractThreadSubreportRunner- java.lang.InterruptedException

0

Intro: Well im new at JasperReport and at the bussiness that im working the project is using jasper 5.5.2 version. Glassfish Server (3 GB of RAM for the JVM)

Detail: Im trying to generate a report that consist of 4 subreports, and that subreport consist of a lot of subreports more. The requeriment is to generate a PDF file with a lot  of pages (the 4 subreports, 2 of them have only one page, and the other two can have multiple pages) per person in a specific state. For example, the "Julia's Saint Av." have 983 people and the File is generated correctly, but when im trying to generate the files for the "Richardson AV." that have 1458 people the exception come up:

 

Información:   2016-05-11 21:20:26 ERROR AbstractThreadSubreportRunner:99 - Fill 23085: exception
java.lang.InterruptedException
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:502)
    at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.waitResult(AbstractThreadSubreportRunner.java:81)
    at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.resume(AbstractThreadSubreportRunner.java:68)
    at net.sf.jasperreports.engine.fill.JRFillSubreport.prepare(JRFillSubreport.java:746)
    at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:331)
    at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:384)
    at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:358)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2091)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:778)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:308)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:155)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:932)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:845)
    at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:87)
    at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:446)
    at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:276)
    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:745)
Grave:   net.sf.jasperreports.engine.JRRuntimeException: Error encountered while waiting on the report filling thread.
    at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.waitResult(AbstractThreadSubreportRunner.java:103)
    at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.resume(AbstractThreadSubreportRunner.java:68)
    at net.sf.jasperreports.engine.fill.JRFillSubreport.prepare(JRFillSubreport.java:746)
    at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:331)
    at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:384)
    at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:358)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2091)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:778)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:308)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:155)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:932)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:845)
    at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:87)
    at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:446)
    at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:276)
    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:745)

PD: Sorry for my english :)

andre_alvarado's picture
Joined: May 11 2016 - 7:36pm
Last seen: 3 years 2 months ago

1 Answer:

0

FIXED

The solution was to set the request timeout  property to -1 on glassfish.

andre_alvarado's picture
Joined: May 11 2016 - 7:36pm
Last seen: 3 years 2 months ago
Feedback