io.realm.exceptions.RealmIOException: Failed to access: . open("/data/data/com.application.zomato.base/files/default.realm.lock") failed: Too many open files path: /data/data/com.application.zomato.base/files/default.realm.lock

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 sonuzomato
, 1 year ago
Failed to access: . open("/data/data/com.application.zomato.base/files/default.realm.lock") failed: Too many open files path: /data/data/com.application.zomato.base/files/default.realm.lock
via GitHub by GiorgosOikonomou
, 1 year ago
Failed to access: . open("/data/data/myapp/files/db/db.management/log_access") failed: Too many open files path: /data/data/myapp/filed/db/db.management/log_access
via GitHub by KynoYang
, 2 years ago
Failed to open . Permission denied. open() failed: Permission denied
via GitHub by paisrikanth
, 1 year ago
Failed to access: . make_dir() failed: No such file or directory path: /data/data/com.test.app/files/default.realm.enc.management
via GitHub by Chinmay-Acharya
, 2 years ago
Failed to access: .demo/files/default.realm.lock. Presumably a stall .lock file is present.
io.realm.exceptions.RealmIOException: Failed to access: . open("/data/data/com.application.zomato.base/files/default.realm.lock") failed: Too many open files path: /data/data/com.application.zomato.base/files/default.realm.lock
at io.realm.internal.SharedGroup.createNativeWithImplicitTransactions(Native Method)
at io.realm.internal.SharedGroup.openSharedGroupOrFail(SharedGroup.java:95)
at io.realm.internal.SharedGroup.(SharedGroup.java:74)
at io.realm.internal.SharedGroupManager.(SharedGroupManager.java:49)
at io.realm.BaseRealm.(BaseRealm.java:86)
at io.realm.Realm.(Realm.java:135)
at io.realm.Realm.createAndValidate(Realm.java:233)
at io.realm.Realm.createInstance(Realm.java:214)
at io.realm.RealmCache.createRealmOrGetFromCache(RealmCache.java:126)
at io.realm.Realm.getDefaultInstance(Realm.java:160)
at com.application.zomato.base.helpers.RealmHelper.insertOrUpdate(RealmHelper.java:54)
at com.application.zomato.base.contentProvider.CPWrapper.updateSharedPrefs(CPWrapper.java:30)
at com.application.zomato.base.contentProvider.CPWrapper.updateSharedPrefs(CPWrapper.java:35)
at com.application.zomato.base.modules.factory.ParseDevice.isBaseMasterDevice(ParseDevice.java:171)
at com.application.zomato.base.connections.socket.SocketServerService.performTask(SocketServerService.java:474)
at com.application.zomato.base.connections.socket.SocketServerService.access$700(SocketServerService.java:62)
at com.application.zomato.base.connections.socket.SocketServerService$ServerPost.run(SocketServerService.java:464)
at java.util.Timer$TimerImpl.run(Timer.java:284)

Users with the same issue

You are the first who have seen this exception.

Write tip

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