Skip to content

Bounty offered: Crash and inaccessible files after attempting to open large .txt with NotallyX #837

@lozzyactual

Description

@lozzyactual

What happened?

After attempting to open a large (approx 20mb) .txt file using NotallyX, the application crashes out every time upon opening.

I can still use it (via "open with" from a file manager) to view other .txt files, but cannot access my existing notes.

I've moved the offending file from the path but the error persists.

I am very very much hoping there is a way to clear the database line with the giant file, and recover my other notes.

Certainly willing to pay a $50AUD bounty if my existing notes can be retrieved very soon - intact, locally and privately (containing confidential information).

App Version

7.5.3

Android Version (API Level)

34

(Optional) Relevant log output

java.lang.RuntimeException: Exception while computing database live data.
	at androidx.room.RoomTrackingLiveData$$ExternalSyntheticLambda0.run(SourceFile:289)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
	at java.lang.Thread.run(Thread.java:1564)
Caused by: android.database.sqlite.SQLiteBlobTooBigException: Row too big to fit into CursorWindow requiredPos=114, totalRows=115
	at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
	at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:1038)
	at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:838)
	at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
	at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:153)
	at android.database.sqlite.SQLiteCursor.onMove(SQLiteCursor.java:123)
	at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:255)
	at android.database.AbstractCursor.moveToNext(AbstractCursor.java:287)
	at com.philkes.notallyx.data.dao.BaseNoteDao_Impl$getFrom$1.call(SourceFile:214)
	at androidx.room.RoomTrackingLiveData$$ExternalSyntheticLambda0.run(SourceFile:276)
	... 3 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv7.8.0

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions