A fix is available
APAR status
Closed as program error.
Error description
This ClassCastException was seen when the logout feature was used on AndroidNative 08-29 18:07:46.948: W/System.err(6259): java.lang.ClassCastException: org.json.JSONObject$1 cannot be cast to java.lang.String 08-29 18:07:46.948: W/System.err(6259): at com.worklight.wlclient.api.WLPush.updateToken(WLPush.java:531) 08-29 18:07:46.948: W/System.err(6259): at com.worklight.wlclient.api.WLPush.updateNotificationSubscription State(WLPush.java:547) 08-29 18:07:46.948: W/System.err(6259): at com.worklight.wlclient.api.WLClient.setNotificationSubscriptionS tate(WLClient.java:969) 08-29 18:07:46.948: W/System.err(6259): at com.worklight.wlclient.WLRequest.requestFinished(WLRequest.java: 313) 08-29 18:07:46.948: W/System.err(6259): at com.worklight.wlclient.WLRequestSender.run(WLRequestSender.java: 52) 08-29 18:07:46.948: W/System.err(6259): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec utor.java:1112) 08-29 18:07:46.948: W/System.err(6259): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe cutor.java:587) 08-29 18:07:46.948: W/System.err(6259): at java.lang.Thread.run(Thread.java:818)
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * MobileFirst platform v71 - App users * **************************************************************** * PROBLEM DESCRIPTION: * * CLASSCASTEXCEPTION ON NATIVE ANDROID WHEN USING PUSH * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
Fixed problem by adding the required checks.
Temporary fix
Comments
APAR Information
APAR number
PI47853
Reported component name
MFPF/WORKLIGHT
Reported component ID
5725I4301
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2015-08-30
Closed date
2016-11-16
Last modified date
2016-11-16
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
MFPF/WORKLIGHT
Fixed component ID
5725I4301
Applicable component levels
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:
17 October 2021