java.lang.IllegalArgumentException: Only the provider may write to account_name

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Никита Юрченко, 1 year ago
Only the provider may write to account_name
via Stack Overflow by Kishor D gupta
, 2 years ago
Cannot bind argument at index 1 because the index is out of range. The statement has 0 parameters.
via Stack Overflow by Lalson
, 2 years ago
Cannot bind argument at index 2 because the index is out of range. The statement has 1 parameters.
via GitHub by wastedimage
, 2 years ago
Cannot bind argument at index 1 because the index is out of range. The statement has 0 parameters.
java.lang.IllegalArgumentException: Only the provider may write to account_name
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:172)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
at android.content.ContentProviderProxy.insert(ContentProviderNative.java:476)
at android.content.ContentResolver.insert(ContentResolver.java:1265)
at com.bnsf.jobfinder.jobfinder.calendar.CalendarManager.createEventForCalendarWithId(CalendarManager.java:156)
at com.bnsf.jobfinder.jobfinder.calendar.AddEventActivity$CreateEventAsyncTask.doInBackground(AddEventActivity.java:169)
at com.bnsf.jobfinder.jobfinder.calendar.AddEventActivity$CreateEventAsyncTask.doInBackground(AddEventActivity.java:156)
at android.os.AsyncTask$2.call(AsyncTask.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 month ago
Once, 2 months ago
5 times, 4 months ago
32 times, 6 months ago
36 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.