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

Error while rendering content [APACHE_OFBIZ_HTML]

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Information Provided
    • 18.12.12
    • 18.12.13
    • content

    Description

      This error exists only in R18.12 and it clutters the logs a bit. The UI ERROR MESSAGE is java.lang.StackOverflowError

      I have yet no idea how to reproduce it.

      It seems related to CmsEvents.java and a "XSLT" template. It's the only place where "runtime/tempfiles/docbook.css" is created:

                  } else if ("XSLT".equals(dataTemplateTypeId)) {
                      File targetFileLocation = new File(System.getProperty("ofbiz.home")+"/runtime/tempfiles/docbook.css");
      

      That's in DataResourceWorker.java[725]

       

      But the error appears elsewhere (see end of log below):

      (No such file or directory))
      at org.apache.ofbiz.content.cms.CmsEvents.cms(CmsEvents.java:327) ~[ofbiz.jar:?]
      

       

       Here the complete log error:

      2024-04-24 10:25:31,020 |0.0.0.0-8009-exec-20 |RequestHandler |E| Request cms caused an error with the following message: Erreur lors de l'appel de l'événement: org.apache.ofbiz.webapp.event.EventHandlerException: Problems processing event: org.apache.ofbiz.base.util.GeneralRuntimeException: Error in the response writer/output stream while rendering content [APACHE_OFBIZ_HTML] with path alias [APACHE_OFBIZ_HTML] (/ofbiz/runtime/tempfiles/docbook.css (No such file or directory)) (Error in the response writer/output stream while rendering content [APACHE_OFBIZ_HTML] with path alias [APACHE_OFBIZ_HTML] (/ofbiz/runtime/tempfiles/docbook.css (No such file or directory)))
      2024-04-24 10:25:31,025 |0.0.0.0-8009-exec-20 |JavaEventHandler |E| Problems Processing Event
      org.apache.ofbiz.base.util.GeneralRuntimeException: Error in the response writer/output stream while rendering content [APACHE_OFBIZ_HTML] with path alias [APACHE_OFBIZ_HTML] (/ofbiz/runtime/tempfiles/docbook.css (No such file or directory))
      at org.apache.ofbiz.content.cms.CmsEvents.cms(CmsEvents.java:327) ~[ofbiz.jar:?]
      

      Attachments

        Activity

          People

            jleroux Jacques Le Roux
            jleroux Jacques Le Roux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: