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.

Bug 101994 - AIOB exception selecting component in outline
Summary: AIOB exception selecting component in outline
Status: RESOLVED DUPLICATE of bug 101647
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ sandipchitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-20 16:56 UTC by _ krystyna
Modified: 2007-04-20 20:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ krystyna 2007-04-20 16:56:26 UTC
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)
Comment 1 _ sandipchitale 2007-04-20 20:56:56 UTC
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 ***