SAP Knowledge Base Article - Preview

2650206 - No enum constant excpetion in native android mobile client

Symptom

The following exception might occur in native android client application:

java.lang.IllegalArgumentException: No enum constant com.sap.smp.client.mobileplace.ValidConfigurationParameters.MainJSONKeys.appID
at java.lang.Enum.valueOf(Enum.java:262)
at com.sap.smp.client.mobileplace.ValidConfigurationParameters$MainJSONKeys.valueOf(ValidConfigurationParameters.java:23)
at com.sap.smp.client.mobileplace.ValidConfigurationParameters.<init>(ValidConfigurationParameters.java:42)
at com.sap.smp.client.mobileplace.ConfigurationParametersFactory.getConfigurationParameters(ConfigurationParametersFactory.java:28)
at com.sap.smp.client.mobileplace.ConfigurationController$1.onResponseReceived(ConfigurationController.java:97)
at com.sap.smp.client.httpc.HttpConversationManager$ConversationFlow.processResponse(HttpConversationManager.java:1746)
at com.sap.smp.client.httpc.HttpConversationManager$ConversationFlow.run(HttpConversationManager.java:1222)
at com.sap.smp.client.httpc.HttpConversationManager$DelegatingRunnable.run(HttpConversationManager.java:1019)

The issue can happen during registration with SMP server if you are using Mobile place (Discovery Service)


Read more...

Environment

  • SAP Mobile Secure
  • SMP Server
  • SMP SDK Client 3.0

Product

SAP Mobile Platform 3.1 ; SAP Mobile Platform SDK 3.0 ; SAP Mobile Secure 2.0

Keywords

KBA , MOB-SDK-ADR , Mobile SDK Android , MOB-SEC-MP , Mobile Secure Mobile Place , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.