Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328113 - NPE in RenameJavaElementActionAspect:41
Summary: NPE in RenameJavaElementActionAspect:41
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: 2.1.0   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: 2.1.1   Edit
Assignee: Andrew Eisenberg CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-19 06:39 EDT by Mirko Stocker CLA
Modified: 2010-10-20 11:54 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mirko Stocker CLA 2010-10-19 06:39:12 EDT
The Scala IDE for Eclipse uses JDT weaving, but users typically don't have AJDT installed, so in the RenameJavaElementActionAspect, the `IRefactoringProvider provider` is null (as indicated by the source code comment) and leads to a NPE on line 41.
Comment 1 Andrew Eisenberg CLA 2010-10-19 12:39:04 EDT
Thanks for reporting this.  I'll fix this for the release of AJDT 2.1.1 coming out on Thursday.
Comment 2 Mirko Stocker CLA 2010-10-20 03:45:02 EDT
That would be great; thanks a lot!
Comment 3 Andrew Eisenberg CLA 2010-10-20 11:54:39 EDT
Fix is now available in latest dev build for Eclipse 3.6.