"org" is not defined? [message #538252] |
Mon, 07 June 2010 06:30  |
Eclipse User |
|
|
|
Hi all experts,
I wrote a windows explorer demo application with RAP and deployed it to tomcat running on a Linux OS.
In most cases, it works fine, but a strange problem occurs ocassionaly at a rate of about 5 percent.
The problem is that when I restart the service and try to start a new sesssion, an error dialog just pops up and tells me that "'org' is undefined(line 63)" (the error message I wrote here is translated from Chinese and its Pinyin is: "'org' wei4 ding4 yi4").
When this problem occurs, all requests later will not be responsed and we have no other options but to restart the service again.
I saved the error page and tracked the source code of the html file, finding that the parameter of a referrence to JSLibraryServiceHandler might be probably wrong:
<SCRIPT
src="Windows Explorer.files/explorer.JSLibraryServiceHandler&hash =H0 "
type=text/javascript charset=UTF-8></SCRIPT>
and, the size of the file JSLibraryServiceHandler saved is also 0.
The parameter "hash" there was set to "H0" while in cases the application runs well it is set to something like "H12341234".
Could you please have a glance on this problem?
Thanks and Best Regards!
Yours: Tingel Christian
|
|
|
Re: "org" is not defined? [message #538258 is a reply to message #538252] |
Mon, 07 June 2010 06:45   |
Eclipse User |
|
|
|
Hi Christian,
this is a known issue - see bug:
277994: "org is not defined" JavaScript error
https://bugs.eclipse.org/bugs/show_bug.cgi?id=277994
Maybe the patch attached to the bug will help you to temporary fix the
problem.
HTH,
Ivan
On 06/07/2010 9:30 AM, Tingel Christian wrote:
> Hi all experts,
>
> I wrote a windows explorer demo application with RAP and deployed it
> to tomcat running on a Linux OS.
>
> In most cases, it works fine, but a strange problem occurs ocassionaly
> at a rate of about 5 percent.
>
> The problem is that when I restart the service and try to start a new
> sesssion, an error dialog just pops up and tells me that "'org' is
> undefined(line 63)" (the error message I wrote here is translated from
> Chinese and its Pinyin is: "'org' wei4 ding4 yi4").
>
> When this problem occurs, all requests later will not be responsed and
> we have no other options but to restart the service again.
>
> I saved the error page and tracked the source code of the html file,
> finding that the parameter of a referrence to JSLibraryServiceHandler
> might be probably wrong:
> <SCRIPT src="Windows
> Explorer.files/explorer.JSLibraryServiceHandler&hash =H0 "
> type=text/javascript charset=UTF-8></SCRIPT>
> and, the size of the file JSLibraryServiceHandler saved is also 0.
>
> The parameter "hash" there was set to "H0" while in cases the
> application runs well it is set to something like "H12341234".
>
> Could you please have a glance on this problem?
>
> Thanks and Best Regards!
>
> Yours: Tingel Christian
|
|
|
Re: "org" is not defined? [message #538336 is a reply to message #538252] |
Mon, 07 June 2010 12:08  |
Eclipse User |
|
|
|
Thanks a lot, Ivan
I do Googled this issue by the key words "org undefined RAP" with no result got before starting this thread~~~Really sorry for any inconvenience.
I will use this patch and update this thread when any progress got~~Thanks really:)
Best Regards!
Yours: Tingel Christian~
|
|
|
Powered by
FUDForum. Page generated in 0.03523 seconds