Application Preference Fails with "java.lang.Integer cannot be cast to java.lang.String" after Upgrading to MAF 2.3.1
Last updated on AUGUST 15, 2016
Applies to:Mobile Application Framework - Version 2.3.1 and later
Information in this document applies to any platform.
A MAF 2.2 application has an integer preference which is used at startup by the application to decide how to navigate application pages.
The value of the preference is set and saved upon user's decision, so its value can be used in subsequent application restarts.
In MAF 2.2 this works fine, but in MAF 2.3.1 when restarting the application, an error saying "java.lang.Integer cannot be cast to java.lang.String" is shown.
java.lang.Integer cannot be cast to java.lang.String
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms