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

Device calendar errors leading to calendar events not appearing on the watch #240

Closed
hellcp opened this issue Jan 7, 2024 · 2 comments
Closed

Comments

@hellcp
Copy link
Collaborator

hellcp commented Jan 7, 2024

I keep seeing the following error, which seems to be the reason behind calendar not being synced to the watch:

D/Cobble  (23680): [CalendarHandler$startCalendarHandler] Watch service started or we received permissions. Syncing calendar...
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): Failed to handle method call
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): kotlin.UninitializedPropertyAccessException: lateinit property _calendarDelegate has not been initialized
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): 	at com.builttoroam.devicecalendar.DeviceCalendarPlugin.onMethodCall(DeviceCalendarPlugin.kt:118)
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:296)
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$DartMessenger(DartMessenger.java:320)
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): 	at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$TsixYUB5E6FpKhMtCSQVHKE89gQ.run(Unknown Source:12)
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): 	at android.os.Handler.handleCallback(Handler.java:958)
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): 	at android.os.Looper.loopOnce(Looper.java:205)
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): 	at android.os.Looper.loop(Looper.java:294)
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): 	at android.app.ActivityThread.main(ActivityThread.java:8194)
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
E/MethodChannel#plugins.builttoroam.com/device_calendar(23680): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
I/flutter (23680): PlatformException(error, lateinit property _calendarDelegate has not been initialized, null, kotlin.UninitializedPropertyAccessException: lateinit property _calendarDelegate has not been initialized
I/flutter (23680): 	at com.builttoroam.devicecalendar.DeviceCalendarPlugin.onMethodCall(DeviceCalendarPlugin.kt:118)
I/flutter (23680): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
I/flutter (23680): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:296)
I/flutter (23680): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$DartMessenger(DartMessenger.java:320)
I/flutter (23680): 	at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$TsixYUB5E6FpKhMtCSQVHKE89gQ.run(Unknown Source:12)
I/flutter (23680): 	at android.os.Handler.handleCallback(Handler.java:958)
I/flutter (23680): 	at android.os.Handler.dispatchMessage(Handler.java:99)
I/flutter (23680): 	at android.os.Looper.loopOnce(Looper.java:205)
I/flutter (23680): 	at android.os.Looper.loop(Looper.java:294)
I/flutter (23680): 	at android.app.ActivityThread.main(ActivityThread.java:8194)
I/flutter (23680): 	at java.lang.reflect.Method.invoke
D/Cobble  (23680): [CalendarHandler$startCalendarHandler] Sync complete
@hellcp
Copy link
Collaborator Author

hellcp commented Jan 8, 2024

Seems like it's related to builttoroam/device_calendar#431

@hellcp
Copy link
Collaborator Author

hellcp commented Jan 11, 2024

This is resolved on rws branch now

@hellcp hellcp closed this as completed Jan 11, 2024
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