IIRC, the focus test is intended to generate that exception -- it's
verifying that we detect a bad focus traversal policy correctly.  Which
other test apps are generating this exception?

-T

On Mon, Aug 31, 2009 at 9:27 AM, Sandro Martini <[email protected]>wrote:

> Hi to all,
> I've just synchronized (this morning) all pivot sources from the
> trunk, and for example running the wtk/FocusTest I got the following
> exception:
>
> java.lang.RuntimeException: Infinite loop in focus traversal policy
> for org.apache.pivot.wtk.BoxPane#14
>        at org.apache.pivot.wtk.Container.requestFocus(Container.java:446)
>        at org.apache.pivot.wtk.Container.requestFocus(Container.java:441)
>        at org.apache.pivot.wtk.test.FocusTest.startup(FocusTest.java:46)
>        at
> org.apache.pivot.wtk.DesktopApplicationContext$HostFrame.processWindowEvent(DesktopApplicationContext.java:90)
>        at java.awt.Window.processEvent(Window.java:1820)
>        at java.awt.Component.dispatchEventImpl(Component.java:4630)
>        at java.awt.Container.dispatchEventImpl(Container.java:2099)
>
> After this, the application runs, but this is very strange ...
>
> Note: I get this also running other Test applications (under wtk/test/) !!
> Something has changed ?
>
> I've just seen that for example the FormTest doesn't have the main()
> method, and others ... I'll add them for the 1.3.1, needed JIRA ticket
> ?
>
> Bye,
> Sandro
>

Reply via email to