ERROR Calling Element "java.lang.IllegalStateException: Illegal to call getOutputStream() after getWriter() has been called"
(Doc ID 2848753.1)
Last updated on JUNE 20, 2023
Applies to:
Oracle WebCenter Sites - Version 12.2.1.4.0 and laterInformation in this document applies to any platform.
Symptoms
An ERROR "java.lang.IllegalStateException: Illegal to call getOutputStream() after getWriter() has been called" in the logs is seen for an Element when request uses HEAD method
e.g.
HEAD /sites/ContentServer?pagename=TestElement1
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |