Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » A MWindow with isToBeRendered to true and getWidget returning null
A MWindow with isToBeRendered to true and getWidget returning null [message #1589696] Wed, 28 January 2015 15:54 Go to next message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

With a specific application, the event loop is not launched because in PartRenderingEngine.someAreVisible is returning false.

l1206, win.isToBeRendered is returning true anw win.getWidget() is null

Based on the comment int the method
// Note: isToBeRendered() == true => win.getWidget() != null
			// but I'm not sure whether there is latency between setting
			// toBeRendered and the creation of the widget. So, keeping
			// both tests seems prudent.


this should not be possible a common use case...

Do you have ideas a on what can be the reason?
Do you have ideas on where I can put breakpoints to investigate?

Thanks by advance for any help





Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Re: A MWindow with isToBeRendered to true and getWidget returning null [message #1591433 is a reply to message #1589696] Thu, 29 January 2015 14:26 Go to previous message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

answer to myself, it was due to the fact that we are using a Custom Renderer Factory which in this case returns null.

Hope it can help someone later on. Not sure if it worth updating the comment in the code for this specific use case.


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Previous Topic:Compile and Run a Class.Java File
Next Topic:Toggle Handled Menu Item initialisation and persisted state
Goto Forum:
  


Current Time: Thu Jan 21 11:19:04 GMT 2021

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

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

Back to the top