flutter_photo_manager icon indicating copy to clipboard operation
flutter_photo_manager copied to clipboard

[Bug report] Bad state: The data of the entity is null

Open omermustekiin opened this issue 1 year ago • 0 comments

Version

3.3.0

Platforms

iOS

Device Model

all iPhone

flutter info

[✓] Flutter (Channel stable, 3.24.1, on macOS 14.6.1 23G93 darwin-arm64, locale tr-TR)
    • Flutter version 3.24.1 on channel stable at /Users/omer/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5874a72aa4 (3 weeks ago), 2024-08-20 16:46:00 -0500
    • Engine revision c9b9d5780d
    • Dart version 3.5.1
    • DevTools version 2.37.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/omer/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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 17.0.6+0-17.0.6b829.9-10027231)

[✓] Connected device (5 available)
    • Ömer iPhone 14 Pro Max (mobile) • 00008120-001A25803487C01E • ios            • iOS 18.0 22A5350a
    • Ömer iPhone SE 3nd Gen (mobile) • 00008110-000808C43607801E • ios            • iOS 17.6.1 21G93
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.6.1 23G93 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.6.1 23G93 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 128.0.6613.120

[✓] Network resources
    • All expected network resources are available.

How to reproduce?

Package throwing this error sometimes for some devices. Not all the time. Ekran Resmi 2024-09-09 19 02 30

Logs

Fatal Exception: FlutterError
0  ???                            0x0 AssetEntityImageProvider._loadAsync.<fn> + 134 (photo_manager_image_provider.dart:134)
1  ???                            0x0 AssetEntityImageProvider._loadAsync.<fn> + 154 (photo_manager_image_provider.dart:154)
2  ???                            0x0 AssetEntityImageProvider._loadAsync.<fn> + 158 (photo_manager_image_provider.dart:158)

Example code (optional)

No response

Contact

[email protected]

omermustekiin avatar Sep 09 '24 16:09 omermustekiin