Am Donnerstag 27 Januar 2011, 14:22:49 schrieb Derrell Lipman:
> On Thu, Jan 27, 2011 at 08:14, Stefan Volbers <[email protected]> wrote:
> > Hi Cajus,
> >
> > > TypeError: 'response.id' ist Null oder kein Objekt
> >
> > seems like you want the result object to have an "id" property.
> > Which, according to wireshark,
> >
> > > {"error": null, "result": "admin", "id": 2}
> >
> > is not there, as the result object is only an "admin" string.
>
> No, response is the whole thing, result is one of the three fields in the
> response. There is an id field in response.
>
> Somehow, we're getting an "aborted" event, it seems.
>
> 034913 qx.io.remote.RequestQueue[202]: Request
> qx.io.remote.Request[201] handler _oncompleted threw an error:
> TypeError: 'response.id' ist Null oder kein Objekt
> 034913 qx.html.Blocker[201]: State: aborted
>
> Why it thinks that response.id is invalid is the question I have. (I don't
> know German, but I'm inferring that "oder kein Objekt" means "or not an
> object".)
>
> As to the difference in IE, I can only imagine that something in the
> XMLHttpRequest processing occurs in a different order, or something, than
> with other browsers. There have been plenty of qooxdoo applications using
> IE over the years, though, that I'd have thought we had all of those
> browser differences cleared up by now.
>
> I think this is going to require some debugging with Firefox. You might
> start with a breakpoint around line 574 of qx/io/remote/Rpc.js, which is
> the "aborted" event listener. From there you may be able to see from the
> stack trace what's going on a bit better.
Hi Derrell,
hmm. You mean debugging with IE? Firefox never gets at that place.
I've just added qx.dev.StackTrace.getStackTrace() output for the aborted event
listener:
[
anonymous(),
qx.event.dispatch.Direct.prototype.dispatchEvent(),
wrappedFunction(),
qx.event.Manager.prototype.dispatchEvent(),
qx.event.Registration.dispatchEvent(),
qx.core.Object.prototype.dispatchEvent(),
anonymous(),
qx.io.remote.Request.prototype.__forwardEvent(),
qx.io.remote.Request.prototype._onaborted(),
qx.io.remote.RequestQueue.prototype._oncompleted(),
...
]
For me the result is not very helpful ;-) It seems to be truncated by IE,
though. Do you have additional hints on how to make it more verbose?
Thanks,
Cajus
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel