Intro problems: NPE and referenced part does not exist yet [message #469259] |
Sun, 25 March 2007 02:46  |
Eclipse User |
|
|
|
Running 3.3M6, I'm finding consistent messages in the log upon startup
(either a fresh startup with no cached configuration, or restarting with
the intro view showing), "Referenced part does not exist yet:
org.eclipse.ui.views.ResourceNavigator."
Also, I'm experiencing occasional NPEs with the message, "Unable to create
view ID org.eclipse.ui.internal.introview: An unexpected exception was
thrown." The triggering event is usually a button click on the intro
launch bar.
The scenario is: anchor in the root page, to which extensionContent is
contributed by the same plug-in, and anchors in that extensionContent, to
which other plug-ins contribute extensionContent. The NPEs always occur
when org.eclipse.ui.intro is loading the extensionContent elements.
BTW, this is a non-universal intro, using CustomizableIntroPart and
declaring its own org.eclipse.ui.intro.config extension.
Any ideas?
|
|
|
|
|
Re: Intro problems: NPE and referenced part does not exist yet [message #560322 is a reply to message #469259] |
Sun, 25 March 2007 13:32  |
Eclipse User |
|
|
|
More info about this problem:
I found this message in the log every time I reset the Resource
perspective to its defaults.
!ENTRY org.eclipse.ui 4 4 2007-03-25 11:15:43.312
!MESSAGE Referenced part does not exist yet:
org.eclipse.ui.views.ResourceNavigator.
Also, the NPE problem seems correlated to using the label attribute in the
<intro> element in org.eclipse.ui.intro extension. (That attribute allows
a non-default name for the "Welcome" view and its Help menu item.)
When my intro plug-in uses the label attribute, NPEs occur more
frequently, sometimes when the intro first attempts to open, immediately
after application launch.
When my intro plug-in does not use the label attribute, NPEs are less
common, but they still occur from time to time when clicking launch bar
buttons to return to the intro view.
Dave R
|
|
|
|
Powered by
FUDForum. Page generated in 0.04366 seconds