Skip to content

Fix NPE in AntConsoleColorProvider after console disconnect - #2972

Merged
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:fix-ant-console-npe
Sep 29, 2026
Merged

vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:fix-ant-console-npe

Conversation

@vogella

@vogella vogella commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

A color preference change schedules an async stream color update. If the console is disconnected before it runs, getConsole() returns null and an NPE is thrown. Skip the update in that case.

🤖 Generated with Claude Code

A color preference change schedules an async stream update, which can
run after the console was disconnected and getConsole() returns null.
Skip the update in that case.

Assisted-by: multiple AI agents and layers of automated tooling 🤖
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

    54 files  ±0      54 suites  ±0   59m 3s ⏱️ + 1m 46s
 4 836 tests ±0   4 814 ✅ ±0   22 💤 ±0  0 ❌ ±0 
12 399 runs  ±0  12 245 ✅ ±0  154 💤 ±0  0 ❌ ±0 

Results for commit c90aa0d. ± Comparison against base commit 7b37f53.

@vogella
vogella merged commit 5f5b145 into eclipse-platform:master Sep 29, 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