java.lang.IllegalStateException

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.

  • GitHub comment 782#245124079
    via GitHub by ameshkov
    ,
  • StartService unit test fails
    via GitHub by Zillode
    ,
    • java.lang.IllegalStateException: Could not execute method of the activity at android.view.View$1.onClick(View.java:4007) at android.view.View.performClick(View.java:4756) at android.view.View$PerformClick.run(View.java:19748) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5256) 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:898) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at android.view.View$1.onClick(View.java:4002) ... 11 more Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.android.server.connectivity.Vpn.prepare(java.lang.String, java.lang.String)' on a null object reference at android.os.Parcel.readException(Parcel.java:1546) at android.os.Parcel.readException(Parcel.java:1493) at android.net.IConnectivityManager$Stub$Proxy.prepareVpn(IConnectivityManager.java:1702) at android.net.VpnService.prepare(VpnService.java:157) at de.flyingsnail.ipv6droid.android.MainActivity.startVPN(MainActivity.java:159) at de.flyingsnail.ipv6droid.android.MainActivity.startVPN(MainActivity.java:145) ... 14 more

    Users with the same issue

    filipebatistafilipebatista
    1 times, last one,
    PierrePierre
    2 times, last one,
    Indri YunitaIndri Yunita
    2 times, last one,
    filpgamefilpgame
    611 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    49 more bugmates