I have encountered similar issues in the past. I think the runtime requirement that all beads actually implement IBead was added a bit late so there may be code that fails in runtime. I would put a breakpoint in your browser and inspect beads to see if one of them is not an IBead.
From: romanisi...@yahoo.com<mailto:romanisi...@yahoo.com> Sent: Tuesday, August 10, 2021 6:23 PM To: users@royale.apache.org<mailto:users@royale.apache.org> Subject: Uncaught TypeError: Cannot convert [object Object] to IBead Hi Everyone, I am developing my first crux based royale app. I am getting the following error when running the application Uncaught TypeError: Cannot convert [object Object] to IBead at FrontEnd.org.apache.royale.core.ElementWrapper.addBead (ElementWrapper.as:268) at FrontEnd.org.apache.royale.core.HTMLElementWrapper.addBead (HTMLElementWrapper.js:50) at FrontEnd.org.apache.royale.jewel.Application.start (Application.as:674) at index.html:345 When tracing to the generated javascript source it is failing at this point if (model is IBead) addBead(model as IBead); if (controller is IBead) addBead(controller as IBead); for (var index:int in beads) { addBead(beads[index]); // it fails at this line. } My guess is that there is one more configuration that needs to be done. I have tried to follow the example on the apache royale site. Has anyone encountered this issue before ?