Application does not works anymore in eclipse 4.2.1 [message #941473] |
Fri, 12 October 2012 11:04  |
Eclipse User |
|
|
|
Hi all, I have an application that works fine in eclipse 3.6 and 3.7
Using Ecplise 4.2.1 does not works
The problem is that application "freeze" when executes
PlatformUI's createAndRunWorkbench method.
My custom code:
Display vDisplay = PlatformUI.createDisplay();
WorkbenchAdvisor vWorkbenchAdvisor = new ABSBuildWorkbenchAdvisor();
PlatformUI.createAndRunWorkbench(vDisplay, vWorkbenchAdvisor);
After a deep debug, I've see that the problem is at line 588 of Workbench class:
// run the e4 event loop and instantiate ... well, stuff
e4Workbench.createAndRunUI(e4Workbench.getApplication());
in debug I've see that createAndRunUI never ends its execution and my application start only when I close the Eclipse's gui that seems to be "freezed"
I can not figure where is the problem, I've compared the eclipse's workbench source methods (3.7 and 4.2.1) and they're very different.
Could someone give me some ideas?
Thank you very much
[Updated on: Fri, 12 October 2012 11:27] by Moderator
|
|
|
Re: Application does not works anymore in eclipse 4.2.1 [message #944993 is a reply to message #941473] |
Mon, 15 October 2012 03:35  |
Eclipse User |
|
|
|
Create a thread dump and create a bugzilla.
Tom
Am 12.10.12 17:04, schrieb Gabriele Mising name:
> Hi all, I have an application that works fine in eclipse 3.6 and 3.7
> Using Ecplise 4.2.1 does not works
>
> The problem is that application "freeze" when exetutes PlatformUI's
> createAndRunWorkbench method.
> My custom code:
>
> Display vDisplay = PlatformUI.createDisplay();
> WorkbenchAdvisor vWorkbenchAdvisor = new ABSBuildWorkbenchAdvisor();
> PlatformUI.createAndRunWorkbench(vDisplay, vWorkbenchAdvisor);
>
> After a deep debug, I've see that the problem is at line 588 of
> Workbench class:
> // run the e4 event loop and instantiate ... well, stuff
> e4Workbench.createAndRunUI(e4Workbench.getApplication());
>
> in debug I've see that createAndRunUI never ends its execution and my
> application start only when I close the Eclipse's gui that seems to be
> "freezed"
>
> I can not figure where is the problem, I've compared the eclipse's
> workbench source methods (3.7 and 4.2.1) and they'er very diffent.
>
> Could someone give me some ideas?
> Thank you very much
>
|
|
|
Powered by
FUDForum. Page generated in 0.03518 seconds