java.lang.ExceptionInInitializerError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.ExceptionInInitializerError at com.example.plugshare.MainActivity.getOpenChargingStation(MainActivity.java:27) at com.example.plugshare.MainActivity.onCreate(MainActivity.java:22) at android.app.Activity.performCreate(Activity.java:5203) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2078) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2139) at android.app.ActivityThread.access$700(ActivityThread.java:143) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1241) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4960) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ExceptionInInitializerError at okhttp3.OkHttpClient$Builder.<init>(OkHttpClient.java:359) at com.example.plugshare.ServiceGenerator.<clinit>(ServiceGenerator.java:35) ... 16 more Caused by: java.lang.NoClassDefFoundError: okhttp3.internal.Util at okhttp3.OkHttpClient.<clinit>(OkHttpClient.java:61) ... 18 more

    Users with the same issue

    ayedoughwats
    1 times, last one,