java.lang.RuntimeException: Unable to resume activity {ru.qasl.cashregister/ru.qasl.cashregister.activity.MainMenuActivity}: java.lang.IllegalArgumentException: the bind value at index 1 is null
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2981)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3010)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1283)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5342)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: the bind value at index 1 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:1334)
at android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1268)
at com.j256.ormlite.android.AndroidDatabaseConnection.queryForOne(AndroidDatabaseConnection.java:190)
at com.j256.ormlite.stmt.mapped.MappedQueryForId.execute(MappedQueryForId.java:38)
at com.j256.ormlite.stmt.StatementExecutor.queryForId(StatementExecutor.java:85)
at com.j256.ormlite.dao.BaseDaoImpl.queryForId(BaseDaoImpl.java:223)
at ru.qasl.cashregister.db.dao.QaslDao.queryForId(QaslDao.java:149)
at ru.qasl.cashregister.interactor.order.OrderInteractor.getOrderBy(OrderInteractor.java:176)
at ru.qasl.cashregister.presenter.payment.PaymentDialogPresenter.onResume(PaymentDialogPresenter.java:147)
at ru.qasl.cashregister.fragment.dialog.BaseFragmentDialog.onResume(BaseFragmentDialog.java:157)
at android.app.Fragment.performResume(Fragment.java:1756)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:931)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1071)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1053)
at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1872)
at android.app.Activity.performResume(Activity.java:5444)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2971)