Bug 513606 - IllegalArgumentException in ChangeFormatter.clippedEdit (called by IncludeOrganizer)
Summary: IllegalArgumentException in ChangeFormatter.clippedEdit (called by IncludeOrg...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: Next   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-14 00:56 EDT by EPP Error Reports CLA
Modified: 2020-09-04 15:19 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EPP Error Reports CLA 2017-03-14 00:56:30 EDT
The following problem was reported via the automated error reporting:

Message: An internal error occurred during: "Organizing includes".
java.lang.IllegalArgumentException: Unexpected edit type: InsertEdit
    at org.eclipse.cdt.internal.formatter.ChangeFormatter.clippedEdit(ChangeFormatter.java:200)
    at org.eclipse.cdt.internal.formatter.ChangeFormatter.formatChangedCode(ChangeFormatter.java:165)
    at org.eclipse.cdt.internal.ui.refactoring.includes.IncludeOrganizer.organizeIncludes(IncludeOrganizer.java:331)
    at org.eclipse.cdt.internal.ui.editor.OrganizeIncludesAction$1.runOnAST(OrganizeIncludesAction.java:83)
    at org.eclipse.cdt.ui.text.SharedASTJob$1.runOnAST(SharedASTJob.java:74)
    at org.eclipse.cdt.internal.core.model.ASTCache.runOnAST(ASTCache.java:219)
    at org.eclipse.cdt.internal.ui.editor.ASTProvider.runOnAST(ASTProvider.java:336)
    at org.eclipse.cdt.ui.text.SharedASTJob.run(SharedASTJob.java:71)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)



Bundles:
| org.eclipse.cdt | 9.2.0.201612061315 | 9.2.0.201612061315 |
| org.eclipse.cdt.core | 6.2.0.201612061315 | 6.2.0.201612061315 |
| org.eclipse.cdt.ui | 6.1.0.201612061315 | 6.1.0.201612061315 |
| org.eclipse.core.jobs | 3.8.0.v20160509-0411 | 3.8.0.v20160509-0411 |

Operating Systems:
| Linux | 4.8.0 | 4.8.0 |


The above information is a snapshot of the collected data. Visit https://dev.eclipse.org/recommenders/committers/aeri/v2/#!/problems/58c1bcfbe4b078056e4f4835 for the latest data.

Thank you for your assistance.
 Your friendly error-reports-inbox.