[Upload Widget] Access Denied? [message #532384] |
Sun, 09 May 2010 09:01  |
Eclipse User |
|
|
|
Hi~~~
My clients told me that when using the Upload widget by selecting a file and clicking the "Upload" button, sometimes the RAP application UI will be directed to a page saying "Could not evaluate javascript response: Access Denied" immediately.
It is said that we can easily reproduce this problem by enable the code:uploadWidget.setData(WidgetUtil.CUSTOM_WIDGET_ID, "XXX"); but actually I just can't reproduce it no matter turning the code on on or off~~~
I googled this issue and most articles tell me that this kinda problem is mainly caused by crossing domain fied accessing.But It's really confusing cos I just can't see any probability that this kind of code would be there existing in the RAP framework.
So I wonder whether or not you have ever met this kinda error before?How can we solve or work arround it?
Thanks and Best Regards!
Tingel Christian
PS: This is what the error page says:
Could not evaluate javascript response:
Access Denied
org.eclipse.swt.EventUtil.suspendEventHandling();var req = org.eclipse.swt.Request.getInstance();req.setRequestCounter( "37");var wm = org.eclipse.swt.Widget....BlahBlahBlah~~~
We are using RAP 1.2.0, this problem mostly occurs in IE6.
Thanks again~~~
|
|
|
|
|
Re: [Upload Widget] Access Denied? [message #533494 is a reply to message #532384] |
Fri, 14 May 2010 05:18   |
Eclipse User |
|
|
|
Hi Christian,
if you can come up with a snippet that reproduces the problem, please
file a bug. But, needless to say, without being able to reproduce, we
can't do anything.
Maybe the problem is related to your customers environment? For example,
is there a proxy? If IE-only, can you reproduce it with the same
Windows/Service Pack/IE version? ...
Regards, Ralf
Tingel Christian wrote:
> Hi~~~
>
> My clients told me that when using the Upload widget by selecting a file
> and clicking the "Upload" button, sometimes the RAP application UI will
> be directed to a page saying "Could not evaluate javascript response:
> Access Denied" immediately.
>
> It is said that we can easily reproduce this problem by enable the
> code:uploadWidget.setData(WidgetUtil.CUSTOM_WIDGET_ID, "XXX"); but
> actually I just can't reproduce it no matter turning the code on on or
> off~~~
>
> I googled this issue and most articles tell me that this kinda problem
> is mainly caused by crossing domain fied accessing.But It's really
> confusing cos I just can't see any probability that this kind of code
> would be there existing in the RAP framework.
>
> So I wonder whether or not you have ever met this kinda error before?How
> can we solve or work arround it?
>
> Thanks and Best Regards!
>
> Tingel Christian
>
> PS: This is what the error page says:
>
> Could not evaluate javascript response:
>
> Access Denied
>
> org.eclipse.swt.EventUtil.suspendEventHandling();var req =
> org.eclipse.swt.Request.getInstance();req.setRequestCounter( "37");var
> wm = org.eclipse.swt.Widget....BlahBlahBlah~~~
>
> We are using RAP 1.2.0, this problem mostly occurs in IE6.
>
> Thanks again~~~
|
|
|
|
|
|
Re: [Upload Widget] Access Denied? [message #538402 is a reply to message #532384] |
Mon, 07 June 2010 10:51  |
Eclipse User |
|
|
|
Thanks Ralf~
Very sadly, I have tried to find the way follow which we can reproduce this problem for a whole night, but I can not even get close to it.
I really made the problem reproduced tonight, but it came so ocassionally that I could hardly catch it...
It seems that the frequency raises when there are 2 sessions accessing 2 different servers both of which provide file upload service with the Upload widget.
Would this be helpful if I file a bug using the above information plus the traces?
Thanks a lot and Best Regards!
Yours: Tingel Christian
|
|
|
Powered by
FUDForum. Page generated in 0.05999 seconds