|
Re: Error on workbench shutdown [message #527450 is a reply to message #527405] |
Thu, 15 April 2010 10:14 |
Ivan Furnadjiev Messages: 2427 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 |
Niels Lippke 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
|
|
|
Powered by
FUDForum. Page generated in 0.02994 seconds