Skip to content

Fix possible NPE in StyledText#3226

Merged
elsazac merged 1 commit into
eclipse-platform:masterfrom
elsazac:NPEinstyledtext
Apr 14, 2026
Merged

Fix possible NPE in StyledText#3226
elsazac merged 1 commit into
eclipse-platform:masterfrom
elsazac:NPEinstyledtext

Conversation

@elsazac

@elsazac elsazac commented Apr 13, 2026

Copy link
Copy Markdown
Member

The content might go null in certain cases so adding a null check as safeguard

Fixes: #658

@elsazac

elsazac commented Apr 13, 2026

Copy link
Copy Markdown
Member Author

while working on #3154 I have encountered this NPE so handled that there in #3154 ; since it got reverted raising this as a separate PR.

@github-actions

github-actions Bot commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

Test Results

  170 files  ±0    170 suites  ±0   25m 32s ⏱️ - 2m 23s
4 693 tests ±0  4 672 ✅ ±0   21 💤 ±0  0 ❌ ±0 
6 676 runs  ±0  6 518 ✅ ±0  158 💤 ±0  0 ❌ ±0 

Results for commit 26d9701. ± Comparison against base commit d399c4c.

♻️ This comment has been updated with latest results.

The content might go null in certain cases so adding a null check as
safeguard

Fixes: eclipse-platform#658
@elsazac
elsazac merged commit ee1713a into eclipse-platform:master Apr 14, 2026
24 checks passed
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

Successfully merging this pull request may close these issues.

[GTK3] Possible NPE creating StyledText

2 participants