You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At org.springframework.web.servlet.view.jasperreports.AbstractJasperReportsView the method:
"protected final JasperReport loadReport(Resource resource)"
should close the InputStream (from resource.getInputStream()) after load the JasperReport.
This cause a warning:
"WARNING: Input stream has been finalized or forced closed without being explicitly closed; stream instantiation reported in following stack trace"
at glassfish after redeploy.
This seems to be an issue with the JasperReports 3.x generation only. With JasperReports 2.0.5 (which is still the version that we officially support), the JRLoader class did close a given InputStream itself.
So to some degree, this is about general support for JasperReports 3.x in Spring. I'll try to roll that into Spring 3.0.2 still. Let me know if you are indeed using that version of JasperReports...
Leandro Borges opened SPR-7048 and commented
At org.springframework.web.servlet.view.jasperreports.AbstractJasperReportsView the method:
"protected final JasperReport loadReport(Resource resource)"
should close the InputStream (from resource.getInputStream()) after load the JasperReport.
This cause a warning:
"WARNING: Input stream has been finalized or forced closed without being explicitly closed; stream instantiation reported in following stack trace"
at glassfish after redeploy.
Affects: 2.5.6
Referenced from: commits fba8bcc
The text was updated successfully, but these errors were encountered: