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

Exception: type 'FlutterActorShape' is not a subtype of type 'FlutterPath' #181

Closed
rickgbw opened this issue Oct 25, 2019 · 1 comment
Closed

Comments

@rickgbw
Copy link

rickgbw commented Oct 25, 2019

Hi everyone!

First of all, thanks for this amazing package! It's helping us a lot to creating beautiful animations in flutter.
In one of our animations, we're getting an error. The animation is not showing (transparent) printing this error below on console.

We're using flare_flutter 1.5.8 and flutter 1.9.1+hotfix.5.
Here is the "problematic" flare: https://www.2dimensions.com/a/andrecastro/files/flare/geral

E/flutter (26906): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: type 'FlutterActorShape' is not a subtype of type 'FlutterPath' in type cast
[38;5;248mE/flutter (26906): #0      FlutterActorShape.initializeGraphics[39;49m
[38;5;248mE/flutter (26906): #1      ActorArtboard.initializeGraphics[39;49m
[38;5;248mE/flutter (26906): #2      FlareActorRenderObject._instanceArtboard[39;49m
[38;5;248mE/flutter (26906): #3      FlareActorRenderObject.load[39;49m
E/flutter (26906): <asynchronous suspension>
[38;5;248mE/flutter (26906): #4      FlareActorRenderObject.filename=[39;49m
[38;5;248mE/flutter (26906): #5      FlareActor.createRenderObject[39;49m
[38;5;244mE/flutter (26906): #6      RenderObjectElement.mount[39;49m
[38;5;244mE/flutter (26906): #7      Element.inflateWidget[39;49m
[38;5;244mE/flutter (26906): #8      Element.updateChild[39;49m
[38;5;244mE/flutter (26906): #9      SingleChildRenderObjectElement.mount[39;49m
[38;5;244mE/flutter (26906): #10     Element.inflateWidget[39;49m
[38;5;244mE/flutter (26906): #11     Element.updateChild[39;49m
[38;5;244mE/flutter (26906): #12     SingleChildRenderObjectElement.mount[39;49m
[38;5;244mE/flutter (26906): #13     Element.inflateWidget[39;49m
[38;5;244mE/flutter (26906): #14     Element.updateChild[39;49m
[38;5;244mE/flutter (26906): #15     SingleChildRenderObjectElement.mount[39;49m
[38;5;244mE/flutter (26906): #16     Element.inflateWidget[39;49m
[38;5;244mE/flutter (26906): #17     Element.updateChild[39;49m
[38;5;244mE/flutter (26906): #18     SingleChildRenderObjectElement.mount[39;49m
[38;5;244mE/flutter (26906): #19     Element.inflateWidget[39;49m
[38;5;244mE/flutter (26906): #20     Element.updateChild[39;49m
[38;5;244mE/flutter (26906): #21     ComponentElement.performRebuild[39;49m
[38;5;244mE/flutter (26906): #22     Element.rebuild[39;49m
[38;5;244mE/flutter (26906): #23     ComponentElement._firstBuild[39;49m
[38;5;244mE/flutter (26906): #24     ComponentElement.mount[39;49m
[38;5;244mE/flutter (26906): #25     Element.inflateWidget[39;49m
[38;5;244mE/flutter (26906): #26     Element.updateChild[39;49m
[38;5;244mE/flutter (26906): #27     SingleChildRenderObjectElement.mount[39;49m
[38;5;244mE/flutter (26906): #28     Element.inflateWidget[39;49m
[38;5;244mE/flutter (26906): #29     Element.updateChild[39;49m
[38;5;244mE/flutter (26906): #30     SingleChildRenderObjectElement.mount[39;49m
[38;5;244mE/flutter (26906): #31     Element.inflateWidget[39;49m
[38;5;244mE/flutter (26906): #32     Element.updateChild[39;49m
[38;5;244mE/flutter (26906): #33     SingleChildRenderObjectElement.mount[39;49m
[38;5;244mE/flutter (26906): #34     Element.inflateWidget[39;49m
[38;5;244mE/flutter (26906): #35     Element.updateChild[39;49m
[38;5;244mE/flutter (26906): #36     ComponentElement.performRebuild[39;49m
[38;5;244mE/flutter (26906): #37     Element.rebuild[39;49m
[38;5;244mE/flutter (26906): #38     ComponentElement._firstBuild[39;49m
[38;5;244mE/flutter (26906): #39     ComponentElement.mount[39;49m
[38;5;244mE/flutter (26906): #40     Element.inflateWidget[39;49m
[38;5;244mE/flutter (26906): #41     Element.updateChild[39;49m
[38;5;244mE/flutter (26906): #42     SingleChildRenderObjectElement.mount[39;49m
[38;5;244mE/flutter (26906): #43     Element.inflateWidget[39;49m
[38;5;244mE/flutter (26906): #44     Element.updateChild[39;49m
E/flutter (26906): #45
@rickgbw
Copy link
Author

rickgbw commented Oct 25, 2019

We've changed to version 1.5.15 and seens to be working fine now.
My apologies!

@rickgbw rickgbw closed this as completed Oct 25, 2019
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