My Oracle Support Banner

Big Data Adapter StringSerializer, Replicat Abends Java Or JNI Exception: Oracle.goldengate.util.GGExcept (Doc ID 2218520.1)

Last updated on MAY 11, 2022

Applies to:

Oracle GoldenGate Application Adapters - Version and later
Information in this document applies to any platform.


Your Big Data Adapter v12.3 to Kafka REPLICAT:

Oracle GoldenGate Delivery
Linux, x64, 64bit (optimized), Generic on Oct 19 2016 16:26:25

Oracle GoldenGate Java Adapter,
Copyright (c) 2007, 2016. Oracle and/or its affiliates. All rights reserved
Built with Java 1.8.0_92 (class version: 52.0)

is abending with:

Exception in thread "main" oracle.goldengate.util.GGException: Unable to process operation, Status='ABEND': tx=00000000000000014000 / op=00000000000000014000 : see the Java application log file for details.

And <replicat_name>_info_log4j.log shows:

INFO 2016-12-21 10:26:23,616 [main] Creating JSON schema for table <owner_name>.<table_name> in file ./dirdef/<owner_name>.<table_name>.schema.json
ERROR 2016-12-21 10:26:23,655 [main] An exception occurred performing a non-blocking send to Kafka.
org.apache.kafka.common.errors.SerializationException: Can't convert key of class [B to class org.apache.kafka.common.serialization.StringSerializer specified in key.serializer
WARN 2016-12-21 10:26:23,656 [main] Error sending event to handler: status=ABEND, event=Add operation, handler=kafkahandler
ERROR 2016-12-21 10:26:23,656 [main] Unable to process operation, Status='ABEND': tx=00000000000000014000 / op=00000000000000014000 :

It’s working fine when is configured to use ByteArraySerializer. But if it is changed to StringSerializer:


the abend occurs.




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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.