My Oracle Support Banner

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 later
Information 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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.