A fix is available
APAR status
Closed as program error.
Error description
After installed the latest ifix: 6.2.0.1-IF201507302030, the app failed to run on Android device with the following error: com.worklight.common.Logger$UncaughtExceptionHandler(5302): Logger$UncaughtExceptionHandler.uncaughtException in Logger.java:403 :: Uncaught Exception com.worklight.common.Logger$UncaughtExceptionHandler(5302): java.lang.NumberFormatException: Invalid long: "sourceName" com.worklight.common.Logger$UncaughtExceptionHandler(5302): at java.lang.Long.invalidLong(Long.java:124) com.worklight.common.Logger$UncaughtExceptionHandler(5302): at java.lang.Long.parse(Long.java:363) com.worklight.common.Logger$UncaughtExceptionHandler(5302): at java.lang.Long.decode(Long.java:177) com.worklight.common.Logger$UncaughtExceptionHandler(5302): at org.apache.cordova.CordovaPreferences.getInteger(CordovaPreferen ces.java:73) com.worklight.common.Logger$UncaughtExceptionHandler(5302): at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java: 369)
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Users who uses the config.xml to set the splashscreen and * * have applied the WORKLIGHT 6.2.0.1-IF201507302030 IFIX * **************************************************************** * PROBLEM DESCRIPTION: * * After applying WORKLIGHT 6.2.0.1-IF201507302030 IFIX, the * * way preferences in the config.xml were parsed has changed. * * This brought to light a bug that was missed when setting the * * splashscreen preference, when passed the name of the * * splashscreen file. The parsing of the splashscreen * * preference was checking for an integer instead of a string, * * so when the string name was passed to it, the * * java.lang.NumberFormationException occurs. * **************************************************************** * RECOMMENDATION: * * - * ****************************************************************
Problem conclusion
Changing the parsing to check for a string instead of an integer allows the splashscreen to show and the application to run. After installing this iFix, rebuild the application.
Temporary fix
Comments
APAR Information
APAR number
PI46986
Reported component name
MFPF/WORKLIGHT
Reported component ID
5725I4301
Reported release
620
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-08-14
Closed date
2015-08-28
Last modified date
2015-08-28
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
R620 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
17 October 2021