| Summary: | Internal Error running "create method" quick fix | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | John Arthorne <john.arthorne> | ||||||
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> | ||||||
| Status: | RESOLVED DUPLICATE | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | markus.kell.r | ||||||
| Version: | 3.5 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 119230 [details]
The file being edited in the state before applying the quick fix.
*** This bug has been marked as a duplicate of bug 195834 *** |
Created attachment 119229 [details] Log file I20081119-1600 I got this error while running the "create method" quick fix in a Java editor. I had just finished typing in a reference to non-existent method "publishRepositoryReferences() on line 234 of SimpleProfileRegistry.java (I will atach it). An error marker appeared because the method doesn't exist. I hit Ctrl+1 and Enter to apply the "create method" quick fix. The quick fix appeared to work correctly (the new method was added in the right place), but there were several errors in the log. I tried to immediately undo and re-apply to see if it was reproducible, but I could not reproduce. Complete log attached: org.eclipse.core.runtime.CoreException: First position: '' at 8141, this position: 'publishRepositoryReferences' at 8084 at org.eclipse.jdt.internal.ui.text.correction.proposals.CUCorrectionProposal.performChange