java.lang.IllegalArgumentException: the bind value at index 2 is null

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by furyscript
, 1 year ago
the bind value at index 2 is null
via GitHub by Nutomic
, 2 years ago
the bind value at index 1 is null
via blogspot.be by Unknown author, 2 years ago
the bind value at index 2 is null
via Stack Overflow by user2234842
, 2 years ago
the bind value at index 1 is null
java.lang.IllegalArgumentException: the bind value at index 2 is null
at android.database.sqlite.SQLiteProgram.bindString(SQLiteProgram.java:164)
at android.database.sqlite.SQLiteProgram.bindAllArgsAsStrings(SQLiteProgram.java:200)
at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:47)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1426)
at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:400)
at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:333)
at org.onebusaway.android.provider.ObaProvider.queryInternal(ObaProvider.java:866)
at org.onebusaway.android.provider.ObaProvider.query(ObaProvider.java:589)
at android.content.ContentProvider.query(ContentProvider.java:1017)
at android.content.ContentProvider$Transport.query(ContentProvider.java:238)
at android.content.ContentResolver.query(ContentResolver.java:498)
at android.content.ContentResolver.query(ContentResolver.java:441)
at org.onebusaway.android.provider.ObaContract$RouteHeadsignFavorites.isFavorite(ObaContract.java:1418)
at org.onebusaway.android.ui.ArrivalInfo.(ArrivalInfo.java:248)
at org.onebusaway.android.ui.ArrivalInfo.convertObaArrivalInfo(ArrivalInfo.java:75)
at org.onebusaway.android.ui.ArrivalsListAdapterStyleA.setData(ArrivalsListAdapterStyleA.java:53)
at org.onebusaway.android.ui.ArrivalsListFragment.setResponseData(ArrivalsListFragment.java:546)
at org.onebusaway.android.ui.ArrivalsListFragment.onLoadFinished(ArrivalsListFragment.java:459)
at org.onebusaway.android.ui.ArrivalsListFragment.onLoadFinished(ArrivalsListFragment.java:89)
at android.support.v4.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:476)
at android.support.v4.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:444)
at org.onebusaway.android.ui.ArrivalsListLoader.deliverResult(ArrivalsListLoader.java:59)
at org.onebusaway.android.ui.ArrivalsListLoader.deliverResult(ArrivalsListLoader.java:27)
at android.support.v4.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:249)
at android.support.v4.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:77)
at android.support.v4.content.ModernAsyncTask.finish(ModernAsyncTask.java:466)
at android.support.v4.content.ModernAsyncTask.access$400(ModernAsyncTask.java:48)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)

Users with the same issue

2 times, 1 year ago
600 times, 1 year ago
14 times, 1 year ago
6 times, 1 year ago
44 times, 1 year ago

Write tip

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