jdt_rename_element: NullPointerException in ProcessorBasedRefactoring.createChange (fParticipants is null) #24
Labels
No labels
bug
build
enhancement
headless
P1-critical
P2-high
P3-medium
P4-low
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ai-tools/jdt-mcp-server#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Version
jdt-mcp-server 0.2.15
Description
jdt_rename_elementfails with aNullPointerExceptionwhen renaming a field. This is a different error than #20 (which wasIllegalArgumentExceptioninProjectScope.getNode), suggesting that fix resolved the previous issue but a new code path is now reached wherefParticipantsis not initialized.Steps to Reproduce
Workspace with two multi-module Maven projects (
rdfwith 10 modules,platformwith 19 modules).Rename an interface field with cross-module references:
The field is defined in
rdf-apiand referenced in 3 files across theplatformproject (12 occurrences total).Error
Stack Trace
Same error occurs with
preview: true(line 207) andpreview: false(line 215).Related
IllegalArgumentException(likely fixed, this is the next blocker)