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

Bug 328113

Summary: NPE in RenameJavaElementActionAspect:41
Product: [Tools] AJDT Reporter: Mirko Stocker <me>
Component: CoreAssignee: Andrew Eisenberg <andrew.eisenberg>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: andrew.eisenberg, demoboxguard-cloud
Version: 2.1.0   
Target Milestone: 2.1.1   
Hardware: PC   
OS: Linux   
Whiteboard:

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.