You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Jérôme Serré <je...@gmail.com> on 2011/03/08 13:58:04 UTC

TextArea issue

Hello,

 

When i use th ‘End’ key in a TextArea i have this error :

May be it is yet in JIRA ?

 

java.lang.IndexOutOfBoundsException

                        at
org.apache.pivot.wtk.TextArea.getCharacterAt(TextArea.java:870)

                        at
org.apache.pivot.wtk.skin.TextAreaSkin.keyPressed(TextAreaSkin.java:934)

                        at
org.apache.pivot.wtk.Component$ComponentKeyListenerList.keyPressed(Component
.java:524)

                        at
org.apache.pivot.wtk.Component.keyPressed(Component.java:2813)

                        at
org.apache.pivot.wtk.ApplicationContext$DisplayHost.processKeyEvent(Applicat
ionContext.java:1257)

                        at java.awt.Component.processEvent(Unknown Source)

                        at
org.apache.pivot.wtk.ApplicationContext$DisplayHost.processEvent(Application
Context.java:709)

                        at java.awt.Component.dispatchEventImpl(Unknown
Source)

                        at java.awt.Component.dispatchEvent(Unknown Source)

                        at
java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)

                        at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

                        at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)

                        at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)

                        at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)

                        at java.awt.Component.dispatchEventImpl(Unknown
Source)

                        at java.awt.Container.dispatchEventImpl(Unknown
Source)

                        at java.awt.Component.dispatchEvent(Unknown Source)

                        at java.awt.EventQueue.dispatchEventImpl(Unknown
Source)

                        at java.awt.EventQueue.access$000(Unknown Source)

                        at java.awt.EventQueue$1.run(Unknown Source)

                        at java.awt.EventQueue$1.run(Unknown Source)

                        at
java.security.AccessController.doPrivileged(Native Method)

                        at
java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

                        at
java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

                        at java.awt.EventQueue$2.run(Unknown

____________________________

Manage your cellar

http://85.216.59.161:8000/cave

 


RE: TextArea issue

Posted by Jérôme Serré <je...@gmail.com>.
I found it in JIRA 

Next time I’ll search.

 

De : Greg Brown [mailto:gk_brown@verizon.net] 
Envoyé : mardi 8 mars 2011 14:20
À : user@pivot.apache.org
Objet : Re: TextArea issue

 

OK, thanks. Yes, this is a known issue:

 

https://issues.apache.org/jira/browse/PIVOT-683

 

On Mar 8, 2011, at 8:11 AM, Jérôme Serré wrote:





Any content

But the error appear when the carret is at the end of the text

De : Greg Brown [mailto:gk_brown@verizon.net] 
Envoyé : mardi 8 mars 2011 14:04
À : user@pivot.apache.org
Objet : Re: TextArea issue

 

What is the content of the text area, and where is the caret positioned,
when you get this error?

 

On Mar 8, 2011, at 7:58 AM, Jérôme Serré wrote:






Hello,

 

When i use th ‘End’ key in a TextArea i have this error :

May be it is yet in JIRA ?

 

java.lang.IndexOutOfBoundsException

                        at
org.apache.pivot.wtk.TextArea.getCharacterAt(TextArea.java:870)

                        at
org.apache.pivot.wtk.skin.TextAreaSkin.keyPressed(TextAreaSkin.java:934)

                        at
org.apache.pivot.wtk.Component$ComponentKeyListenerList.keyPressed(Component
.java:524)

                        at
org.apache.pivot.wtk.Component.keyPressed(Component.java:2813)

                        at
org.apache.pivot.wtk.ApplicationContext$DisplayHost.processKeyEvent(Applicat
ionContext.java:1257)

                        at java.awt.Component.processEvent(Unknown Source)

                        at
org.apache.pivot.wtk.ApplicationContext$DisplayHost.processEvent(Application
Context.java:709)

                        at java.awt.Component.dispatchEventImpl(Unknown
Source)

                        at java.awt.Component.dispatchEvent(Unknown Source)

                        at
java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)

                        at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

                        at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)

                        at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)

                        at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)

                        at java.awt.Component.dispatchEventImpl(Unknown
Source)

                        at java.awt.Container.dispatchEventImpl(Unknown
Source)

                        at java.awt.Component.dispatchEvent(Unknown Source)

                        at java.awt.EventQueue.dispatchEventImpl(Unknown
Source)

                        at java.awt.EventQueue.access$000(Unknown Source)

                        at java.awt.EventQueue$1.run(Unknown Source)

                        at java.awt.EventQueue$1.run(Unknown Source)

                        at
java.security.AccessController.doPrivileged(Native Method)

                        at
java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

                        at
java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

                        at java.awt.EventQueue$2.run(Unknown

____________________________

Manage your cellar

http://85.216.59.161:8000/cave

 

 

 


Re: TextArea issue

Posted by Greg Brown <gk...@verizon.net>.
OK, thanks. Yes, this is a known issue:

https://issues.apache.org/jira/browse/PIVOT-683

On Mar 8, 2011, at 8:11 AM, Jérôme Serré wrote:

> Any content
> But the error appear when the carret is at the end of the text
> De : Greg Brown [mailto:gk_brown@verizon.net] 
> Envoyé : mardi 8 mars 2011 14:04
> À : user@pivot.apache.org
> Objet : Re: TextArea issue
>  
> What is the content of the text area, and where is the caret positioned, when you get this error?
>  
> On Mar 8, 2011, at 7:58 AM, Jérôme Serré wrote:
> 
> 
> Hello,
>  
> When i use th ‘End’ key in a TextArea i have this error :
> May be it is yet in JIRA ?
>  
> java.lang.IndexOutOfBoundsException
>                         at org.apache.pivot.wtk.TextArea.getCharacterAt(TextArea.java:870)
>                         at org.apache.pivot.wtk.skin.TextAreaSkin.keyPressed(TextAreaSkin.java:934)
>                         at org.apache.pivot.wtk.Component$ComponentKeyListenerList.keyPressed(Component.java:524)
>                         at org.apache.pivot.wtk.Component.keyPressed(Component.java:2813)
>                         at org.apache.pivot.wtk.ApplicationContext$DisplayHost.processKeyEvent(ApplicationContext.java:1257)
>                         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.KeyboardFocusManager.redispatchEvent(Unknown Source)
>                         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
>                         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
>                         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
>                         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
>                         at java.awt.Component.dispatchEventImpl(Unknown Source)
>                         at java.awt.Container.dispatchEventImpl(Unknown Source)
>                         at java.awt.Component.dispatchEvent(Unknown Source)
>                         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
>                         at java.awt.EventQueue.access$000(Unknown Source)
>                         at java.awt.EventQueue$1.run(Unknown Source)
>                         at java.awt.EventQueue$1.run(Unknown Source)
>                         at java.security.AccessController.doPrivileged(Native Method)
>                         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
>                         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
>                         at java.awt.EventQueue$2.run(Unknown
> ____________________________
> Manage your cellar
> http://85.216.59.161:8000/cave
>  
>  


RE: TextArea issue

Posted by Jérôme Serré <je...@gmail.com>.
Any content

But the error appear when the carret is at the end of the text

De : Greg Brown [mailto:gk_brown@verizon.net] 
Envoyé : mardi 8 mars 2011 14:04
À : user@pivot.apache.org
Objet : Re: TextArea issue

 

What is the content of the text area, and where is the caret positioned,
when you get this error?

 

On Mar 8, 2011, at 7:58 AM, Jérôme Serré wrote:





Hello,

 

When i use th ‘End’ key in a TextArea i have this error :

May be it is yet in JIRA ?

 

java.lang.IndexOutOfBoundsException

                        at
org.apache.pivot.wtk.TextArea.getCharacterAt(TextArea.java:870)

                        at
org.apache.pivot.wtk.skin.TextAreaSkin.keyPressed(TextAreaSkin.java:934)

                        at
org.apache.pivot.wtk.Component$ComponentKeyListenerList.keyPressed(Component
.java:524)

                        at
org.apache.pivot.wtk.Component.keyPressed(Component.java:2813)

                        at
org.apache.pivot.wtk.ApplicationContext$DisplayHost.processKeyEvent(Applicat
ionContext.java:1257)

                        at java.awt.Component.processEvent(Unknown Source)

                        at
org.apache.pivot.wtk.ApplicationContext$DisplayHost.processEvent(Application
Context.java:709)

                        at java.awt.Component.dispatchEventImpl(Unknown
Source)

                        at java.awt.Component.dispatchEvent(Unknown Source)

                        at
java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)

                        at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

                        at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)

                        at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)

                        at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)

                        at java.awt.Component.dispatchEventImpl(Unknown
Source)

                        at java.awt.Container.dispatchEventImpl(Unknown
Source)

                        at java.awt.Component.dispatchEvent(Unknown Source)

                        at java.awt.EventQueue.dispatchEventImpl(Unknown
Source)

                        at java.awt.EventQueue.access$000(Unknown Source)

                        at java.awt.EventQueue$1.run(Unknown Source)

                        at java.awt.EventQueue$1.run(Unknown Source)

                        at
java.security.AccessController.doPrivileged(Native Method)

                        at
java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

                        at
java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

                        at java.awt.EventQueue$2.run(Unknown

____________________________

Manage your cellar

http://85.216.59.161:8000/cave

 

 


Re: TextArea issue

Posted by Greg Brown <gk...@verizon.net>.
What is the content of the text area, and where is the caret positioned, when you get this error?

On Mar 8, 2011, at 7:58 AM, Jérôme Serré wrote:

> Hello,
>  
> When i use th ‘End’ key in a TextArea i have this error :
> May be it is yet in JIRA ?
>  
> java.lang.IndexOutOfBoundsException
>                         at org.apache.pivot.wtk.TextArea.getCharacterAt(TextArea.java:870)
>                         at org.apache.pivot.wtk.skin.TextAreaSkin.keyPressed(TextAreaSkin.java:934)
>                         at org.apache.pivot.wtk.Component$ComponentKeyListenerList.keyPressed(Component.java:524)
>                         at org.apache.pivot.wtk.Component.keyPressed(Component.java:2813)
>                         at org.apache.pivot.wtk.ApplicationContext$DisplayHost.processKeyEvent(ApplicationContext.java:1257)
>                         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.KeyboardFocusManager.redispatchEvent(Unknown Source)
>                         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
>                         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
>                         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
>                         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
>                         at java.awt.Component.dispatchEventImpl(Unknown Source)
>                         at java.awt.Container.dispatchEventImpl(Unknown Source)
>                         at java.awt.Component.dispatchEvent(Unknown Source)
>                         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
>                         at java.awt.EventQueue.access$000(Unknown Source)
>                         at java.awt.EventQueue$1.run(Unknown Source)
>                         at java.awt.EventQueue$1.run(Unknown Source)
>                         at java.security.AccessController.doPrivileged(Native Method)
>                         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
>                         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
>                         at java.awt.EventQueue$2.run(Unknown
> ____________________________
> Manage your cellar
> http://85.216.59.161:8000/cave
>