Re: BUG Report: JRebirth has a bug

43 views
Skip to first unread message

Sebastien Bordes

unread,
Sep 23, 2014, 7:52:33 AM9/23/14
to 湘中英雄, jrebirt...@googlegroups.com
Hi,

You should use the jrebirth-users mailing list, I add it in CC

What is the version used ?

Do you have got this stacktrace :

JREvent>>143|CREATE_COMMAND|org.jrebirth.af.core.facade.CommandFacade|org.jrebirth.af.core.command.basic.showmodel.DetachModelCommand|null|
13:49:11.110 [JIT] ERROR o.j.a.c.e.h.AbstractJrbUncaughtExceptionHandler - Uncaught Exception: null
java.util.ConcurrentModificationException: null
    at java.util.ArrayList$Itr.checkForComodification(Unknown Source) ~[na:1.8.0_11]
    at java.util.ArrayList$Itr.next(Unknown Source) ~[na:1.8.0_11]
    at org.jrebirth.af.core.link.NotifierBase.unlistenAll(NotifierBase.java:356) ~[org.jrebirth.af-core-7.7.3.jar.pack.gz:na]
    at org.jrebirth.af.core.link.AbstractWaveReady$4.runInto(AbstractWaveReady.java:498) ~[org.jrebirth.af-core-7.7.3.jar.pack.gz:na]
    at org.jrebirth.af.core.concurrent.AbstractJrbRunnable.run(AbstractJrbRunnable.java:78) ~[org.jrebirth.af-core-7.7.3.jar.pack.gz:na]
    at org.jrebirth.af.core.concurrent.JRebirthThread.run(JRebirthThread.java:172) ~[org.jrebirth.af-core-7.7.3.jar.pack.gz:na]
13:49:11.701 [JavaFX Application Thread] INFO  o.j.a.c.c.b.s.FadeTransitionCommand - Remove AnchorPane[id=AnchorPane] from stack container


Seb

2014-09-23 11:53 GMT+02:00 湘中英雄 <982...@qq.com>:
I'm a JRebirth user, when I use StackModel, I found a bug.
When send wave to switch content in StackPane about n+1 times, the StackPane don't change it's content.
For example, I run the FXML_Showcase.jnlp in JRebirth.tar.gz, or run in the web,  when I click the top buttons 5 time, the content will not change any more.





--

Sebastien Bordes

unread,
Sep 23, 2014, 9:05:01 AM9/23/14
to 湘中英雄, jrebirth-users
It's a race condition bug due to the delay of the fade transition between view hidden and view shown.
If you wait 2 seconds between 2 clics there isn't any bug.

I will fix this bug this evening into next 7.7.4-SNAPSHOT version.

2014-09-23 14:55 GMT+02:00 湘中英雄 <982...@qq.com>:
I'm using JRebirth 7.7.3,  and create app in Intellij, haven't seen any exception.

If you can make FXML_Showcase.jnlp run correct, I think my work can run correctly too.
I debug my app, when I send wave N+1 times, It seems that the wave dispear, system didn't enter the WaveHandler.java. But didn't seen any exception.

getModel().sendWave(StackWaves.SHOW_PAGE_ENUM, WaveData.build(StackWaves.PAGE_ENUM, FXMLPage.SomethingFxml));

You can try FXML_Showcase.jnlp, when you click those buttons 6 times and more, the content will not change, It always show the standalone FXML File

Sebastien Bordes

unread,
Sep 23, 2014, 3:02:59 PM9/23/14
to jrebirt...@googlegroups.com, 982...@qq.com
The bug is fixed, you can grab the latest 7.7.4 build to correct the trouble (available when Jenkins finish its job).

I will release the 7.7.4 by the end of the week, the 7.7.3 will be the shortest JRebirth release.


The bug is a regression introduced by a very ugly code (the state of the art of noob errors, worse than NPE ...), we should never work during summer holidays....


Seb
Reply all
Reply to author
Forward
0 new messages