A fix is available
APAR status
Closed as program error.
Error description
An iOS 8.x application with push notifications enabled may crash during startup. The following errors may be printed in the device log: developerones-iPad MyAppName[207] <Error>: -[__NSCFBoolean stringByAddingPercentEscapesUsingEncoding:]: unrecognized selector sent to instance 0x1987b22f0 developerones-iPad MyAppName[207] <Warning>: *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionLi stener: delegate: <NSInvalidArgumentException> -[__NSCFBoolean stringByAddingPercentEscapesUsingEncoding:]: unrecognized selector sent to instance 0x1987b22f0 Additional Keywords: Worklight Versions Affected: 6.x, 7.x Initial Impact: High
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * A user using MobileFirst push notification feature on * * MobileFirst 7.0 can result in crash after calling push * * notification feature again and again after installation. * **************************************************************** * PROBLEM DESCRIPTION: * * Value of PREFS_TOKEN_UPDATED_AFTER_REINSTALL is not assigned * * properly as Bool value in ios-gap.js. Hence app was unable * * to handle junk value stored in variable. * **************************************************************** * RECOMMENDATION: * * - * ****************************************************************
Problem conclusion
A proper bool value "true" is assigned to PREFS_TOKEN_UPDATED_AFTER_REINSTALL in ios-gap.js resolved the issue.
Temporary fix
Comments
APAR Information
APAR number
PI42699
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-06-09
Closed date
2015-08-05
Last modified date
2015-08-05
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
R700 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