JasperReports 2.0.2: stack corruption

0
Hi,
 
With JasperReports application running locally on Websphere 5.1 server on XP Virtual Machine, I inconsistently get the following error:
 
StackRecorder E org.apache.commons.javaflow.bytecode.StackRecorder  stack corruption. Is class net.sf.jasperreports.engine.fill.JRContinuationSubreportRunner instrumented for javaflow?
StackRecorder E org.apache.commons.javaflow.bytecode.StackRecorder  TRAS0014I: The following exception was logged java.lang.IllegalStateException: stack corruption. Is class net.sf.jasperreports.engine.fill.JRContinuationSubreportRunner instrumented for javaflow?
at org.apache.commons.javaflow.bytecode.StackRecorder.execute(StackRecorder.java:102)
at org.apache.commons.javaflow.Continuation.continueWith(Continuation.java:170)
at org.apache.commons.javaflow.Continuation.startWith(Continuation.java:129)
at org.apache.commons.javaflow.Continuation.startWith(Continuation.java:102)
at net.sf.jasperreports.engine.fill.JRContinuationSubreportRunner.start(JRContinuationSubreportRunner.java:57)
at net.sf.jasperreports.engine.fill.JRFillSubreport.prepare(JRFillSubreport.java:597)
at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:344)
at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:346)
at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:305)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1382)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupHeader(JRVerticalFiller.java:591)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupHeaders(JRVerticalFiller.java:524)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:253)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:113)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:891)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:814)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
 
When switching to net.sf.jasperreports.engine.fill.JRThreadSubreportRunnerFactory everything works fine, but with net.sf.jasperreports.engine.fill.JRContinuationSubreportRunnerFactory sometimes it triggers the error and sometimes it doesn't. The same code, the same call, sometimes triggers the error, and sometimes doesn't, for a given report/section, depending on the data being passed. However, with Threads it works all the time.
 
Could it be related to limitations on the workstation itself?
 
I confirm javaflow jars are being used and also the code is successfully running with javaflow on production servers, we are only facing the issue with local environment.
 
Any ideas as to what might be causing this inconsistent behavior?
 
Regards,
frchabot's picture
Joined: May 17 2016 - 12:38pm
Last seen: 4 years 8 months ago

0 Answers:

No answers yet
Feedback
randomness