Bug 306571 - [extract local] invalid problems: Reference to nested type not found
Summary: [extract local] invalid problems: Reference to nested type not found
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M7   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 306568 309022
Blocks:
  Show dependency tree
 
Reported: 2010-03-19 14:42 EDT by Markus Keller CLA
Modified: 2010-04-14 08:38 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2010-03-19 14:42:41 EDT
I20100316-0859

- In JavaModelManager.getReferencedClasspathEntries(IClasspathEntry, IJavaProject) (Rev. 1.445), select "project.getProject()"
- Refactoring > Extract Local Variable....
- Preview >
=> Error page with 4 invalid problems "Entry cannot be resolved to a type"

Can also be reproduced in I20100316-0859 by taking the example from bug 306568, executing Organize Imports (which fixes the imports), and then extracting "hello" into a local variable.

Could be caused by bug 306568. Will check back once that one is fixed.
Comment 1 Markus Keller CLA 2010-04-14 08:38:51 EDT
Fixed with the fix for bug 309022.