Hi T.,
first things first: Thanks a lot for your help.
I played around a little bit this morning. So these are the facts:
1. This issue appears only within a source version of the app
2. This issue came with Qooxdoo 1.6 (I migrated the affected app back to 1.5
and didn´t see any issues like that)
3. The workaround you proposed is the right one: Just add "require" : {
"qx.log.appender.Console" : ["qx.ui.core.Widget"] } to the source-script
build-job configuration
I wish I could publish a demo of that issue with our affected app, but I´m not
allowed to do anything like that because of non-disclosure constraints which
are very tight. But be sure...I am working on a permission to publish our apps
in terms of screenshots and a short description for your real life examples.
I´m afraid it will take some time...but some day...maybe..:-)
So...this is the bug report: http://bugzilla.qooxdoo.org/show_bug.cgi?id=5988
Once again: Thanks for your help !
Cheers,
Rob.
-----Ursprüngliche Nachricht-----
Von: thron7 [mailto:[email protected]]
Gesendet: Freitag, 23. Dezember 2011 18:14
An: Robert Nimax; qooxdoo Development
Betreff: Re: [qooxdoo-devel] Migration to 1.6: tiny bootstrap problem
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
------------------------------------------------------------------------------
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