-
Notifications
You must be signed in to change notification settings - Fork 276
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
PlatformException(500, ownerAccount must not be null, null, null) #427
Comments
Any particular action to trigger this error? |
All I did was run the app. There is no other trigger. |
Still no idea how to reproduce this. Any details about your phone? |
yes I acceppt all calendar permission but this error was occured. |
I've finally figured it out |
if I have a time i'll tryna fix it. thank you for figured out this problem. |
I've fixed the problem, see the branch I linked above |
Do you mean I have to fork the Repository and then create a pull request? |
I have no idea Maybe try forking my branch, then do the PR? That way you don't have to write anything new |
I open the PR #443 |
I installed device_calendar-4.2.0 example app.
and I got this exception on the SM-G960N.
Flutter doctor
[√] Flutter (Channel stable, 3.0.0, on Microsoft Windows [Version 10.0.19043.1645], locale ko-KR)
• Flutter version 3.0.0 at C:\Users\LEE\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ee4e09cce0 (11 days ago), 2022-05-09 16:45:18 -0700
• Engine revision d1b9a6938a
• Dart version 2.17.0
• DevTools version 2.12.2
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\LEE\AppData\Local\Android\Sdk
• Platform android-Tiramisu, build-tools 30.0.3
• ANDROID_HOME = C:\Users\LEE\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.5.2)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.5.29926.136
• Windows 10 SDK version 10.0.18362.0
[√] Android Studio (version 2021.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
[√] IntelliJ IDEA Community Edition (version 2019.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.4
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
[√] VS Code (version 1.67.2)
• VS Code at C:\Users\LEE\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.40.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19043.1645]
• Chrome (web) • chrome • web-javascript • Google Chrome 101.0.4951.67
• Edge (web) • edge • web-javascript • Microsoft Edge 101.0.1210.32
[√] HTTP Host Availability
• All required HTTP hosts are available
error log
I/flutter (23494): PlatformException(500, ownerAccount must not be null, null, null)
I/OpenGLRenderer(23494): doUpdatePositionAsync is called and callVoidMethod
E/flutter (23494): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: type 'Null' is not a subtype of type 'List' in type cast
E/flutter (23494): #0 _CalendarsPageState._retrieveCalendars.
package:device_calendar_example/…/pages/calendars.dart:138
E/flutter (23494): #1 State.setState
package:flutter/…/widgets/framework.dart:1109
E/flutter (23494): #2 _CalendarsPageState._retrieveCalendars
package:device_calendar_example/…/pages/calendars.dart:137
E/flutter (23494):
E/flutter (23494)
The text was updated successfully, but these errors were encountered: