My Oracle Support Banner

KafKa:Replicat Is Abended With The Template Name Mapper Failed To Resolve The Staticly Mapped Value The Table Name Object Is Null (Doc ID 2542949.1)

Last updated on APRIL 17, 2023

Applies to:

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

Symptoms

Replicat at Kafka side is abended with the following errors:

ERROR 2019-04-18 09:16:07.000069 [main] - The template name mapper failed to resolve the staticly mapped value.  The table name object is null.
Exception in thread "main" oracle.goldengate.util.GGException: The template name mapper failed to resolve the staticly mapped value.  The table name object is null.
at oracle.goldengate.datasource.mapping.StaticMapMappingMethodology.performMapping(StaticMapMappingMethodology.java:45)

2019-04-15 15:16:29  ERROR   OGG-15051  Java or JNI exception:
oracle.goldengate.util.GGException: The template name mapper failed to resolve the staticly mapped value.  The table name object is null.

Here is the kafka.props:

gg.handlerlist=kafkahandler
gg.handler.kafkahandler.type=kafka
gg.handler.kafkahandler.KafkaProducerConfigFile=custom_kafka_producer.properties
--gg.handler.kafkahandler.TopicName=ogg1
gg.handler.kafkahandler.topicMappingTemplate=${staticMap[jo.t1=ogg1,jo.t2=ogg2]}
--gg.handler.kafkahandler.topicMappingTemplate=${ogg1}
--gg.handler.kafkahandler.topicMappingTemplate=${staticMap[jo.t1=ogg1,jo.t2=ogg2]}
gg.handler.kafkahandler.format=json
--gg.handler.kafkahandler.topicPartitioning=table
gg.handler.kafkahandler.SchemaTopicName=tpcSchemaTopic
gg.handler.kafkahandler.BlockingSend=false
gg.handler.kafkahandler.includeTokens=false
gg.handler.kafkahandler.mode=tx
goldengate.userexit.timestamp=utc
goldengate.userexit.writers=javawriter
javawriter.stats.display=TRUE
javawriter.stats.full=TRUE
gg.log=log4j
gg.log.level=DEBUG
gg.report.time=30sec
gg.classpath=dirprm/:/usr/hdp/2.2.0.0-2041/kafka/libs/*
javawriter.bootoptions=-Xmx512m -Xms32m -Djava.class.path=ggjava/ggjava.jar

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


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