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

AVD Export - Cannot read property 'name' of undefined #339

Open
adrianlandborn opened this issue Nov 27, 2019 · 3 comments
Open

AVD Export - Cannot read property 'name' of undefined #339

adrianlandborn opened this issue Nov 27, 2019 · 3 comments

Comments

@adrianlandborn
Copy link

adrianlandborn commented Nov 27, 2019

Getting this when trying to Export AVD.
I use different groups for forward and reverse animations. So I want to hide one of the groups -> Export and vice versa for the other one.

This worked a few days ago.
Same error in Chrome and Firefox

bugsnag.js.pre-build-optimizer.js:1405 ERROR TypeError: Cannot read property 'name' of undefined
    at AvdSerializer.ts:57
    at Map.forEach (<anonymous>)
    at Module.ZT (AvdSerializer.ts:54)
    at t.exportAnimatedVectorDrawable (fileexport.service.ts:90)
    at e.onExportAnimatedVectorDrawableClick (layertimeline.component.ts:279)
    at Object.handleEvent (layertimeline.component.ngfactory.js.pre-build-optimizer.js:261)
    at Object.handleEvent (core.js.pre-build-optimizer.js:19324)
    at Object.handleEvent (core.js.pre-build-optimizer.js:19869)
    at Ta (core.js.pre-build-optimizer.js:16773)
    at core.js.pre-build-optimizer.js:17220
@alexjlockwood
Copy link
Owner

Thanks for reporting! Do you have an example .shapeshifter project file that I could use to reproduce the issue?

@adrianlandborn
Copy link
Author

adrianlandborn commented Nov 28, 2019

Here you go. Hope you'll be able to solve it or find a workaround.
If you have both the groups visible that will work but not if you make one of them hidden.
Cheers
play_to_pause (6).zip

@pvsvamsi
Copy link

@alexjlockwood @adrianlandborn I had the same issue. To fix it, we need to remove the hidden layers before exporting. Hidden layers are causing this issue.

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