You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/11/12 19:01:15 UTC
[jira] Commented: (PIVOT-668) AWT :
java.lang.IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/PIVOT-668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931474#action_12931474 ]
Greg Brown commented on PIVOT-668:
----------------------------------
Please provide a simple test application that reproduces the issue and we'll look into it.
Thanks,
G
> AWT : java.lang.IndexOutOfBoundsException
> -----------------------------------------
>
> Key: PIVOT-668
> URL: https://issues.apache.org/jira/browse/PIVOT-668
> Project: Pivot
> Issue Type: Bug
> Components: wtk
> Affects Versions: 1.5.2
> Environment: Windows 7 Ultimate
> Reporter: LG
>
> I have a recurrent exception happening in my application :
> Exception thrown during paint(): java.lang.IndexOutOfBoundsException: index 1 out of bounds.
> Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: index 1 out of bounds.
> at org.apache.pivot.collections.ArrayList.verifyIndexBounds(ArrayList.java:577)
> at org.apache.pivot.collections.ArrayList.get(ArrayList.java:346)
> at org.apache.pivot.wtk.Component$DecoratorSequence.get(Component.java:255)
> at org.apache.pivot.wtk.Container.paint(Container.java:398)
> at org.apache.pivot.wtk.ApplicationContext$DisplayHost.paintDisplay(ApplicationContext.java:512)
> at org.apache.pivot.wtk.ApplicationContext$DisplayHost.paintVolatileBuffered(ApplicationContext.java:478)
> at org.apache.pivot.wtk.ApplicationContext$DisplayHost.paint(ApplicationContext.java:383)
> at org.apache.pivot.wtk.ApplicationContext$DisplayHost.update(ApplicationContext.java:405)
> at sun.awt.RepaintArea.updateComponent(RepaintArea.java:239)
> at sun.awt.RepaintArea.paint(RepaintArea.java:216)
> at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:310)
> at java.awt.Component.dispatchEventImpl(Component.java:4706)
> at java.awt.Component.dispatchEvent(Component.java:4460)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
> at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
> I use a CardPanel to display my components (programmatically):
> Showing a component :
> cardPanel.setSelectedIndex(cardPane.add(component));
> Hiding a component
> Component component = cardPane.get(0);
> cardPane.remove(component);
> Sometimes my components open Alert windows (Alert.alert(...))
> Any ideas ?
> Regards.
> L.G.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.