android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 2062) 01-18 16:36:20.294 1306 1937 E AndroidRuntime: ################################################################# 01-18 16:36:20.294 1306 1937 E AndroidRuntime: Error Code : 2062 (SQLITE_CANTOPEN_EMFILE) 01-18 16:36:20.294 1306 1937 E AndroidRuntime: Caused By : Application has opened two many files. Maximum of available file descriptors in one process is 1024 in default. 01-18 16:36:20.294 1306 1937 E AndroidRuntime: (unable to open database file (code 2062)) 01-18 16:36:20.294 1306 1937 E AndroidRuntime: #################################################################

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

Solutions on the web

via GitHub by kueda
, 11 months ago
) 01-18 16:36:20.294 1306 1937 E AndroidRuntime: Caused By : Application has opened two many files. Maximum of available file descriptors in one process is 1024 in default. 01-18 16:36:20.294 1306 1937 E AndroidRuntime: (unable to open database
via programaloco.com by Unknown author, 1 year ago
via Stack Overflow by AlexKost
, 8 months ago
via GitHub by BigWavelet
, 4 months ago
unable to open database file (code 14)
via Stack Overflow by Soumyadeep Ghosh
, 1 year ago
android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 2062) 01-18 16:36:20.294 1306 1937 E AndroidRuntime: ################################################################# 01-18 16:36:20.294 1306 1937 E AndroidRuntime: Error Code : 2062 (SQLITE_CANTOPEN_EMFILE) 01-18 16:36:20.294 1306 1937 E AndroidRuntime: Caused By : Application has opened two many files. Maximum of available file descriptors in one process is 1024 in default. 01-18 16:36:20.294 1306 1937 E AndroidRuntime: (unable to open database file (code 2062)) 01-18 16:36:20.294 1306 1937 E AndroidRuntime: #################################################################
at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:980)
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:143)
at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:132)
at android.content.ContentResolver.query(ContentResolver.java:521)
at android.content.ContentResolver.query(ContentResolver.java:445)
at org.inaturalist.android.INaturalistService.syncObservationFields(INaturalistService.java:2313)
at org.inaturalist.android.INaturalistService.syncObservations(INaturalistService.java:802)
at org.inaturalist.android.INaturalistService.onHandleIntent(INaturalistService.java:758)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.os.HandlerThread.run(HandlerThread.java:61)

Users with the same issue

4 times, 4 months ago
209 times, 6 months ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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