WLW 8.1 - Serializing XML Bean documents greater 50kb in size leads to java.io.UTFDataFormatException
(Doc ID 773904.1)
Last updated on JULY 09, 2024
Applies to:
BEA WebLogic Workshop - Version All and laterInformation in this document applies to any platform.
Information in this document applies to any platform
Goal
DESCRIPTION: A stand alone Java program serializing a XML Bean greater than 50kb in size leads to the following error: <DIRECTORY>java Case443385.TrueLinkCreditReportTest java.io.UTFDataFormatException at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:1924) at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:1767) at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:787) at com.bea.xbean.values.XmlObjectBase$SerializedRootObject.writeObject(XmlObjectBase.java:2157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:795) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) at Case443385.TrueLinkCreditReportTest.testJavaObjectSerialization(TrueLinkCreditReportTest.java:77) at Case443385.TrueLinkCreditReportTest.main(TrueLinkCreditReportTest.java:27) CONFIGURATION: WLW 8.1
Solution
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
Goal |
Solution |