Jump to content

Report Hangs App on Object.wait()


Recommended Posts

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


// 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?




Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...