| Summary: | SWTBotEclipseEditor#invokeAction throws ClassCastException | ||
|---|---|---|---|
| Product: | [Technology] SWTBot | Reporter: | Radhakrishna Bhat <radhakrishna12> |
| Component: | EclipseBot | Assignee: | Project Inbox <swtbot-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | KetanPadegaonkar, mistria, radhakrishna12 |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Radhakrishna Bhat
Could you please provide a stacktrace that points to the problem? There is no stacktrace. The exception gets caught in quickFixAppears method. The problem is in the line --> "final IAction action = ((ITextEditor) partReference.getEditor(false)).getAction(actionId);" in invokeAction method of SWTBotEclipseEditor. partReference.getEditor(false) returns an instance of MultiPageEditor in my application which cannot be casted to ITextEditor. (ClassCastException when i debugged to that line) (In reply to comment #1) > Could you please provide a stacktrace that points to the problem? |