Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Can't get renderer for DynamicMenuContributionImpl on application close(When I close my RCP application, if any parts containing DynamicMenuContributions are present I get an NPE)
Can't get renderer for DynamicMenuContributionImpl on application close [message #1770555] Mon, 14 August 2017 10:14 Go to next message
Elias Vasylenko is currently offline Elias VasylenkoFriend
Messages: 15
Registered: December 2015
Junior Member
In both the 3.0.0 release and also the latest 3.1.0 nightly I'm getting an NPE when I close my RCP app:

Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
	at org.eclipse.fx.ui.workbench.fx.PartRenderingEngine.removeGui(PartRenderingEngine.java:427)


Seems that `getRenderer` and `getRendererFor` in PartRenderingEngine are both returning null for DynamicMenuContributionImpl instances.
Re: Can't get renderer for DynamicMenuContributionImpl on application close [message #1770593 is a reply to message #1770555] Mon, 14 August 2017 17:13 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6365
Registered: July 2009
Senior Member
Please file a ticket at https://github.com/eclipse/efxclipse-rt/issues
Re: Can't get renderer for DynamicMenuContributionImpl on application close [message #1770620 is a reply to message #1770593] Tue, 15 August 2017 08:48 Go to previous messageGo to next message
Elias Vasylenko is currently offline Elias VasylenkoFriend
Messages: 15
Registered: December 2015
Junior Member
Ok thanks, just wanted to rule user error first in case it was something obvious.

https://github.com/eclipse/efxclipse-rt/issues/141

[Updated on: Tue, 15 August 2017 08:56]

Report message to a moderator

Re: Can't get renderer for DynamicMenuContributionImpl on application close [message #1770632 is a reply to message #1770620] Tue, 15 August 2017 10:01 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6365
Registered: July 2009
Senior Member
An NPE is always a bug :-)
Previous Topic:Where is the code in efxclipse 3.0.0 that creates the e(fx)clipse project?
Next Topic:Eclipse freeze opening e(fx)clipse based plugin view (Linux)
Goto Forum:
  


Current Time: Fri Dec 15 14:18:52 GMT 2017

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

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