Bug 6601

Summary: Internal error when trying to extract a method
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Dirk Baeumer <dirk_baeumer>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P1    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows NT   
Whiteboard:
Attachments:
Description Flags
Error log file none

Description Dani Megert CLA 2001-12-05 12:34:58 EST
1. In JarFileExportOperation v1.25 Select line 262 to 273 (including)
   Note: Selection includes } which does not belong to block
2. Extract method
==> Dialog pops-up: Internal Error, See error log for more details.
See attached file for the log.
Comment 1 Dani Megert CLA 2001-12-05 12:36:03 EST
Created attachment 156 [details]
Error log file
Comment 2 Dirk Baeumer CLA 2002-01-17 11:57:04 EST
This problem got fixed by separating the ExceptionAnalyzer from the 
StatementAnalyzer. It is now ensured that visit and endVisit calls are 
symmetrical (if you get a visit call you get an endVisit call). This wasn't the 
case in the old implementation. So when you got an endVist call without a visit 
call the stack could have been empty.

Closing