Skip to content

Fix NPE when Find action is unavailable in Expressions view#2562

Merged
fedejeanne merged 1 commit intoeclipse-platform:masterfrom
mx990:expressions-view-npe-fix
Mar 12, 2026
Merged

Fix NPE when Find action is unavailable in Expressions view#2562
fedejeanne merged 1 commit intoeclipse-platform:masterfrom
mx990:expressions-view-npe-fix

Conversation

@mx990
Copy link
Contributor

@mx990 mx990 commented Mar 12, 2026

The Find action may be unavailable when the focus is outside the Expressions view, which leads to an NPE in fillContextMenu.

This adds a null and enablement check for the Find action to resolve the problem.

This relates to #2558 and #2559 (comment).

The Find action may be unavailable when the focus is outside the
Expressions view, which leads to an NPE in fillContextMenu.

This adds a null and enablement check for the Find action to resolve
the problem.
@github-actions
Copy link
Contributor

Test Results

 1 980 files  ±0   1 980 suites  ±0   1h 37m 5s ⏱️ + 2m 11s
 4 750 tests ±0   4 726 ✅ +4   24 💤 ±0  0 ❌  - 4 
14 250 runs  ±0  14 068 ✅ +4  182 💤 ±0  0 ❌  - 4 

Results for commit d906fdc. ± Comparison against base commit 81910d7.

@fedejeanne fedejeanne merged commit e33c137 into eclipse-platform:master Mar 12, 2026
18 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.

2 participants