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 - ArrayIndexOutOfBoundsException on applying Venetian Blind pattern to OTA schema
Summary: ArrayIndexOutOfBoundsException on applying Venetian Blind pattern to OTA schema
Status: VERIFIED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: bhate
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-31 13:08 UTC by Andrei Chistiakov
Modified: 2006-09-07 10:17 UTC (History)
4 users (show)

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 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.