tradukisto icon indicating copy to clipboard operation
tradukisto copied to clipboard

Bug: InvocationTargetException using SPANISH_INTEGER and some others

Open joordonezoArago opened this issue 10 months ago • 0 comments

  • [x] I checked other issues and ensured that there are no duplicates.

Describe the bug ValueConverters converterCr = ValueConverters.SPANISH_INTEGER; does not work because I have a error exception java.lang.reflect.InvocationTargetException the problem is that the variable isn't available from static form with the message "No such static field: 'SPANISH_INTEGER'" like to some others CROATIAN_INTEGER, DUTCH_INTEGER, SLOVENE_INTEGER, HINDI_INTEGER, SWEDISH_INTEGER, JAPANESE_INTEGER the rest is ok and work.

To Reproduce Only use 'ValueConverters converterCr = ValueConverters.SPANISH_INTEGER;'

Expected behavior At the use 'ValueConverters converterCr = ValueConverters.SPANISH_INTEGER;' It should return the object SPANISH_INTEGER with properties 'converter, languageCodes, name, ordinal'

System details:

  • OS: windows 10
  • JVM: openjdk version "17.0.8" 2023-07-18 LTS OpenJDK Runtime Environment SapMachine (build 17.0.8+7-LTS) OpenJDK 64-Bit Server VM SapMachine (build 17.0.8+7-LTS, mixed mode, sharing)

Additional context I'm using Tradukisto 3.1.0 version using maven repository.

Thank you in advance!

joordonezoArago avatar Apr 09 '24 13:04 joordonezoArago