Re: uncaught exception in wicket-ajax.js

2010-05-17 Thread Ivan Zinchenko

Thanks, Igor!
I've solved this issue for the moment. Still not 100% sure what was the
cause, but anyway, maybe this will solve the problem for someone else too. 

Debugging wicket-ajax.js pointed that exception was thrown by
xmlHttpRequest.send. While reading nslApplicationCacheChannel docs on
Mozilla dev center, I've found that inheritApplicationCache will cause
NS_ERROR_ALREADY_OPENED if you try setting it after AsyncOpen() call. Than I
discovered unused link to jquery.js in wicket:head of my page. So my
assumption is that jquery ajax support somehow trying to set this property
after wicket opens channel. Removing jquery.js from head solved things for
me. Still want to dig deeper in this issue to make sure I won't hit this
wall later on.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/uncaught-exception-in-wicket-ajax-js-tp2197887p2219754.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



uncaught exception in wicket-ajax.js

2010-05-14 Thread Ivan Zinchenko

Hi all,

I'm using ajax with wizard component and have a following problem. On one of
my steps, I have a listview with check boxes inside and additional ajax link
to submit. Everything works fine in chrome, but in firefox I usually get
chanel busy postponing... in ajax debug. firebug shows some weird uncaught
exception that I assume is a cause for channel to be busy.

uncaught exception: [Exception... Component returned failure code:
0x804b0049 (NS_ERROR_ALREADY_OPENED) [nsIXMLHttpRequest.send]  nsresult:
0x804b0049 (NS_ERROR_ALREADY_OPENED)  location: JS frame ::
http://localhost:7070/web/resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js
:: anonymous :: line 890  data: no]
Line 0

I looked through my code again to check for some loops that can cause busy
channel - there are none. For now I'm out of solutions, so any help or a
search direction would be much appreciated.

Best regards,
Ivan.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/uncaught-exception-in-wicket-ajax-js-tp2197887p2197887.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org