-
Notifications
You must be signed in to change notification settings - Fork 392
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
NPE in SvgFile.isSvg(String) #1525
Comments
Please add the stacktrace |
here stacktrace |
ImageManager2 is our little modified ImageManager, which not takes rasterised data for svg-images (not convert svg to raster).
|
speckyspooky
added a commit
to speckyspooky/birt
that referenced
this issue
Dec 18, 2023
Yes, I can confirm the NPE is based through the missing brackets. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Where is a NullPointerException on method org.eclipse.birt.report.engine.util.SvgFile.isSvg(String) then uri is null.
I think that because some brackets needed:
if (uri != null && ( uri.endsWith(".svg") || uri.toLowerCase().contains(URL_IMAGE_TYPE_SVG) ) )
(just like on method org.eclipse.birt.report.engine.util.SvgFile.isSvg(String, String, String))
caused by 59c1d03
The text was updated successfully, but these errors were encountered: