Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Workbench won't open with current CVS HEAD (19.01.2009 14:29 gmt+1)
Workbench won't open with current CVS HEAD (19.01.2009 14:29 gmt+1) [message #118681] Mon, 19 January 2009 13:33 Go to next message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

Hi,


i just did a CVS update an realised that the workbench won't open upon starting the application. only the background html is displayed but the
workbench doesn't start, all plugins are active when checking 'ss', no exception is thrown. the same code runs with the bundles from the target platform.
maybe something vital broke, or has there been any api changes?!


Greetings,
Ben
Re: Workbench won't open with current CVS HEAD (19.01.2009 14:29 gmt+1) [message #118718 is a reply to message #118681] Mon, 19 January 2009 13:51 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Ben,

Ben W. wrote:
> i just did a CVS update an realised that the workbench won't open upon
> starting the application. only the background html is displayed but the
> workbench doesn't start, all plugins are active when checking 'ss', no
> exception is thrown. the same code runs with the bundles from the target
> platform.
> maybe something vital broke, or has there been any api changes?!

thanks for the hint! There was a hidden syntax error in a Javascript
file that did not show in the debug variant. It's fixed in CVS.

Regards, Ralf
Re: Workbench won't open with current CVS HEAD (19.01.2009 14:29 gmt+1) [message #119093 is a reply to message #118718] Thu, 22 January 2009 08:52 Go to previous messageGo to next message
Emmanuel Marchal is currently offline Emmanuel MarchalFriend
Messages: 59
Registered: July 2009
Member
Hi Ralf,

I have exactly the same problem as Ben had. The createUI method is never
reached...
I'm up-to-date with the CVS version...

Any ideas ?

Regards,

Emmanuel
Ralf Sternberg wrote:

> Hi Ben,

> Ben W. wrote:
>> i just did a CVS update an realised that the workbench won't open upon
>> starting the application. only the background html is displayed but the
>> workbench doesn't start, all plugins are active when checking 'ss', no
>> exception is thrown. the same code runs with the bundles from the target
>> platform.
>> maybe something vital broke, or has there been any api changes?!

> thanks for the hint! There was a hidden syntax error in a Javascript
> file that did not show in the debug variant. It's fixed in CVS.

> Regards, Ralf
Re: Workbench won't open with current CVS HEAD (19.01.2009 14:29 gmt+1) [message #119107 is a reply to message #119093] Thu, 22 January 2009 09:29 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

Emmanuel Marchal wrote:
> I have exactly the same problem as Ben had. The createUI method is never
> reached...
> I'm up-to-date with the CVS version...

If you have the latest CVS, then it won't be the same problem.

> Any ideas ?

Do you see any Javascript error messages in your browser? Any
server-side exceptions? All bundles resolved?

Ralf
Re: Workbench won't open with current CVS HEAD (19.01.2009 14:29 gmt+1) [message #119145 is a reply to message #119107] Thu, 22 January 2009 10:25 Go to previous messageGo to next message
Emmanuel Marchal is currently offline Emmanuel MarchalFriend
Messages: 59
Registered: July 2009
Member
Error: org is not defined
Source File: http://127.0.0.1:4748/rap?startup=default
Line: 57

function appendInitParameters() {
var req = org.eclipse.swt.Request.getInstance();
req.addParameter( "w4t_survey", "true" );
req.addParameter( "w4t_scriptEnabled", "true" );
req.addParameter( "w4t_ajaxEnabled", "true" );
req.addParameter( "startup", "default" );
var size = discoverSize();
req.addParameter( "w4t_width", size.width );
req.addParameter( "w4t_height", size.height );
}
Re: Workbench won't open with current CVS HEAD (19.01.2009 14:29 gmt+1) [message #119156 is a reply to message #118718] Thu, 22 January 2009 10:37 Go to previous messageGo to next message
Emmanuel Marchal is currently offline Emmanuel MarchalFriend
Messages: 59
Registered: July 2009
Member
Hi Ben,

Did your latest CVS update solve your problem ?
Re: Workbench won't open with current CVS HEAD (19.01.2009 14:29 gmt+1) [message #119169 is a reply to message #119156] Thu, 22 January 2009 11:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

Yes, it solved the problem.

But that's odd, the 'org not defined' is the same error i had before the issue was fixed in CVS.
I just did a CVS update and launched my app, no error, the workbench opens as it should.
It seems that you are somehow out of sync?!?

Greetings,
Ben

Emmanuel Marchal schrieb:
> Hi Ben,
>
> Did your latest CVS update solve your problem ?
>
Re: Workbench won't open with current CVS HEAD (19.01.2009 14:29 gmt+1) [message #119255 is a reply to message #119145] Thu, 22 January 2009 15:58 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Emmanuel Marchal wrote:
> Error: org is not defined
> Source File: http://127.0.0.1:4748/rap?startup=default
> Line: 57
>
> function appendInitParameters() {
> var req = org.eclipse.swt.Request.getInstance();
> req.addParameter( "w4t_survey", "true" );
> req.addParameter( "w4t_scriptEnabled", "true" );
> req.addParameter( "w4t_ajaxEnabled", "true" );
> req.addParameter( "startup", "default" );
> var size = discoverSize();
> req.addParameter( "w4t_width", size.width );
> req.addParameter( "w4t_height", size.height );
> }

the "org is not defined" is generally a follow-up error that occurs if
any Javascript error happens that prevents the namespace root object
"org" from being created.

Do you register any additional Javascript? Do you use any custom
widgets? Could you investigate what code caused the error by downloading
the content of http://127.0.0.1:4748/rap?startup=default and checking
the error line (57)?

Ralf
Re: Workbench won't open with current CVS HEAD (19.01.2009 14:29 gmt+1) [message #119358 is a reply to message #119255] Fri, 23 January 2009 10:39 Go to previous message
Emmanuel Marchal is currently offline Emmanuel MarchalFriend
Messages: 59
Registered: July 2009
Member
Sorry,
My workspace rap projects were still connected to technology package. I've
replace them by checking out these in rt.
Now everything works fine.
Thanks
Emmanuel
Previous Topic:Building on M4
Next Topic:Eclipse Help System in RAP Basics?
Goto Forum:
  


Current Time: Sun Nov 28 15:47:03 GMT 2021

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

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

Back to the top