Project: Eclipse_Platform_UI
Bug 23224 [Perspectives] Nullpointer, better explanation needed
Reported: 2002-09-05 10:51:30 | Status: resolved fixed

What the hell does this mean? java.lang.InstantiationException: etm.farrago.plugin.cm.CompanyTreeView at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Unknown Source) at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:135) at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:164) at org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:102) at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:116) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66) at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:113) at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:45) at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:99) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:839) at org.eclipse.core.runtime.Platform.run(Platform.java:416) at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:81) at org.eclipse.ui.internal.ViewFactory$ViewReference.getPart(ViewFactory.java:293) at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1327) at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:559) at org.eclipse.ui.internal.WorkbenchPage.access$7(WorkbenchPage.java:541) at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:2306) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2303) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2293) at org.eclipse.ui.internal.ShowViewMenu.showOther(ShowViewMenu.java:163) at org.eclipse.ui.internal.ShowViewMenu.access$0(ShowViewMenu.java:148) at org.eclipse.ui.internal.ShowViewMenu$2.run(ShowViewMenu.java:39) at org.eclipse.jface.action.Action.runWithEvent(Action.java:749) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361) at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1529) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1291) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1256) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1239) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:775) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:432) at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24) !ENTRY org.eclipse.ui 4 4 sep 05, 2002 17:01:37.869 !MESSAGE Unhandled exception caught in event loop. !ENTRY org.eclipse.ui 4 0 sep 05, 2002 17:01:37.885 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1328) at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:559) at org.eclipse.ui.internal.WorkbenchPage.access$7(WorkbenchPage.java:541) at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:2306) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2303) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2293) at org.eclipse.ui.internal.ShowViewMenu.showOther(ShowViewMenu.java:163) at org.eclipse.ui.internal.ShowViewMenu.access$0(ShowViewMenu.java:148) at org.eclipse.ui.internal.ShowViewMenu$2.run(ShowViewMenu.java:39) at org.eclipse.jface.action.Action.runWithEvent(Action.java:749) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361) at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1529) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1291) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1256) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1239) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:775) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:432) at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24) A better error is needed, thanks!

Files changed in fix:
bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/Perspective.java