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

Unhandled Exception: Bad state: No element #23

Open
IhabZaidi opened this issue Aug 2, 2024 · 0 comments
Open

Unhandled Exception: Bad state: No element #23

IhabZaidi opened this issue Aug 2, 2024 · 0 comments

Comments

@IhabZaidi
Copy link

I tried multiple time to just test the pure example code from this repo but always ended with error!
basically i download the example code and add the exp package to it like that :

dependencies:
  flutter:
    sdk: flutter
  responsive_builder: ^0.7.0
  stacked: ^3.4.0
  stacked_services: ^1.1.0

  expression_ui:
    path: expression-ui

and after run/restart issue (tested on emulator and real device) :

E/flutter (23338): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: No element
E/flutter (23338): #0      Iterable.first (dart:core/iterable.dart:643:7)
E/flutter (23338): #1      BaseExpressionView.onRiveFileInitialized (package:expression_ui/src/expression_widgets/base_expression_view.dart:117:14)
E/flutter (23338): #2      BaseExpressionView.build.<anonymous closure> (package:expression_ui/src/expression_widgets/base_expression_view.dart:65:29)
E/flutter (23338): #3      RiveAnimationState._init (package:rive/src/widgets/rive_animation.dart:323:20)
E/flutter (23338): #4      RiveAnimationState._configure (package:rive/src/widgets/rive_animation.dart:212:5)
E/flutter (23338): <asynchronous suspension>
E/flutter (23338): 

i will try later to create a brand new stacked app with custom rive artboard and attach the result

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