Project: Eclipse_Platform_UI
Bug 406903 [CommonNavigator] Unable to create project explorer
Reported: 2013-04-30 09:28:10 | Status: verified fixed

Filed on behalf of one of our testers. Attempt to go into "offline mode" in Rational Developer for Power. The workspace hangs and I get this error with stack trace: Contributor org.eclipse.ui.navigator.ProjectExplorer cannot be created. org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.ui.navigator.resources" was unable to instantiate class "org.eclipse.ui.internal.navigator.resources.workbench.TabbedPropertySheetTitleProvider". at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(Unknown Source) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(Unknown Source) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(Unknown Source) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(Unknown Source) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(Unknown Source) at org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistry.<init>(Unknown Source) at org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistryFactory.createRegistry(Unknown Source) at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.initContributor(Unknown Source) at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.<init>(Unknown Source) at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.<init>(Unknown Source) at org.eclipse.ui.internal.navigator.resources.workbench.TabbedPropertySheetAdapterFactory.getAdapter(Unknown Source) at org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAdapter(Unknown Source) at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(Unknown Source) at org.eclipse.ui.part.WorkbenchPart.getAdapter(Unknown Source) at org.eclipse.ui.navigator.CommonNavigator.getAdapter(Unknown Source) at org.eclipse.ui.internal.views.ViewsPlugin.getAdapter(Unknown Source) at org.eclipse.ui.views.properties.PropertySheet.doCreatePage(Unknown Source) at org.eclipse.ui.part.PageBookView.createPage(Unknown Source) at org.eclipse.ui.part.PageBookView.partActivated(Unknown Source) at org.eclipse.ui.views.properties.PropertySheet.partActivated(Unknown Source) at org.eclipse.ui.part.PageBookView.showBootstrapPart(Unknown Source) at org.eclipse.ui.part.PageBookView.createPartControl(Unknown Source) at org.eclipse.ui.views.properties.PropertySheet.createPartControl(Unknown Source) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(Unknown Source) at org.eclipse.ui.internal.e4.compatibility.CompatibilityView.createPartControl(Unknown Source) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(Unknown Source) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(Unknown Source) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(Unknown Source) at org.eclipse.e4.core.internal.di.InjectorImpl.inject(Unknown Source) at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(Unknown Source) at org.eclipse.e4.core.internal.di.InjectorImpl.make(Unknown Source) at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(Unknown Source) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(Unknown Source) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(Unknown Source) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(Unknown Source) at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$6.run(Unknown Source) at org.eclipse.core.runtime.SafeRunner.run(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(Unknown Source) at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(Unknown Source) at org.eclipse.core.runtime.SafeRunner.run(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(Unknown Source) at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(Unknown Source) at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(Unknown Source) at org.eclipse.core.runtime.SafeRunner.run(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(Unknown Source) at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(Unknown Source) at org.eclipse.core.runtime.SafeRunner.run(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(Unknown Source) at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(Unknown Source) at org.eclipse.core.runtime.SafeRunner.run(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(Unknown Source) at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(Unknown Source) at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveRenderer.processContents(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(Unknown Source) at org.eclipse.core.runtime.SafeRunner.run(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(Unknown Source) at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.showTab(Unknown Source) at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(Unknown Source) at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(Unknown Source) at org.eclipse.swt.widgets.Synchronizer.syncExec(Unknown Source) at org.eclipse.ui.internal.UISynchronizer.syncExec(Unknown Source) at org.eclipse.swt.widgets.Display.syncExec(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(Unknown Source) at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(Unknown Source) at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(Unknown Source) at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(Unknown Source) at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(Unknown Source) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(Unknown Source) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(Unknown Source) at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(Unknown Source) at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(Unknown Source) at org.eclipse.equinox.internal.event.EventComponent.sendEvent(Unknown Source) at org.eclipse.e4.ui.services.internal.events.EventBroker.send(Unknown Source) at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(Unknown Source) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(Unknown Source) at org.eclipse.e4.ui.model.application.ui.advanced.impl.PerspectiveStackImpl.setSelectedElement(Unknown Source) at org.eclipse.e4.ui.model.application.ui.advanced.impl.PerspectiveStackImpl.setSelectedElement(Unknown Source) at org.eclipse.e4.ui.workbench.addons.perspectiveswitcher.PerspectiveSwitcher$13.widgetSelected(Unknown Source) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(Unknown Source) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(Unknown Source) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(Unknown Source) at org.eclipse.ui.internal.Workbench$5.run(Unknown Source) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source) at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source) at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source) at org.eclipse.equinox.launcher.Main.run(Unknown Source) at org.eclipse.equinox.launcher.Main.main(Unknown Source) Caused by: java.lang.NullPointerException at org.eclipse.ui.internal.navigator.resources.workbench.TabbedPropertySheetTitleProvider.<init>(Unknown Source) at java.lang.J9VMInternals.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Unknown Source) ... 132 more

Files changed in fix:
bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/internal/navigator/resources/workbench/TabbedPropertySheetTitleProvider.java