Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

foundation.e.drive(beta) stops syncing after a few days of inactivity.

  • foundation.e.drive : beta-1-build-0-21-10-22T0427
  • Device model(s): FP3+(Stable) & GS290(Dev)
  • Device rooted: no

Summary

  • The builds work perfectly fine for some time, when the APK is installed on a freshly flashed devicebut stops working a few days later.

The problem

Steps to reproduce

Install the foundation.e.drive beta-1-build-0-21-10-22T0427 dev & stable apk on /e/ OS(dev) and /e/ OS(stable) based devices respectively.

What is the current behavior?

  • The builds work perfectly fine for some time, when the APK is installed on a freshly flashed device(on both Dev and Stable builds)
  • The same doesn't seem to be working a few days later. The last sync was 2 days before.

What is the expected correct behavior?

Sync should work flawlessly.

Technical informations

Relevant logs (adb logcat)

I ObserverService: onStartCommand(37)
W System.err: java.lang.NullPointerException: Attempt to get length of null array
W System.err:    at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:106)
W System.err:    at foundation.e.drive.utils.CommonUtils.convertFromBytes(CommonUtils.java:315)
W System.err:    at foundation.e.drive.services.ObserverService.onStartCommand(ObserverService.java:96)
W System.err:    at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4087)
W System.err:    at android.app.ActivityThread.access$1800(ActivityThread.java:219)
W System.err:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1891)
W System.err:    at android.os.Handler.dispatchMessage(Handler.java:107)
W System.err:    at android.os.Looper.loop(Looper.java:214)
W System.err:    at android.app.ActivityThread.main(ActivityThread.java:7356)
W System.err:    at java.lang.reflect.Method.invoke(Native Method)
W System.err:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
W System.err:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
D ObserverService: ServiceExceptionHandler already set!
W ObserverService: OperationManagerService is still performing some operation

Relevant screenshots

Solutions

Workaround

Possible fixes

Edited by Kumar Abhishek