You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Carsten Schinzer (Jira)" <ji...@apache.org> on 2024/10/10 21:22:00 UTC
[jira] [Created] (OFBIZ-13148) ControlServlet falls into error with Cookies log output when Debug log level is switched one
Carsten Schinzer created OFBIZ-13148:
----------------------------------------
Summary: ControlServlet falls into error with Cookies log output when Debug log level is switched one
Key: OFBIZ-13148
URL: https://issues.apache.org/jira/browse/OFBIZ-13148
Project: OFBiz
Issue Type: Bug
Components: framework/webapp
Reporter: Carsten Schinzer
Assignee: Carsten Schinzer
When running OfBiz with debug level logging, the ControlServlet on WebApp falls into a runtime error as follows when a web page is invoked:
Servlet.service() for servlet [ControlServlet] in context with path [/cdc-resmon] threw exception java.lang.ArrayStoreException: javax.servlet.http.Cookie
This is caused by the way Cookies are lined up to be streamed using a Cookie[].
instead, Cookies should be rendered to a Map before being streamed to String for logging.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)