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.
This is on NetBeans 4.1 and I am running a Web Application with an existing Ant Script. But that does not matter. The problem, after playing with this, is that the 'Fix imports' tool breaks when you are implementing an interface that happens to have the same name in common with other interfaces on the classpath. In order to recreate this, you can use an existing project or create a new one. What I did is for the sake of simplicity is that I created a regular java application project. In there I created a class called Test. In the class called Test, in the class header, I added "implements Action". There happens to be two interfaces in the standard java classpath (com.sun.corba.se.spi.orbutil.fsm.Action and javax.swing.Action). When you are done typing "implements Action", you will see that Netbeans automatically adds com.sun.corba.se.spi.orbutil.fsm.Action. Now remove that import statement, the one that says "import com.sun.corba.se.spi.orbutil.fsm.Action", and now do a Fix Imports (I did the popup menu by rightclicking and chose fix imports). You will notice that is hangs. Took me a while to figure out but there it is. I hope that you still would consider this a P1 problem because many Web framworks make heavy use of an Action Interface. Thanks
Changed from 'ui' to 'ide' component since the topic has been ignored.
Reassigning to Editor for evaluation.
Could you please attach full thread dump? (you can get it via CTRL+Break in console) Thanks...
Closing as worksforme. Please reopen if the problem reappears.