Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7365

fonts.pdf Throw error on terminal

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: 16.11.01
    • Component/s: example
    • Labels:
      None

      Description

      Steps to regenerate the issue:
      1. Go to "EXAMPLE" component.
      2. Click on sub-menu "FOP fonts in a PDF"

      _____________________________________________________
      Direct link
      https://localhost:8443/example/control/fonts.pdf
      _____________________________________________________

        [java] 2016-06-13 19:25:34,639 |ttp-nio-8443-exec-10 |ScreenFopViewHandler          |E| Unable to write to OutputStream: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe; Screen XSL:FO text was:
          [java] <?xml version="1.0" encoding="UTF-8"?>
      
      [java] 2016-06-13 19:25:35,084 |ttp-nio-8443-exec-10 |ScreenFopViewHandler          |E| Multiple errors rendering FOP
          [java] 2016-06-13 19:25:35,085 |ttp-nio-8443-exec-10 |ControlServlet                |E| Error in request handler: 
          [java] java.lang.IllegalStateException: getOutputStream() has already been called for this response
          [java] at org.apache.catalina.connector.Response.getWriter(Response.java:564) ~[tomcat-8.0.33-catalina.jar:8.0.33]
          [java] at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:212) ~[tomcat-8.0.33-catalina.jar:8.0.33]
          [java] at org.ofbiz.widget.renderer.fo.ScreenFopViewHandler.renderError(ScreenFopViewHandler.java:191) ~[ofbiz-widget.jar:?]
          [java] at org.ofbiz.widget.renderer.fo.ScreenFopViewHandler.render(ScreenFopViewHandler.java:174) ~[ofbiz-widget.jar:?]
          [java] at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:1001) ~[ofbiz-webapp.jar:?]
          [java] at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:653) ~[ofbiz-webapp.jar:?]
          [java] at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) [ofbiz-webapp.jar:?]
          [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) [servlet-api-3.1.jar:?]
          [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api-3.1.jar:?]
      
          
      

        Attachments

          Activity

            People

            • Assignee:
              deepak.dixit Deepak Dixit
              Reporter:
              vaibhav.jain Vaibhav Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: