This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I get attached exception in refactoring tests. Everything works fine, the exception seems harmless, but from quick guess it seems that listeners on servlet elements are not removed correctly, or the code does not check all possible cases. What is done in refactoring: 1. a servlet bean is removed from one dd 2. a new name is set on this element (this is where exception appears) 3. the element is added to another dd.
Created attachment 21358 [details] log file
It is reproducible. 1. Have two webprojects A and B. 2. Create a servlet in project A. 3. Use refactoring function to move the servlet from A to B. 4. Exception will occur.
Setting TM to 4.2.
This seems to be already fixed.
v