-
Notifications
You must be signed in to change notification settings - Fork 353
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
java.lang.ArrayIndexOutOfBoundsException when getting a gif #321
Comments
hi @yellowpeter2019 , it seems that it's a known bug in the java runtime, see the following issue https://bugs.openjdk.java.net/browse/JDK-7132728 . I can reproduce your error by simply doing
It will launch the following exception:
(and I'm using the latest stable jdk
) So at the moment, I would advise to avoid animated gif as a source... |
@syjer |
Hi @yellowpeter2019, Being able to provide a BufferedImage is on my internal road map, but not until after next release, otherwise it will never be released! In the mean time you could resave the desired frame as a png to a byte stream and use that as a workaround. |
@danfickle
I tried to convert the html into an image.
When I encountered a gif on the html code, the program threw an exception like this
The gif:
html code:
Java code:
Is this an issue? or am I doing something terribly wrong?
Waiting for your response.
Thx.
The text was updated successfully, but these errors were encountered: