java.lang.RuntimeException

Unable to start activity ComponentInfo{com.rbcai.nymiauth/com.rbcai.nymiauth.HomeAuth}: java.lang.ClassCastException: java.lang.String cannot be cast to com.bionym.ncl.NclProvisionKey


Solutions on the web42098

Solution icon of web
Unable to start activity ComponentInfo{com.rbcai.nymiauth/com.rbcai.nymiauth.HomeAuth}: java.lang.ClassCastException: java.lang.String cannot be cast to com.bionym.ncl.NclProvisionKey

Solution icon of stackoverflow
Unable to start activity ComponentInfo{tanav.sharma/tanav.sharma.TanavActivityOrder}: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.String[]

Solution icon of github
via GitHub by lognaturel
, 3 months ago
Unable to start activity ComponentInfo{org.odk.collect.android/org.odk.collect.android.activities.SplashScreenActivity}: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean

Solution icon of web
via JIRA by Marek Wasilewski, 1 year ago
Unable to start activity ComponentInfo{com.android.mms/com.android.mms.ui.MessagingPreferenceActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

Solution icon of web
via JIRA by Łukasz, 1 year ago
Unable to start activity ComponentInfo{com.android.mms/com.android.mms.ui.ComposeMessageActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.sqliteapplication/com.example.sqliteapplication.SmsMerge}: java.lang.ClassCastException: com.example.sqliteapplication.Template cannot be cast to java.lang.String

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.celestialnavigationii/com.example.celestialnavigationii.CalculationsActivity}: java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.lang.String[][]

Solution icon of stackoverflow
Unable to start activity ComponentInfo{in.stocksphere.stocksphere/in.stocksphere.stocksphere.ui.CompanyActivity}: java.lang.ClassCastException: java.lang.String cannot be cast to org.aspectj.lang.JoinPoint

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.gijbelssiemen.list/com.gijbelssiemen.list.SettingsActivity}: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.your.app/com.your.app.activity}: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String

Stack trace

  • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.rbcai.nymiauth/com.rbcai.nymiauth.HomeAuth}: java.lang.ClassCastException: java.lang.String cannot be cast to com.bionym.ncl.NclProvisionKey at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) at android.app.ActivityThread.access$800(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5221) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to com.bionym.ncl.NclProvisionKey at com.rbcai.nymiauth.HomeAuth.load(HomeAuth.java:144) at com.rbcai.nymiauth.HomeAuth.onCreate(HomeAuth.java:47) at android.app.Activity.performCreate(Activity.java:5933) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251) ... 10 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.