Javax.xml.stream.XMLStreamException: Precondition For ReadText Is NextEvent().getTypeEventType() == (Doc ID 1942677.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle WebLogic Server - Version 12.1.1.0 and later
Information in this document applies to any platform.

Symptoms

While using the java STAX parser in the application code through the use of the package javax.xml.stream.XMLEventReader provided by Java as the following:

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms