Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Error on workbench shutdown
Error on workbench shutdown [message #527405] Thu, 15 April 2010 07:28 Go to next message
Niels Lippke is currently offline Niels LippkeFriend
Messages: 71
Registered: December 2009
Member
Hi all,

I'm stuck with a strange error message I get when I try to close a workbench
within RAP.
To close the workbench I use:

PlatformUI.getWorkbench().close();

What I get as response is an error page showing:

Could not evaluate javascript response:

TypeError: cvpel is null

var wm =
org.eclipse.swt.WidgetManager.getInstance();org.eclipse.rwt. DNDSupport.getInstance().deregisterDropTarget(
wm.findWidgetById( "w80" ) );...

Does anybody has an idea what could probably be wrong? I mean, the demo
workbench works fine (apart from the NPE you get upon restart).
The demo workbench uses ActionFactory.QUIT action, but I get the same error
if I do also use this one.

Thanks,

Niels
Re: Error on workbench shutdown [message #527450 is a reply to message #527405] Thu, 15 April 2010 10:14 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Niels,

searching for "cvpel" variable in RAP js files, I found that it is not
in RAP core bundles, but in GCCanvas (GCCanvas.js#drawString and
GCCanvas.js#removeAll).
As RAP already supports GC drawing in Canvas with CVS HEAD ( see
http://www.eclipse.org/rap/noteworthy/news_13M7.php ), GCCanvas bundle
is not needed anymore.

Best,
Ivan

On 04/15/2010 10:28 AM, Niels Lippke wrote:
> Hi all,
>
> I'm stuck with a strange error message I get when I try to close a
> workbench within RAP.
> To close the workbench I use:
>
> PlatformUI.getWorkbench().close();
>
> What I get as response is an error page showing:
>
> Could not evaluate javascript response:
>
> TypeError: cvpel is null
>
> var wm =
> org.eclipse.swt.WidgetManager.getInstance();org.eclipse.rwt. DNDSupport.getInstance().deregisterDropTarget(
> wm.findWidgetById( "w80" ) );...
>
> Does anybody has an idea what could probably be wrong? I mean, the
> demo workbench works fine (apart from the NPE you get upon restart).
> The demo workbench uses ActionFactory.QUIT action, but I get the same
> error if I do also use this one.
>
> Thanks,
>
> Niels
Re: Error on workbench shutdown [message #527472 is a reply to message #527450] Thu, 15 April 2010 11:57 Go to previous message
Niels Lippke is currently offline Niels LippkeFriend
Messages: 71
Registered: December 2009
Member
Thanks again, Ivan.

I could have found this one by myself. Sorry for bothering... *feeling
ashamed*

Niels

P.S.: WOW!!!

"Ivan Furnadjiev" <ivan@eclipsesource.com> schrieb im Newsbeitrag
news:hq6ou0$7tv$1@build.eclipse.org...
> Hi Niels,
>
> searching for "cvpel" variable in RAP js files, I found that it is not in
> RAP core bundles, but in GCCanvas (GCCanvas.js#drawString and
> GCCanvas.js#removeAll).
> As RAP already supports GC drawing in Canvas with CVS HEAD ( see
> http://www.eclipse.org/rap/noteworthy/news_13M7.php ), GCCanvas bundle is
> not needed anymore.
>
> Best,
> Ivan
>
> On 04/15/2010 10:28 AM, Niels Lippke wrote:
>> Hi all,
>>
>> I'm stuck with a strange error message I get when I try to close a
>> workbench within RAP.
>> To close the workbench I use:
>>
>> PlatformUI.getWorkbench().close();
>>
>> What I get as response is an error page showing:
>>
>> Could not evaluate javascript response:
>>
>> TypeError: cvpel is null
>>
>> var wm =
>> org.eclipse.swt.WidgetManager.getInstance();org.eclipse.rwt. DNDSupport.getInstance().deregisterDropTarget(
>> wm.findWidgetById( "w80" ) );...
>>
>> Does anybody has an idea what could probably be wrong? I mean, the demo
>> workbench works fine (apart from the NPE you get upon restart).
>> The demo workbench uses ActionFactory.QUIT action, but I get the same
>> error if I do also use this one.
>>
>> Thanks,
>>
>> Niels
Previous Topic:Application-wide preferences
Next Topic:Default Button on ViewStack
Goto Forum:
  


Current Time: Thu Apr 18 01:46:08 GMT 2024

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

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

Back to the top