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

Please Help Crashing in suggestion #1

Open
blazingdevil44 opened this issue Apr 2, 2020 · 0 comments
Open

Please Help Crashing in suggestion #1

blazingdevil44 opened this issue Apr 2, 2020 · 0 comments

Comments

@blazingdevil44
Copy link

Crash when you typing something to search

it says in logcat exception: Row too big to fit into CursorWindow
FULLLOGCAT BELOW:
2020-04-02 16:33:28.531 26973-27758/offline.english.dictionary E/CursorWindow: Failed to read row 0, column 0 from a CursorWindow which has 1 rows, 0 columns.
2020-04-02 16:33:28.532 26973-27758/offline.english.dictionary E/SQLiteQuery: exception: Row too big to fit into CursorWindow requiredPos=0, totalRows=30; query: SELECT _id,en_word FROM words WHERE en_word LIKE 'he%' LIMIT 30
2020-04-02 16:33:28.536 26973-27758/offline.english.dictionary W/Filter: An exception occured during performFiltering()!
android.database.sqlite.SQLiteBlobTooBigException: Row too big to fit into CursorWindow requiredPos=0, totalRows=30
at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:1060)
at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:836)
at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:161)
at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:149)
at android.support.v4.widget.CursorFilter.performFiltering(CursorFilter.java:54)
at android.widget.Filter$RequestHandler.handleMessage(Filter.java:234)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.os.HandlerThread.run(HandlerThread.java:65)
2020-04-02 16:33:28.549 26973-26973/offline.english.dictionary D/AndroidRuntime: Shutting down VM
2020-04-02 16:33:28.550 26973-26973/offline.english.dictionary E/AndroidRuntime: FATAL EXCEPTION: main
Process: offline.english.dictionary, PID: 26973
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.database.CursorWindow.getNumRows()' on a null object reference
at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:162)
at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:149)
at android.support.v4.widget.CursorAdapter.getCount(CursorAdapter.java:217)
at android.widget.AutoCompleteTextView$PopupDataSetObserver$1.run(AutoCompleteTextView.java:1416)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7156)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)
2020-04-02 16:33:28.851 26973-27128/offline.english.dictionary W/CrashlyticsCore: Cannot send reports. Settings are unavailable.
2020-04-02 16:33:28.852 26973-26973/offline.english.dictionary E/UncaughtException: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.database.CursorWindow.getNumRows()' on a null object reference
at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:162)
at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:149)
at android.support.v4.widget.CursorAdapter.getCount(CursorAdapter.java:217)
at android.widget.AutoCompleteTextView$PopupDataSetObserver$1.run(AutoCompleteTextView.java:1416)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7156)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)

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

1 participant