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 83914

Summary: ArrayIndexOutOfBoundsException on applying Venetian Blind pattern to OTA schema
Product: xml Reporter: Andrei Chistiakov <ca-nb>
Component: Schema ToolsAssignee: bhate <bhate>
Status: VERIFIED WORKSFORME    
Severity: blocker CC: cwebster, htt, ivansidorkin, kozlov
Priority: P1    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Andrei Chistiakov 2006-08-31 13:08:04 UTC
Reproduced in build 060831 (JDK 1.6 Beta 2)

To reproduce the bug:

- open a single file OTA schema;
- switch to the tree representation of Schema View;
- expand Attribute Groups category node;
- apply Venetian Blind design pattern to the schema.

java.lang.ArrayIndexOutOfBoundsException: 80 >= 80
	at java.util.Vector.elementAt(Vector.java:431)
	at
javax.swing.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:230)
	at
javax.swing.tree.VariableHeightLayoutCache.treeNodesRemoved(VariableHeightLayoutCache.java:543)
	at
javax.swing.plaf.basic.BasicTreeUI$Handler.treeNodesRemoved(BasicTreeUI.java:3917)
	at
javax.swing.tree.DefaultTreeModel.fireTreeNodesRemoved(DefaultTreeModel.java:530)
	at javax.swing.tree.DefaultTreeModel.nodesWereRemoved(DefaultTreeModel.java:310)
	at org.openide.explorer.view.NodeTreeModel$Listener.removed(NodeTreeModel.java:165)
	at
org.openide.explorer.view.VisualizerChildren.removed(VisualizerChildren.java:143)
	at org.openide.explorer.view.VisualizerEvent$Removed.run(VisualizerEvent.java:123)
	at org.openide.util.Mutex.readAccess(Mutex.java:293)
...
Comment 1 bhate 2006-09-06 21:16:22 UTC
I am not able to reproduce this bug.
If it is still reproducible please attach complete stack trace.
Current stack trace does not show code in xml schematools which may be causing
the AIOB exception
Comment 2 Andrei Chistiakov 2006-09-07 10:17:29 UTC
Not reproducible in build 060906_1.