pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Brown" <gk_br...@verizon.net>
Subject Re: Calendar problem
Date Mon, 07 Feb 2011 02:18:05 GMT
That would be great, thanks.


----- Reply message -----
From: "Luiz Gustavo" <luizgustavoss@gmail.com>
Date: Sun, Feb 6, 2011 5:37 pm
Subject: Calendar problem
To: <user@pivot.apache.org>

Greg, should I open an issue in Jira?

2011/2/6 Luiz Gustavo <luizgustavoss@gmail.com>

> Hi,
>
> I'm getting a very strange beravior with Calendar component. When I try to
> select some days in may, calendar automatically changes to april, and when I
> select 1st May 2011 I get this error:
>
>
> 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.TablePane$Row.get(TablePane.java:263)
>     at
> org.apache.pivot.wtk.skin.terra.TerraCalendarSkin.updateSelection(TerraCalendarSkin.java:706)
>     at
> org.apache.pivot.wtk.skin.terra.TerraCalendarSkin.selectedDateChanged(TerraCalendarSkin.java:963)
>     at
> org.apache.pivot.wtk.Calendar$CalendarSelectionListenerList.selectedDateChanged(Calendar.java:90)
>     at org.apache.pivot.wtk.Calendar.setSelectedDate(Calendar.java:212)
>     at
> org.apache.pivot.wtk.skin.terra.TerraCalendarSkin$4.selectionChanged(TerraCalendarSkin.java:506)
>     at
> org.apache.pivot.wtk.ButtonGroup$ButtonGroupListenerList.selectionChanged(ButtonGroup.java:46)
>     at org.apache.pivot.wtk.ButtonGroup.setSelection(ButtonGroup.java:128)
>     at org.apache.pivot.wtk.Button.setState(Button.java:469)
>     at org.apache.pivot.wtk.Button.setSelected(Button.java:432)
>     at
> org.apache.pivot.wtk.skin.terra.TerraCalendarSkin$DateButton.press(TerraCalendarSkin.java:77)
>     at
> org.apache.pivot.wtk.skin.terra.TerraCalendarSkin$DateButtonSkin.mouseClick(TerraCalendarSkin.java:219)
>     at
> org.apache.pivot.wtk.Component$ComponentMouseButtonListenerList.mouseClick(Component.java:483)
>     at org.apache.pivot.wtk.Component.mouseClick(Component.java:2777)
>     at org.apache.pivot.wtk.Container.mouseUp(Container.java:774)
>     at org.apache.pivot.wtk.Container.mouseUp(Container.java:759)
>     at org.apache.pivot.wtk.Container.mouseUp(Container.java:759)
>     at org.apache.pivot.wtk.Container.mouseUp(Container.java:759)
>     at org.apache.pivot.wtk.Container.mouseUp(Container.java:759)
>     at
> org.apache.pivot.wtk.ApplicationContext$DisplayHost.processMouseEvent(ApplicationContext.java:914)
>     at java.awt.Component.processEvent(Unknown Source)
>     at
> org.apache.pivot.wtk.ApplicationContext$DisplayHost.processEvent(ApplicationContext.java:709)
>     at java.awt.Component.dispatchEventImpl(Unknown Source)
>     at java.awt.Component.dispatchEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>     at java.awt.Container.dispatchEventImpl(Unknown Source)
>     at java.awt.Window.dispatchEventImpl(Unknown Source)
>     at java.awt.Component.dispatchEvent(Unknown Source)
>     at java.awt.EventQueue.dispatchEvent(Unknown Source)
>     at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     at java.awt.EventDispatchThread.run(Unknown Source)
> 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.TablePane$Row.get(TablePane.java:263)
>     at
> org.apache.pivot.wtk.skin.terra.TerraCalendarSkin.updateSelection(TerraCalendarSkin.java:706)
>     at
> org.apache.pivot.wtk.skin.terra.TerraCalendarSkin.selectedDateChanged(TerraCalendarSkin.java:963)
>     at
> org.apache.pivot.wtk.Calendar$CalendarSelectionListenerList.selectedDateChanged(Calendar.java:90)
>     at org.apache.pivot.wtk.Calendar.setSelectedDate(Calendar.java:212)
>     at
> org.apache.pivot.wtk.skin.terra.TerraCalendarSkin$4.selectionChanged(TerraCalendarSkin.java:506)
>     at
> org.apache.pivot.wtk.ButtonGroup$ButtonGroupListenerList.selectionChanged(ButtonGroup.java:46)
>     at org.apache.pivot.wtk.ButtonGroup.setSelection(ButtonGroup.java:128)
>     at org.apache.pivot.wtk.Button.setState(Button.java:469)
>     at org.apache.pivot.wtk.Button.setSelected(Button.java:432)
>     at
> org.apache.pivot.wtk.skin.terra.TerraCalendarSkin$DateButton.press(TerraCalendarSkin.java:77)
>     at
> org.apache.pivot.wtk.skin.terra.TerraCalendarSkin$DateButtonSkin.mouseClick(TerraCalendarSkin.java:219)
>     at
> org.apache.pivot.wtk.Component$ComponentMouseButtonListenerList.mouseClick(Component.java:483)
>     at org.apache.pivot.wtk.Component.mouseClick(Component.java:2777)
>     at org.apache.pivot.wtk.Container.mouseUp(Container.java:774)
>     at org.apache.pivot.wtk.Container.mouseUp(Container.java:759)
>     at org.apache.pivot.wtk.Container.mouseUp(Container.java:759)
>     at org.apache.pivot.wtk.Container.mouseUp(Container.java:759)
>     at org.apache.pivot.wtk.Container.mouseUp(Container.java:759)
>     at
> org.apache.pivot.wtk.ApplicationContext$DisplayHost.processMouseEvent(ApplicationContext.java:914)
>     at java.awt.Component.processEvent(Unknown Source)
>     at
> org.apache.pivot.wtk.ApplicationContext$DisplayHost.processEvent(ApplicationContext.java:709)
>     at java.awt.Component.dispatchEventImpl(Unknown Source)
>     at java.awt.Component.dispatchEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>     at java.awt.Container.dispatchEventImpl(Unknown Source)
>     at java.awt.Window.dispatchEventImpl(Unknown Source)
>     at java.awt.Component.dispatchEvent(Unknown Source)
>     at java.awt.EventQueue.dispatchEvent(Unknown Source)
>     at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     at java.awt.EventDispatchThread.run(Unknown Source)
>
>
> What could it be?
>
> Luiz Gustavo S. de Souza
>
> http://luizgustavoss.wordpress.com
>
>
>


-- 
Luiz Gustavo S. de Souza

http://luizgustavoss.wordpress.com

Mime
View raw message