|
|
|
Re: org is not defined [message #133888 is a reply to message #133787] |
Fri, 22 May 2009 10:20 |
|
Hello Kai,
the "org is not defined" is usually a follow-up error. Do you use any
custom Javascript code, e.g. included in custom widgets? Do you get any
other Javascript warnings/errors? Please set your client log level to
ALL and Client variant to DEBUG to track all problems on the client.
Best regards, Ralf
> I get the "org is not defined" java script error every time when
> accessing my application.
>
> I have an standalone RAP application which runs fine with RAP 1.1
> Now I switched to 1.2 M7 and it runs fine in Firefox but in IE 7 I get
> these java script error and only a blank page is shown.
> The error occurs in the js function "appendInitParameters()"
> The line is "var req = org.eclipse.swt.Request.getInstance();"
>
> Does this information helps, is there a solution?
>
> Best Greetings
> Kai
>
> RÃŒdiger Herrmann wrote:
>
>> Boris,
>
>> I haven't seen this before and don't have a clue what could cause this
>> either.
>> If you can come up with some information on how to reproduce this,
>> please file a bugzilla.
>
>> Cheers,
>> RÃŒdiger
>
>
>> Boris Stepanov wrote:
>>> Hi all,
>>>
>>> Very often, when I go to an url of my application in a browser first
>>> time after an application has run, I see "org is not defined" java
>>> script error. I suppose that a cause of the problem is that RAP java
>>> scripts weren't included in a result application page. It reproduces
>>> in both build and development versions.
>>>
>>> Do you have any ideas where does this problem come from?
>>>
>>> Thanks.
>
>
|
|
|
Re: org is not defined [message #559797 is a reply to message #133888] |
Sat, 18 September 2010 16:10 |
Nikolai Raitsev Messages: 102 Registered: July 2009 |
Senior Member |
|
|
Hi,
I've recently noticed that the error in Internet Explorer 6 and 7 occurs in conjunction with custom widgets in the first access to the RAP application in browser. If our project is started without custom widgets plugins, no java script error occurs.
Here is the debug log output in Firefox in Linux and Windows. IE breaks with described JavaScript-Error in appendInitParameters() function.
############### Firefox in Linux
000735 DEBUG: qx.core.Init[4]: qooxdoo 0.7.4 (r16878) [debug]
000738 DEBUG: qx.core.Init[4]: loaded 247 classes
000739 DEBUG: qx.core.Init[4]: loaded 3 interfaces
000740 DEBUG: qx.core.Init[4]: loaded 9 mixins
000740 DEBUG: qx.core.Init[4]: loaded 23 themes
000740 DEBUG: qx.core.Init[4]: loaded 0 locales
000741 DEBUG: qx.core.Init[4]: client: gecko-1.9/unix/de
000741 DEBUG: qx.core.Init[4]: browser: firefox/none
000742 DEBUG: qx.core.Init[4]: application: org.eclipse.swt.Application[60]
000742 INFO: qx.core.Init[4]: main runtime: 20ms
000742 DEBUG: org.eclipse.swt.Application[60]: preloading visible images...
000743 INFO: org.eclipse.swt.Application[60]: render runtime: 2ms
000743 DEBUG: org.eclipse.swt.Request[46]: sending request [ rwt_initialize=true; startup=jtermsEntrypoint; w4t_width=1440; w4t_height=647; 1847951265=847,18; 1847951313=1089,23; 1847951272=702,17; -494037440=632,15; 1847951273=774,17; w1.bounds.width=1440; w1.bounds.height=647; w1.scrollbar.size=16; w1.dpi.x=96; w1.dpi.y=96; w1.colorDepth=32; w1.cursorLocation.x=0; w1.cursorLocation.y=0; uiRoot=w1; ]
000770 DEBUG: org.eclipse.swt.Application[60]: preloading hidden images...
################ Firefox in Windows
002301 DEBUG: qx.core.Init[4]: qooxdoo 0.7.4 (r16878) [debug]
002302 DEBUG: qx.core.Init[4]: loaded 247 classes
002303 DEBUG: qx.core.Init[4]: loaded 3 interfaces
002304 DEBUG: qx.core.Init[4]: loaded 9 mixins
002304 DEBUG: qx.core.Init[4]: loaded 23 themes
002305 DEBUG: qx.core.Init[4]: loaded 0 locales
002305 DEBUG: qx.core.Init[4]: client: gecko-1.9/win/de
002306 DEBUG: qx.core.Init[4]: browser: firefox/none
002307 DEBUG: qx.core.Init[4]: application: org.eclipse.swt.Application[60]
002307 INFO: qx.core.Init[4]: main runtime: 49ms
002308 DEBUG: org.eclipse.swt.Application[60]: preloading visible images...
002308 INFO: org.eclipse.swt.Application[60]: render runtime: 9ms
002309 DEBUG: org.eclipse.swt.Request[46]: sending request [ rwt_initialize=true; startup=jtermsEntrypoint; w4t_width=1440; w4t_height=617; 1847951265=842,17; 1847951313=1089,22; 1847951272=652,14; -494037440=573,15; 1847951273=721,14; w1.bounds.width=1440; w1.bounds.height=617; w1.scrollbar.size=17; w1.dpi.x=96; w1.dpi.y=96; w1.colorDepth=32; w1.cursorLocation.x=0; w1.cursorLocation.y=0; uiRoot=w1; ]
002310 DEBUG: org.eclipse.swt.Application[60]: preloading hidden images...
Is there a workaround (other than waiving custom widgets) to solve the problem?
What should I look to the custom widget to avoid this error?
Thanks a lot and best regards,
Nikolai
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04278 seconds