Jump to content
We've recently updated our Privacy Statement, available here ×

timkuntz

Members
  • Posts

    2
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by timkuntz

  1. I have a report with subreport(s) that hangs my application when certain data conditions occur. The hang is due to the following call to Object.wait() in the JRThreadSubReportRunner.waitResult method.

     

    --- code snippet ---

    // waiting for the subreport fill thread to fill the current page

    subreportFiller.wait();

    // FIXME maybe this is useless since you cannot enter

    // the synchornized bloc if the subreport filler hasn't

    // finished the page and passed to the wait state.

    --- code snippet ---

     

    The FIXME in the code hinted at being able to remove the wait... which I did... which fixes the problem! Does anyone know if I'm setting myself up for other problems by doing so?

     

    Thanks,

    Tim

×
×
  • Create New...