My Oracle Support Banner

Error "java.lang.NoSuchMethodError: oracle.i18n.text.converter.CharacterConverterOGS.getInstance" (Doc ID 465177.1)

Last updated on MAY 31, 2023

Applies to:

JDBC - Version 11.1.0.6 and later
Information in this document applies to any platform.

Symptoms

When the application uses the Oracle Globalization Development Kit (GDK) orai18n library classes OraSimpleDateFormat, OraDateFormat or OraNumberFormat to perform date and number formatting with the familiar Oracle TO_CHAR format models rather than using Java equivalents, the application fails with:

    java.lang.NoSuchMethodError: oracle.i18n.text.converter.CharacterConverterOGS.getInstance(I)Loracle/i18n/text/converter/CharacterConverter;
        at oracle.sql.converter.CharacterConverterFactoryOGS.make(CharacterConverterFactoryOGS.java:43)
        at oracle.sql.CharacterSetWithConverter.getInstance(CharacterSetWithConverter.java:95)
        at oracle.sql.CharacterSetFactoryThin.make(CharacterSetFactoryThin.java:126)
        at oracle.sql.CharacterSet.make(CharacterSet.java:447)
        at oracle.sql.CHAR.<clinit>(CHAR.java:66)
        at oracle.jdbc.oracore.OracleTypeCHAR.toDatum(OracleTypeCHAR.java:142)
        at oracle.sql.StructDescriptor.toOracleArray(StructDescriptor.java:719) 
        at oracle.sql.StructDescriptor.toArray(StructDescriptor.java:1286)
        at oracle.sql.STRUCT.<init>(STRUCT.java:156)
        <... application specific methods ...>



Changes

The JDBC/Thin driver was upgraded.

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
References

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