Skip to content

Fix NPE in JTabbedPaneInfo if tab-item bounds are null #1509#1510

Merged
ptziegler merged 1 commit into
eclipse-windowbuilder:masterfrom
ptziegler:issue1509
May 14, 2026
Merged

Fix NPE in JTabbedPaneInfo if tab-item bounds are null #1509#1510
ptziegler merged 1 commit into
eclipse-windowbuilder:masterfrom
ptziegler:issue1509

Conversation

@ptziegler
Copy link
Copy Markdown
Contributor

Depending on the UI (which is determined by the current LookAndFeel), the call to getBoundsAt(int) may return null. Such tabs must be removed from the model.

Closes #1509

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 13, 2026

Test Results

 2 720 files  ±0   2 720 suites  ±0   10h 20m 27s ⏱️ -51s
 7 018 tests +1   6 973 ✅ +1   45 💤 ±0  0 ❌ ±0 
28 072 runs  +4  27 878 ✅ +4  194 💤 ±0  0 ❌ ±0 

Results for commit bcbd75e. ± Comparison against base commit 7abebf4.

♻️ This comment has been updated with latest results.

…builder#1509

Depending on the UI (which is determined by the current LookAndFeel),
the call to `getBoundsAt(int)` may return null. Such tabs must be
removed from the model.

Closes eclipse-windowbuilder#1509
@ptziegler ptziegler merged commit 2eb57de into eclipse-windowbuilder:master May 14, 2026
8 checks passed
@ptziegler ptziegler deleted the issue1509 branch May 14, 2026 08:15
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.

Internal Error - tabbedPane - when tab labels are not visible.

1 participant