Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RWT Standalone Application fails with Firefox 3.6.13(Problem does not occur with 18.0.1)
RWT Standalone Application fails with Firefox 3.6.13 [message #1004000] Tue, 22 January 2013 06:55 Go to next message
Sebastian Habenicht is currently offline Sebastian Habenicht
Messages: 10
Registered: January 2013
Junior 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):


  1. create a new dynamic web project
  2. open the project's Deployment Assembly and added org.eclipse.rap.rwt_2.0.0.20130116-1245.jarfrom the target platform
  3. implement AbstractEntryPoint as suggested here: [1]
  4. create web.xml as suggested here: [1]
  5. 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 78 times)

[Updated on: Wed, 23 January 2013 04: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 08:31 Go to previous messageGo to next message
Sebastian Habenicht is currently offline Sebastian Habenicht
Messages: 10
Registered: January 2013
Junior 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 09:23]

Report message to a moderator

Re: Starting RWT Standalone Application fails on external web server [message #1004214 is a reply to message #1004000] Tue, 22 January 2013 15:10 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1290
Registered: July 2009
Senior Member

Hi Sebastian,

yes, it looks as if there's a missing JavaScript resource. Could you
check the requests with your browser's dev tools (e.g. Firebug or Chrome
Developer Tools) - if there's a missing resource you should find a
request that is not successful, e.g. returns an HTTP 404.

Regards,
Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Starting RWT Standalone Application fails on external web server [message #1004463 is a reply to message #1004214] Wed, 23 January 2013 04:41 Go to previous messageGo to next message
Sebastian Habenicht is currently offline Sebastian Habenicht
Messages: 10
Registered: January 2013
Junior 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
Re: Starting RWT Standalone Application fails on external web server [message #1005002 is a reply to message #1004463] Thu, 24 January 2013 04:41 Go to previous message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 381
Registered: July 2009
Senior Member
Hi.

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

We are already working on it:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=398951

Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:RAP vs SWT Selection Listener for singleton menus
Next Topic:How to do a blocking, in-line refresh of shell in RAP
Goto Forum:
  


Current Time: Thu Aug 21 02:22:23 EDT 2014

Powered by FUDForum. Page generated in 0.02385 seconds