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.

  • java.lang.IllegalStateException in my Provider
    via Stack Overflow by Theo
    ,
  • Android Content Provider not working
    via Stack Overflow by Lpc_dark
    ,
    • java.lang.IllegalStateException: Could not execute method for android:onClick at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293) at android.view.View.performClick(View.java:4780) at android.view.View$PerformClick.run(View.java:19866) 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:5254) 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:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) 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.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288) ... 10 more Caused by: java.lang.IllegalArgumentException: Unknown URL content://theo.testing.friendsprovider.BirthdayProv/friends at android.content.ContentResolver.insert(ContentResolver.java:1203) at theo.testing.friendsprovider.MainActivity.addBirthday(MainActivity.java:42) ... 13 more

    Users with the same issue

    Sooraj SinghSooraj Singh
    17 times, last one,
    filipebatistafilipebatista
    1 times, last one,
    VikramVikram
    32 times, last one,
    maxximaxxi
    4 times, last one,
    jkjk
    1 times, last one,
    7 more bugmates