RWT Standalone Application fails with Firefox 3.6.13 [message #1004000] |
Tue, 22 January 2013 11:55 |
Sebastian Habenicht Messages: 43 Registered: January 2013 |
Member |
|
|
Hi,
I am working on a basic setup for a rwt standalone application. It works - when started with IE8 or Chrome - for both, the entry point class and the web.xml as application entry point. However, I receive an error when accessing the application with firefox 3.6.13.
Environment:
- eclipse IDE: 4.2.1
- target platform: rap-2.0.0-RC1-20130116-1245
- RAP Tools: 2.0.0.20130116-1613
What I did (in case the setup is incorrect):
- create a new dynamic web project
- open the project's Deployment Assembly and added org.eclipse.rap.rwt_2.0.0.20130116-1245.jarfrom the target platform
- implement AbstractEntryPoint as suggested here: [1]
- create web.xml as suggested here: [1]
- implement ApplicationConfiguration as suggested here: [1]
The error is "Error: Error: Operation "create" on target "w2" of type "null" failed:
k is undefined" - the whole stack trace is attached as output.txt
This happens when the Shell is created. Firebug stops at the error and gives this information: rap-client.js: "e is undefined" (line 129), while apparently something is done with the rwt.theme.ThemeStore.
Regards,
Sebastian
[1] http://www.eclipse.org/rap/developers-guide/devguide.php?topic=advanced/rwt-standalone.html&version=2.0
-
Attachment: output.txt
(Size: 3.27KB, Downloaded 429 times)
[Updated on: Wed, 23 January 2013 09:43] Report message to a moderator
|
|
|
Re: Starting RWT Standalone Application fails on external web server [message #1004035 is a reply to message #1004000] |
Tue, 22 January 2013 13:31 |
Sebastian Habenicht Messages: 43 Registered: January 2013 |
Member |
|
|
I just realized that the problem is not the internal/external server, but the browser.
The error occurs on Firefox 3.6.13. IE8 and Chrome are working as expected.
To avoid misunderstandings: eclipse uses the IE on my system, which works fine. This led me to the wrong assumption, that running on an external server causes the problem (because I used Firefox for testing the application on the external server). My initial description was based on this assumption.
I have updated the initial post and changed the description.
Regards,
Sebastian
[Updated on: Tue, 22 January 2013 14:23] Report message to a moderator
|
|
|
|
Re: Starting RWT Standalone Application fails on external web server [message #1004463 is a reply to message #1004214] |
Wed, 23 January 2013 09:41 |
Sebastian Habenicht Messages: 43 Registered: January 2013 |
Member |
|
|
Hi Ralf,
thanks for looking into this.
A missing resource was my guess, too when I thought the difference is internal vs. external server. However, since I realized that the problem occurs only with Firefox (not with IE and Chrome), it felt like this could not be the problem.
I updated from Firefox 3.6.13 (pretty old, I know) to the latest release (18.0.1). This solves the issue. The error only occurs with the older Firefox release. However, according to the RAP web site, supported Firefox versions are 3.5+ (or will this change with RAP 2.0?)
On the whole, it does not look like my deployment causes the error, but the framework itself. Since 3.6 is a supported version, this should probably be fixed for RAP 2.0 (still assuming that my project setup is correct).
Regards,
Sebastian
|
|
|
|
Powered by
FUDForum. Page generated in 0.03115 seconds