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.
NB 070420 JDK1.6 WinXP 1. EE5 project; drop a number of components; 2. Traverse components in outline, highlight select any component >get sporadic exception on any component java.lang.ArrayIndexOutOfBoundsException: 1 at org.netbeans.modules.visualweb.insync.faces.refactoring.FacesRefactor ingActionsProvider.getPaste(FacesRefactoringActionsProvider.java:156) at org.netbeans.modules.visualweb.insync.faces.refactoring.FacesRefactor ingActionsProvider.access$100(FacesRefactoringActionsProvider.java:40) at org.netbeans.modules.visualweb.insync.faces.refactoring.FacesRefactor ingActionsProvider$2.createRefactoringUI(FacesRefactoringActionsProvider.java:12 0) at org.netbeans.modules.visualweb.insync.faces.refactoring.FacesRefactor ingActionsProvider$NodeToFileObject.run(FacesRefactoringActionsProvider.java:183 ) at org.netbeans.modules.visualweb.insync.faces.refactoring.FacesRefactor ingActionsProvider.doMove(FacesRefactoringActionsProvider.java:116) at org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactor y.doMove(ActionsImplementationFactory.java:91) at org.netbeans.modules.refactoring.spi.impl.MoveAction.performAction(Mo veAction.java:40) at org.netbeans.modules.refactoring.spi.impl.RefactoringGlobalAction$Con textAction.actionPerformed(RefactoringGlobalAction.java:157) at org.netbeans.modules.refactoring.impl.ClipboardConvertor$RefactoringP aste$RefactoringPasteType$1.run(ClipboardConvertor.java:120) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre ad.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
As can be seen from the stack trace the underlying cause is that for some reason when you select (or drag) a component in outline teh refactoring is triggered. I am working with Peter to invetigate this. Lasrk has already filed a P1 for this 101647. *** This issue has been marked as a duplicate of 101647 ***