Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalArgumentException in SqliteJobQueue #457

Open
TusharSri opened this issue Oct 5, 2018 · 2 comments
Open

IllegalArgumentException in SqliteJobQueue #457

TusharSri opened this issue Oct 5, 2018 · 2 comments

Comments

@TusharSri
Copy link

I am getting IllegalArgumentException in "SqliteJobQueue" class. This issue is coming in method "setSessionIdOnJob" at statement " stmt.bindString(3, jobHolder.getId());"
Please help me if we can solve this. As this is not a very frequent crash therefore i am not able to replicate this.
Any suggestions or would be appreciated

@birender-s
Copy link

@yigit , your quick pointers on this issue would be very helpful. Please advise. Thanks !

@arun-infy
Copy link

arun-infy commented Oct 12, 2018

More details on the stack trace below:

0 | java.lang.IllegalArgumentException: the bind value at index 3 is null   | 1 | at android.database.sqlite.SQLiteProgram.bindString(SQLiteProgram.java:164)   | 2 | at android.database.sqlite.SQLiteProgram.bindAllArgsAsStrings(SQLiteProgram.java:200)   | 3 | at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:47)   | 4 | at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1348)   | 5 | at android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1287) ! | 6 | at com.birbit.android.jobqueue.persistentQueue.sqlite.SqliteJobQueue.findJobs(SqliteJobQueue.java:263)   | 7 | at com.birbit.android.jobqueue.cachedQueue.CachedJobQueue.findJobs(CachedJobQueue.java:100)   | 8 | at com.birbit.android.jobqueue.CancelHandler.query(CancelHandler.java:42)   | 9 | at com.birbit.android.jobqueue.JobManagerThread.handleCancel(JobManagerThread.java:454)   | 10 | at com.birbit.android.jobqueue.JobManagerThread.access$400(JobManagerThread.java:35)   | 11 | at com.birbit.android.jobqueue.JobManagerThread$1.handleMessage(JobManagerThread.java:247)   | 12 | at com.birbit.android.jobqueue.messaging.PriorityMessageQueue.consume(PriorityMessageQueue.java:39)   | 13 | at com.birbit.android.jobqueue.JobManagerThread.run(JobManagerThread.java:222)   | 14 | at java.lang.Thread.run(Thread.java:761)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants