Hello
@barx
I can replicate the issue easily enough. All I'm doing is starting a new B4J project, adding a new layout using FXML, to the layout I add the 'Accordion (empty)' control. Next, I run the project after saving the layout and I get the error.
I've also tried replacing the 'empty' control with the other 'Accordion' control and re-ran the project and no error showed.
Finally, I removed the contents of each 'TitledPane' to effectively make it the same as the 'empty' Accordion and the same error again occurs when I run the project.
If you are able to make use of the non-empty Accordion control then that might be the solution for you. Otherwise, I would think this needs to be reported as a bug.
Apologies for not being able to provide a useful work-around for you.