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

Fix issue of NullPointerException on html-img-tag based on data-URL #1383

Merged

Conversation

speckyspooky
Copy link
Contributor

Fix issue of NullPointerException on html-img-tag based on data-URL (#1382)

@speckyspooky speckyspooky added the BugFix Change to correct issues label Jul 26, 2023
@speckyspooky speckyspooky added this to the 4.14 milestone Jul 26, 2023
@speckyspooky speckyspooky requested a review from hvbtup July 26, 2023 20:39
@speckyspooky speckyspooky self-assigned this Jul 26, 2023
BackgroundImageInfo img = handleStyleImage(attrValue);
String attrValueTrue = null;
if (img != null) {
attrValueTrue = handleStyleImage(attrValue).getUri();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'd prefer reusing img here instead of calling handleeStyleImage again.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed, I will change it.

@speckyspooky speckyspooky requested a review from hvbtup July 27, 2023 06:03
@speckyspooky speckyspooky merged commit b4c2cc9 into eclipse-birt:master Jul 27, 2023
3 checks passed
@speckyspooky speckyspooky deleted the Fix_image_null_pointer_html branch March 28, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BugFix Change to correct issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants