on 12-16-2008 11:24 PM
Hi guys,
I am running into an issue with ReportExportControl() in RAS SDK.
The PDF export works fine but in the tomcat log, I get the following exception
java.lang.IllegalStateException: getOutputStream() has already been called for this response.
...
The code looks like the following.
ReportExportControl expViewer = new ReportExportControl();
expViewer.setExportOptions(exOpts);
expViewer.setReportSource(clientDoc.getReportSource());
expViewer.setExportAsAttachment(false);
response.reset();
expViewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
expViewer.dispose();
Thanks,
Tim Kang
Hello Tim,
[SAP Note 1199025|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393339333033323335%7D.do]
Most Java Web App Servers merely log the exception, but a few stream the error out and corrupts the PDF file.
Hope all is well.
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.