IBM Support

PI48849: ERROR OCCURS WITH JSONSTORE WHEN ANDROID DEVICES USE TURKISH LANGUAGE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using JSONStore, such as with the sample provided in the
    product documentation, the following error occurs when the
    Android device uses the Turkish language (and possibly other
    non-English languages):
    
    07-24 11:06:18.059: E/JSONSTORE(2175): JSONStoreLogger.logError
    in
    JSONStoreLogger.java:189 :: Error validating schema
    07-24 11:06:18.059: E/JSONSTORE(2175):
    java.lang.IllegalArgumentException: STRING is not a constant in
    com.worklight.jsonstore.database.SearchFieldType
    07-24 11:06:18.059: E/JSONSTORE(2175):  at
    java.lang.Enum.valueOf(Enum.java:198)
    07-24 11:06:18.059: E/JSONSTORE(2175):  at
    com.worklight.jsonstore.database.SearchFieldType.valueOf(SearchF
    ieldType
    .java:14)
    
    Also, the client displays PERSISTENT_STORE_FAILURE.
    

Local fix

  • The only known work around is to set the device to use the
    English language.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Application developers who are using JSONStore using Turkish *
    * Locale in Android.                                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * JSONStore in Android will crash stating that "X" search      *
    * field is not defined due to Java6 and above not properly     *
    * converting turkish unicode.                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • JSONStore now uses english locale for all JSONStore defined
    strings or user strings to fix languages sensitivity.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI48849

  • Reported component name

    WL/MFPF ENTERPR

  • Reported component ID

    5725I4300

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-09-16

  • Closed date

    2015-09-27

  • Last modified date

    2015-09-27

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WL/MFPF ENTERPR

  • Fixed component ID

    5725I4300

Applicable component levels

  • R620 PSY

       UP

  • R630 PSY

       UP

  • R700 PSY

       UP

  • R710 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"700","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2021