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

Library crashes on image load in RecyclerView. #55

Open
behrinhalilov opened this issue Nov 29, 2019 · 0 comments
Open

Library crashes on image load in RecyclerView. #55

behrinhalilov opened this issue Nov 29, 2019 · 0 comments

Comments

@behrinhalilov
Copy link

The library throwing an IllegalStateException when trying to load svg images from String.

java.lang.IllegalStateException: Picture already recording, must call #endRecording()
at android.graphics.Picture.beginRecording(Picture.java:83)
at com.pixplicity.sharp.Sharp$SvgHandler.startElement(Sharp.java:1768)
at org.apache.harmony.xml.ExpatParser.startElement(ExpatParser.java:147)
at org.apache.harmony.xml.ExpatParser.appendBytes(Native Method)
at org.apache.harmony.xml.ExpatParser.parseFragment(ExpatParser.java:517)
at org.apache.harmony.xml.ExpatParser.parseDocument(ExpatParser.java:478)
at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:316)
at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:279)
at com.pixplicity.sharp.Sharp$SvgHandler.read(Sharp.java:1328)
at com.pixplicity.sharp.Sharp.getSharpPicture(Sharp.java:407)
at com.pixplicity.sharp.Sharp.getSharpPicture(Sharp.java:429)
at com.pixplicity.sharp.Sharp.getDrawable(Sharp.java:374)
at com.pixplicity.sharp.Sharp.into(Sharp.java:325)

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