Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » "org" is not defined?
"org" is not defined? [message #538252] Mon, 07 June 2010 06:30 Go to next message
tingel christian is currently offline tingel christian
Messages: 46
Registered: December 2009
Member
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&amp;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 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1816
Registered: July 2009
Senior Member
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 Go to previous message
tingel christian is currently offline tingel christian
Messages: 46
Registered: December 2009
Member
Thanks a lot, Ivan Razz

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. Sad

I will use this patch and update this thread when any progress got~~Thanks really:)

Best Regards!

Yours: Tingel Christian~
Previous Topic:[design] ViewStackPresentation question
Next Topic:[Upload Widget] Access Denied?
Goto Forum:
  


Current Time: Fri Sep 19 15:51:15 GMT 2014

Powered by FUDForum. Page generated in 0.14637 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software