We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unconfigure a form while the model change can produce random exceptions.
It can be explained by multiple reasons :
Here is a unit test that show to problem :
public class Issue199Test { @Rule public JavaFXRule javaFXRule = new JavaFXRule(); @Rule public FailOnUncaughtExceptionRule failOnUncaughtExceptionRule = new FailOnUncaughtExceptionRule(); public class Bean { private StringProperty value = new SimpleStringProperty(); public String getValue() { return value.get(); } public StringProperty valueProperty() { return value; } public void setValue(String value) { this.value.set(value); } } @Test public void testToUnconfigureFormDuringAModelChange() throws InterruptedException { Bean bean = new Bean(); FXForm form = new FXForm(); form.setSource(bean); Thread thread = new Thread(() -> { while (true) { bean.setValue(UUID.randomUUID().toString()); } }); thread.start(); Thread.sleep(3000); // Wait a little to be sure thread is start form.setSource(null); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Unconfigure a form while the model change can produce random exceptions.
It can be explained by multiple reasons :
Here is a unit test that show to problem :
The text was updated successfully, but these errors were encountered: