IMC
cancel
Showing results for 
Search instead for 
Did you mean: 

HPE IMC 7.3 File not found when printing report

 
Kraftberg
Occasional Contributor

HPE IMC 7.3 File not found when printing report

Hello,

when I try to export/print a report based on the template "Unused Interfaces Report V2" I'm getting the a file not found error. I don't have this problem with other reports.

7 REPLIES 7
DLowery
HPE Pro

Re: HPE IMC 7.3 File not found when printing report

What version of IMC 7.3 are you using?  Are you able to export port to CSV or other than PDF format? 

There is a fix for PDF format being released in release IMC Platform E0605 P06 expected mid-October. 

I am an HPE Employee

Accept or Kudo

leandromarcal
Occasional Visitor

Re: HPE IMC 7.3 File not found when printing report

I got the exact same problem here. Cannot generate any report that uses pdf.

Kraftberg
Occasional Contributor

Re: HPE IMC 7.3 File not found when printing report

I have E0605 H05

DLowery
HPE Pro

Re: HPE IMC 7.3 File not found when printing report

Hi Kraftberg,

I did more testing and am getting the following error;

This site can’t be reached

The webpage at http://10.1.1.1:8080/rptviewer/servlets/reportexport?jr_ctxid=1539184669857&type=pdf&pageType=1  might be temporarily down or it may have moved permanently to a new web address.

ERR_INVALID_RESPONSE

  

c:\imc\client\log\imcforeground_2018-10-09.log;

 2018-10-09 13:36:12 [ERROR] [http-nio-8080-exec-9] [com.imc.rptviewer.servlet.CustomReportExportServlet::service] exporter exportReport error

net.sf.jasperreports.engine.JRRuntimeException: com.lowagie.text.DocumentException: Font '' with 'Cp1252' is not recognized.

at net.sf.jasperreports.engine.export.JRPdfExporter.getFont(JRPdfExporter.java:2301)

at net.sf.jasperreports.engine.export.JRPdfExporter.getChunk(JRPdfExporter.java:2069)

at com.imc.rptviewer.exporter.CustomJRPdfExporter.getChunk(CustomJRPdfExporter.java:100)

.

.

 

at java.lang.Thread.run(Thread.java:745)

Caused by: com.lowagie.text.DocumentException: Font '' with 'Cp1252' is not recognized.

at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source)

at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source)

at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source)

at net.sf.jasperreports.engine.export.JRPdfExporter.getFont(JRPdfExporter.java:2290)

... 32 more

 

I am testing this onIMC 7.3 E0605P04 Win2012 R2 server with local database. 

I have requested a fix for this. 

 

Is this different than the error you are seeing?   It is not 'File not found'. 

All other Resource Statistic Reports were able to export in PDF format. 

 

 

 

 

 

I am an HPE Employee

Accept or Kudo

DLowery
HPE Pro

Re: HPE IMC 7.3 File not found when printing report

Hi leandromarcal,

If you are unable to generate ANY report using PDF, it may be a different issue. 

Can you be more specific on version, report and error?  I would like to try to duplicate.

 

I am an HPE Employee

Accept or Kudo

Kraftberg
Occasional Contributor

Re: HPE IMC 7.3 File not found when printing report

The exact message I've got is:

Fehler: Datei nicht gefunden

Beim Verbinden mit 10.10.222.42:8443 trat ein Fehler auf.

    Bitte überprüfen Sie die Adresse auf Rechtschreib-, Groß-/Kleinschreibungs- oder andere Fehler.
    Bitte überprüfen Sie, ob die Adresse umbenannt, gelöscht oder verschoben wurde.

 

That's german and means "Error: File not found"

And I've got the same error in the imcforegorund.log:

2018-10-12 11:07:27 [ERROR] [http-nio-8443-exec-19] [com.imc.rptviewer.servlet.CustomReportExportServlet::service] exporter exportReport error
net.sf.jasperreports.engine.JRRuntimeException: com.lowagie.text.DocumentException: Font '' with 'Cp1252' is not recognized.
    at net.sf.jasperreports.engine.export.JRPdfExporter.getFont(JRPdfExporter.java:2301)
    at net.sf.jasperreports.engine.export.JRPdfExporter.getChunk(JRPdfExporter.java:2069)
    at com.imc.rptviewer.exporter.CustomJRPdfExporter.getChunk(CustomJRPdfExporter.java:100)
    at net.sf.jasperreports.engine.export.JRPdfExporter.getPhrase(JRPdfExporter.java:2038)
    at net.sf.jasperreports.engine.export.SimplePdfTextRenderer.getPhrase(SimplePdfTextRenderer.java:88)
    at net.sf.jasperreports.engine.export.SimplePdfTextRenderer.render(SimplePdfTextRenderer.java:99)
    at net.sf.jasperreports.engine.export.JRPdfExporter.exportText(JRPdfExporter.java:2393)
    at net.sf.jasperreports.engine.export.JRPdfExporter.exportElements(JRPdfExporter.java:1098)
    at net.sf.jasperreports.engine.export.JRPdfExporter.exportPage(JRPdfExporter.java:1057)
    at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:921)
    at com.imc.rptviewer.exporter.CustomJRPdfExporter.exportReportToStream(CustomJRPdfExporter.java:77)
    at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:538)
    at com.imc.rptviewer.servlet.CustomReportExportServlet.service(CustomReportExportServlet.java:344)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1775)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1734)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
Caused by: com.lowagie.text.DocumentException: Font '' with 'Cp1252' is not recognized.
    at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source)
    at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source)
    at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source)
    at net.sf.jasperreports.engine.export.JRPdfExporter.getFont(JRPdfExporter.java:2290)
    ... 32 more
2018-10-12 11:07:27 [ERROR] [http-nio-8443-exec-19] [org.apache.catalina.core.StandardWrapperValve::invoke] Servlet.service() for servlet [ReportExportServlet] in context with path [/rptviewer] threw exception
java.lang.IllegalStateException: getOutputStream() has already been called for this response
    at org.apache.catalina.connector.Response.getWriter(Response.java:662)
    at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:213)
    at com.imc.rptviewer.servlet.CustomReportExportServlet.service(CustomReportExportServlet.java:359)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1775)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1734)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)

DLowery
HPE Pro

Re: HPE IMC 7.3 File not found when printing report

Hello, 

I have received a fix for this issue.  It requires a database change.  It will be released in IMC Platform E0701 scheduled to be available before the end of the year.   If you would like a fix earlier, please open a case and have it elevated to ERT.  

I am an HPE Employee

I am an HPE Employee

Accept or Kudo