Java User Exit Error: Exception in thread "main" java.lang.IllegalArgumentException: null source (Doc ID 2058850.1)

Last updated on JULY 17, 2017

Applies to:

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

Symptoms


We are running OGG Java Adapter:

***********************************************************************
  Oracle GoldenGate Capture
 Version 11.2.1.0.27 19591627 OGGCORE_11.2.1.0.0OGGBP_PLATFORMS_141006.1156
  Linux, x64, 64bit (optimized), Generic on Oct 6 2014 13:43:55
 
***********************************************************************
Oracle GoldenGate Java Adapter, 11.2.1.0.3.005
Copyright (c) 2007,2014. Oracle and/or its affiliates. All rights reserved
Built with Java 1.6.0_45 (class version: 50.0)
Java user-exit native library: 11.2.1.0.3.005 OGGADP_11.2.1.0.3_PLATFORMS_141115.1528
EnterpriseServer_R5-U8 [64 (64-bit); Java 6]; GG Java API: 11.2.1.0.3.005 (Build: 20141115_161228)

***********************************************************************

And we see these errors in the report and java logs:

Switching to next trail file /u01/app/oracle/GG/CST3/11_2_1_0_27_A/dirdat/ec000018 at 2015-09-15 16:44:42 due to EOF, with current RBA 1144
Opened trail file /u01/app/oracle/GG/CST3/11_2_1_0_27_A/dirdat/ec000018 at 2015-09-15 16:44:42

Exception in thread "main" java.lang.IllegalArgumentException: null source
....
Error occured in javawriter.c[752]:
***********************************************************************
Exception received rolling back transaction: java.lang.IllegalArgumentException: null source

 

The Adapter doesn't abend.  It continues to run and processes data to our target.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms