Fixes are available
APAR status
Closed as program error.
Error description
It was observed that an Android app would crash randomly on startup but not on every lauch of the app. The following stack trace was generated when the failure occurred: E/AndroidRuntime(29821): FATAL EXCEPTION: pool-9-thread-1 E/AndroidRuntime(29821): java.lang.NullPointerException E/AndroidRuntime(29821): at com.worklight.location.internal.events.nativeImpl.FilePersistent StorageManager.deleteDirectory(FilePersistentStorageManager.java :95) E/AndroidRuntime(29821): at com.worklight.location.internal.events.nativeImpl.FilePersistent StorageManager.clearOldPersistentData(FilePersistentStorageManag er.java:89) E/AndroidRuntime(29821): at com.worklight.location.internal.DeviceImpl.<init>(DeviceImpl.jav a:78) E/AndroidRuntime(29821): at com.worklight.location.internal.nativeImpl.AndroidWLDevice.<init >(AndroidWLDevice.java:56) E/AndroidRuntime(29821): at com.worklight.wlclient.api.WLClient.<init>(WLClient.java:119) E/AndroidRuntime(29821): at com.worklight.wlclient.api.WLClient.createInstance(WLClient.java :148)
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Worklight developers building applications for android. * **************************************************************** * PROBLEM DESCRIPTION: * * Android application developed with Worklight that use * * geolocation services, occasionally crash at startup * **************************************************************** * RECOMMENDATION: * * - * ****************************************************************
Problem conclusion
The code was modified to not cause a crash anymore.
Temporary fix
Comments
APAR Information
APAR number
PI25273
Reported component name
WORKLIGHT ENTER
Reported component ID
5725I4300
Reported release
610
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-09-08
Closed date
2014-09-14
Last modified date
2014-09-14
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
WORKLIGHT ENTER
Fixed component ID
5725I4300
Applicable component levels
R610 PSY
UP
R620 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
17 October 2021