MenuItem tooltip timer exception [message #1759987] |
Thu, 20 April 2017 17:40  |
Eclipse User |
|
|
|
This worked with Eclipse 3.7, but when we upgraded to 4.5.2, we started getting a NullPointerException in Menu.wmTimer.
The problem is that we have a menu that if you hover over a menu item for a second, we change the MenuItem to a cascade menu with Rename and Delete options. The original non-cascading MenuItem is disposed.
The problem is that a timer is started when a MenuItem is selected so that a tooltip can be popped up after a short delay. The wmTimer method does NOT check selectedMenuItem.isDisposed(), so I get an exception. I don't even know why the timer is even started in the first place when the tooltips are null.
I could not find a way around the above issue, so we basically have to rewrite our whole bookmark/favorite menu functionality.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03757 seconds