Rob, > Hi all, > we just migrated from 1.5 to 1.6. And once again...good job, guys !
Thanks :-). > But I discovered a tiny issue regarding the bootstrap of one of our apps. > There is a crash which is not critical as it not stopping the bootstrap of > the app, but I do not know where it comes from and I do not understand > really. > ... > The error is: > -------------------------------------------------------------- > invalid 'instanceof' operand qx.ui.core.Widget > http://localhost:8080/invent/qooxdoo/framework/source/class/qx/ui/core/EventHandler.js > Line 163 > -------------------------------------------------------------- I'm surprised to hear that an undefined class could be a tiny issue, and that the app continues to load!? > As I can see in the debugger, qx.ui.core is loaded, but qx.ui.core.Widget > is not loaded yet, so maybe it´s a matter of the order the classes are > loaded ? Indeed. I've looked through your stack trace, and I think you hit one of those hard-to-track load dependencies. Those can go undetected for a long time, if all classes "fall into place" due to other sorting constraints. Changes in the class set or, (like here), in the sorting mechanics of the generator can unveil the issue for a concrete app. I don't think you will get much of a better answer anytime soon :-), so I suggest you'll open a bug for it. If you can reproduce the issue in a largely stripped-down app which you could attach, that would be awesome. But in any case include your stack trace, and my answer here. As a work-around, what you could do meanwhile is to explicitly require qx.ui.core.Widget in a suitable place, e.g. in your config.json. For your build jobs ("source", "build-script") you could add the following entry "require" : { "qx.log.appender.Console" : ["qx.ui.core.Widget"] } Maybe you have to play a bit with the class that is the key (qx.log.appender.Console here), looking along your stack trace. Best, T. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
