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

Crash on master with my animation #72

Closed
qmetzler-luna opened this issue Feb 6, 2017 · 5 comments
Closed

Crash on master with my animation #72

qmetzler-luna opened this issue Feb 6, 2017 · 5 comments
Milestone

Comments

@qmetzler-luna
Copy link

I have a crash when loading an animation I put in the assets folder of the sample app.

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
at com.airbnb.lottie.AnimatableIntegerValue.(AnimatableIntegerValue.java:17)
at com.airbnb.lottie.Layer.fromJson(Layer.java:81)
at com.airbnb.lottie.LottieComposition.fromJsonSync(LottieComposition.java:165)
at com.airbnb.lottie.LottieComposition.fromInputStream(LottieComposition.java:102)
at com.airbnb.lottie.LottieComposition$FileCompositionLoader.doInBackground(LottieComposition.java:270)
at com.airbnb.lottie.LottieComposition$FileCompositionLoader.doInBackground(LottieComposition.java:258)

@qmetzler-luna
Copy link
Author

adin.pdf
(couldn't upload a .aep so I renamed it to .pdf

@therealsalih
Copy link
Collaborator

therealsalih commented Feb 6, 2017

I took a look at your AE file and it looks like you're using precomps which Lottie doesn't support just yet. We will be adding precomps in a new release very soon. Until then you'll have to bring everything into one comp.
Follow #61 to track precomp support

@qmetzler-luna
Copy link
Author

qmetzler-luna commented Feb 6, 2017 via email

@gpeal
Copy link
Collaborator

gpeal commented Feb 7, 2017

@qmetzler-luna I'll look in to your crash for the next release

@gpeal gpeal closed this as completed in e7664e2 Feb 9, 2017
@gpeal gpeal added this to the 1.0.2 milestone Feb 9, 2017
@gpeal
Copy link
Collaborator

gpeal commented Feb 9, 2017

@qmetzler-luna follow #61 for precomp support

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

3 participants