[ https://issues.apache.org/jira/browse/OFBIZ-13067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux updated OFBIZ-13067: ------------------------------------ Labels: docbook.css (was: ) > Error while rendering content [APACHE_OFBIZ_HTML] > ------------------------------------------------- > > Key: OFBIZ-13067 > URL: https://issues.apache.org/jira/browse/OFBIZ-13067 > Project: OFBiz > Issue Type: Bug > Components: content > Affects Versions: 18.12.12 > Reporter: Jacques Le Roux > Priority: Minor > Labels: docbook.css > Fix For: 18.12.13 > > > This error exists only in R18.12 and it clutters the logs a bit. > 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: > {code:java} > } else if ("XSLT".equals(dataTemplateTypeId)) { > File targetFileLocation = new > File(System.getProperty("ofbiz.home")+"/runtime/tempfiles/docbook.css"); > {code} > That's in DataResourceWorker.java[725] > > But the error appears elsewhere (see end of log below): > > {noformat} > (No such file or directory)) > at org.apache.ofbiz.content.cms.CmsEvents.cms(CmsEvents.java:327) > ~[ofbiz.jar:?] > {noformat} > > Here the complete log error: > {noformat} > 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:?] > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)