The error ogg-01184 expected 4 bytes but got 0 bytes in trail is a distress signal from your GoldenGate trail file. It indicates an incomplete or truncated write operation. While intimidating, it is recoverable through careful use of logdump, transaction skipping, or file recovery.
To avoid OGG-01184 in production:
# Graceful recovery for OGG-01184 on Replicat REP1 reading rt000002
stop replicat rep1
alter replicat rep1, extseqno 000003, extrba 0
start replicat rep1
info replicat rep1, detail