Error
java.io.StreamCorruptedException: unexpected block dataat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1364)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)
APPLIES TO:
Oracle Commerce Platform - Version 9.4 and laterInformation in this document applies to any platform.
Cause
This error is because your particular Repository in ACC is not able to find particular class to load the properties of the xml.
e.g when you click on Users or Orders in ACC, above error appears in front of you.
e.g when you click on Users or Orders in ACC, above error appears in front of you.
Solution
So the solution is , find out if there are any external classes used for your repository. In my case pci encryption was used to encrypt password in UserProfile.xml and ACC was not able to locate that class when loading the particular repository.
So Add following lines in pci encryption module :
Go to encryption module MANIFEST.MF file
Add line ATG-Client-Class-Path: bin/ config/config.jar lib/classes.jar
Build project wit ANT and restart the server.
Cheers!!!
No comments:
Post a Comment