Environment
- Plugin version: 2735.1
- IDE: PyCharm 2026.2 (build PY-262.8665.369)
- OS: Linux (CachyOS / Arch-based)
Description
After updating to PyCharm 2026.*, Junie plugin produces repeated errors every few seconds in the log, spamming STDERR with StringIndexOutOfBoundsException and EDT threading errors.
Error 1 - StringIndexOutOfBoundsException (repeated every ~5s)
java.lang.StringIndexOutOfBoundsException: Range [49, 16) out of bounds for length 16
Triggered by JunieStructureServiceImpl when analyzing Python files (e.g. settings.py, test_views.py). The plugin tries to extract a character range that does not exist in the source string.
Error 2 - EDT threading violation
Service error on JunieStructureService.getFileStructure: Error in getFileStructure: Access is allowed from Event Dispatch Thread (EDT) only
Service error on JunieStructureService.getFileImports: Error in getFileImports: Access is allowed from Event Dispatch Thread (EDT) only
Junie calls file structure/import operations from a non-EDT thread.
Impact
The errors repeat every few seconds and may block the code editing thread. Uninstall/reinstall of the plugin does not resolve the issue.
Steps to reproduce
- Open a Python project in PyCharm 2026.2 with Junie installed (v2735.1)
- Open any Python file that has imports or structure
- Observe repeated errors in the log every few seconds
Expected behavior
Junie should analyze file structure without exceptions and respect EDT threading rules.
Actual behavior
Repeated StringIndexOutOfBoundsException and EDT violations spam the log.
Environment
Description
After updating to PyCharm 2026.*, Junie plugin produces repeated errors every few seconds in the log, spamming STDERR with
StringIndexOutOfBoundsExceptionand EDT threading errors.Error 1 - StringIndexOutOfBoundsException (repeated every ~5s)
Triggered by
JunieStructureServiceImplwhen analyzing Python files (e.g.settings.py,test_views.py). The plugin tries to extract a character range that does not exist in the source string.Error 2 - EDT threading violation
Junie calls file structure/import operations from a non-EDT thread.
Impact
The errors repeat every few seconds and may block the code editing thread. Uninstall/reinstall of the plugin does not resolve the issue.
Steps to reproduce
Expected behavior
Junie should analyze file structure without exceptions and respect EDT threading rules.
Actual behavior
Repeated
StringIndexOutOfBoundsExceptionand EDT violations spam the log.