Description
After authenticating successfully via SSO, the AI/Run CodeMie IntelliJ plugin immediately throws a NullPointerException during config reload. The plugin shows the message "Failed to reload CodeMie config, may be due to network restrictions" — but the network is not the issue, auth works fine.
A secondary error also occurs before this: JavascriptException: invalid header value with binary/corrupted bytes, originating from the JS bridge inside the plugin.
Steps to Reproduce
- Open IntelliJ IDEA with the AI/Run CodeMie plugin installed
- Authenticate via SSO — authentication succeeds
- Plugin immediately shows the error notification
Expected Behavior
Config reloads successfully after authentication without errors.
Actual Behavior
Two errors appear:
Error 1 — binary header value:
com.epam.airun.exception.JavascriptException: invalid header value: "���\Zp�Df�5��<�<!..."
at com.epam.airun.bridge.javascript.handler.NotificationHandler.handleError(NotificationHandler.kt:31)
at com.epam.airun.bridge.javascript.JSBridge.executeJSFunction(JSBridge.kt:45)
at com.epam.airun.bridge.javascript.JSRouter$onQuery$1.invokeSuspend(JSRouter.kt:42)
Error 2 — NPE on config reload:
java.lang.NullPointerException: Cannot invoke "com.fasterxml.jackson.databind.JsonNode.asText()"
because the return value of "com.fasterxml.jackson.databind.JsonNode.get(String)" is null
The plugin code calls .get("someField").asText() without a null check. The server's config JSON response is missing a field the plugin expects.
CLI logs also show repeated session sync failures:
[WARN] [sso-session-sync] Sync had failures: Session not found
[ERROR] [hook:Stop] Processor metrics: Session metadata not found - session must be created before processing
Environment
| Field |
Value |
| OS |
Windows 11 Enterprise (10.0.26200) x86_64 |
| Node.js |
v24.14.1 |
| npm |
11.17.0 |
| CodeMie CLI |
0.3.2 |
| Shell |
bash (MINGW64) |
Installed Agents
- CodeMie Code (0.0.47)
- Claude Code (2.1.114)
CodeMie Doctor Output
Full doctor output
Node.js: ✓ Version v24.14.1
npm: ✓ Version 11.17.0
Python: ✓ Version 3.14.3
uv: ✓ Version 0.11.4
AWS CLI: ✓ Version aws-cli/2.34.26
Active Profile:
○ Active Profile: name
✓ Provider: ai-run-sso
✓ CodeMie URL: https://codemie.lab.epam.com
✓ API Key: proxy-ha***dled
✓ Model: claude-sonnet-4-6
CodeMie SSO Provider:
✓ Provider operational
✓ SSO credentials stored
✓ Session expires in 24 hour(s)
✓ Model 'claude-sonnet-4-6' available
✓ All checks passed!
Recent Errors
ERROR and WARN entries from recent logs
Repeated pattern across both 2026-06-29 and 2026-06-26 logs:
[WARN] [claude-adapter] Processor metrics failed: Session metadata not found - session must be created before processing
[WARN] [claude-adapter] Processor conversations failed: Session metadata not found - session must be created before processing
[WARN] [claude-adapter] Session not found for sync updates
[ERROR] [hook:Stop] Processor metrics: Session metadata not found - session must be created before processing
[ERROR] [hook:Stop] Processor conversations: Session metadata not found - session must be created before processing
[WARN] [sso-session-sync] Sync had failures: Session not found
Full Debug Logs
https://gist.github.com/Surname-Surname/9596ade51172723d71880c5b700e72a4
Description
After authenticating successfully via SSO, the AI/Run CodeMie IntelliJ plugin immediately throws a NullPointerException during config reload. The plugin shows the message "Failed to reload CodeMie config, may be due to network restrictions" — but the network is not the issue, auth works fine.
A secondary error also occurs before this:
JavascriptException: invalid header valuewith binary/corrupted bytes, originating from the JS bridge inside the plugin.Steps to Reproduce
Expected Behavior
Config reloads successfully after authentication without errors.
Actual Behavior
Two errors appear:
Error 1 — binary header value:
Error 2 — NPE on config reload:
The plugin code calls
.get("someField").asText()without a null check. The server's config JSON response is missing a field the plugin expects.CLI logs also show repeated session sync failures:
Environment
Installed Agents
CodeMie Doctor Output
Full doctor output
Recent Errors
ERROR and WARN entries from recent logs
Full Debug Logs
https://gist.github.com/Surname-Surname/9596ade51172723d71880c5b700e72a4