Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369618

Summary: astwriter.ProblemRuntimeException when generating getters and setters in file with syntax error
Product: [Tools] CDT Reporter: Marc-AndrĂ© Laperle <malaperle>
Component: cdt-refactoringAssignee: Sergey Prigogin <eclipse.sprigogin>
Status: RESOLVED FIXED QA Contact: Sergey Prigogin <eclipse.sprigogin>
Severity: normal    
Priority: P3 CC: cdtdoug, yevshif
Version: 8.0.1   
Target Milestone: 8.1.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Stack trace none

Description Marc-André Laperle CLA 2012-01-25 00:42:24 EST
Created attachment 210027 [details]
Stack trace

Tested with 8.0.1 and 8.0.2 RC1.

class Test {
public:
    int foo;
    syntax_error
};

1. Open Generate Getters and Setter.
2. Select a getter or setter, click next.
3. "An unexpected exception occurred while create a change object..."

Attached is the full stack trace.
Comment 1 Sergey Prigogin CLA 2012-05-20 17:31:33 EDT
I wasn't able to reproduce the problem in master. Marking as fixed.