My Oracle Support Banner

AutoVue Log4j-roll Is Not Logging Anything Giving "ERROR com.fasterxml.jackson.core.JsonGenerationException: Underlying Stax XMLStreamWriter" (Doc ID 2993812.1)

Last updated on DECEMBER 18, 2023

Applies to:

Oracle Autovue for Agile Product Lifecycle Management - Version 21.0.2 and later
Information in this document applies to any platform.

Symptoms

After upgrade to AutoVue for Agile version 21.0.1.8 (RUP 8)
the following error occurs in the log4j-rollx.log which is located under [agile home]\AVS\bin\Logs

Error:
DocServer 5 Error Stream ERROR com.fasterxml.jackson.core.JsonGenerationException: Underlying Stax XMLStreamWriter (of type com.sun.xml.internal.stream.writers.XMLStreamWriterImpl) does not implement Stax2 API natively and is missing method 'writeRaw': this breaks functionality such as indentation that relies on it. You need to upgrade to using compliant Stax implementation like Woodstox or Aalto com.fasterxml.jackson.core.JsonGenerationException: Underlying Stax XMLStreamWriter (of type com.sun.xml.internal.stream.writers.XMLStreamWriterImpl) does not implement Stax2 API natively and is missing method 'writeRaw': this breaks functionality such as indentation that relies on it. You need to upgrade to using compliant Stax implementation like Woodstox or Aalto
at com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator._reportUnimplementedStax2(ToXmlGenerator.java:1396)
at com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.writeRaw(ToXmlGenerator.java:827)
at com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter$Lf2SpacesIndenter.writeIndentation(DefaultXmlPrettyPrinter.java:544)
at com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.writeStartObject(DefaultXmlPrettyPrinter.java:196)
at com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.writeStartObject(ToXmlGenerator.java:566)
at com.fasterxml.jackson.dataformat.xml.ser.XmlBeanSerializer.serialize(XmlBeanSerializer.java:125)
at com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider.serializeValue(XmlSerializerProvider.java:108)


Steps:
1. Upgrade to AutoVue for Agile version 21.0.1.8 on Linux (Using upgrade option and not new install)
2. Start the AutoVue server
3. View log4j-roll.log under [agile home]\AVS\bin\Logs


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.