Skip to main content



      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 10:54 Go to next message
Eclipse UserFriend
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



Re: A MWindow with isToBeRendered to true and getWidget returning null [message #1591433 is a reply to message #1589696] Thu, 29 January 2015 09:26 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Compile and Run a Class.Java File
Next Topic:Toggle Handled Menu Item initialisation and persisted state
Goto Forum:
  


Current Time: Fri Jul 11 20:26:50 EDT 2025

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

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

Back to the top