Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Application does not works anymore in eclipse 4.2.1
Application does not works anymore in eclipse 4.2.1 [message #941473] Fri, 12 October 2012 15:04 Go to next message
Gabriele Mising name is currently offline Gabriele Mising name
Messages: 3
Registered: November 2010
Junior Member
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 15:27]

Report message to a moderator

Re: Application does not works anymore in eclipse 4.2.1 [message #944993 is a reply to message #941473] Mon, 15 October 2012 07:35 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5330
Registered: July 2009
Senior Member
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
>
Previous Topic:This project is not a CDT Project??
Next Topic:Override Project explorer - Navigator - Global Actions
Goto Forum:
  


Current Time: Sun Sep 21 20:28:19 GMT 2014

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

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