|
Re: NullPointer exceptions in plug-in: "org.eclipse.ui.workbench"!?! [message #330962 is a reply to message #330960] |
Tue, 19 August 2008 15:22  |
Francis Upton IV Messages: 472 Registered: July 2009 Location: Oakland, CA |
Senior Member |
|
|
You just did, please file a bug with this stack trace. Assign it to
Platform/UI.
Michael Moser wrote:
> I constantly get most annoying NullPointerExceptions in eclipse core
> plugins. This seems to have top do with the console view, specifically
> when bringing up a new (or recycle an old) console view - though I can't
> say reliably. What is a good way to collect useful info so that this can
> get fixed soon?
>
> This is on Ganymed...
>
> Michael
>
> ------------------------------------- Problems occurred when invoking
> code from plug-in: "org.eclipse.ui.workbench".
>
> java.lang.NullPointerException
> at
> org.eclipse.ui.internal.console.ConsoleView.partDeactivated( ConsoleView.java:655)
>
> at
> org.eclipse.ui.internal.PartListenerList2$4.run(PartListener List2.java:113)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:880)
> at
> org.eclipse.ui.internal.PartListenerList2.fireEvent(PartList enerList2.java:53)
>
> at
> org.eclipse.ui.internal.PartListenerList2.firePartDeactivate d(PartListenerList2.java:111)
>
> at
> org.eclipse.ui.internal.PartService.firePartDeactivated(Part Service.java:241)
>
> at org.eclipse.ui.internal.PartService.setActivePart(PartServic e.java:299)
> at
> org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePart Changed(WorkbenchPagePartList.java:56)
>
> at org.eclipse.ui.internal.PartList.setActivePart(PartList.java :126)
> at
> org.eclipse.ui.internal.WorkbenchPage.setActivePart(Workbenc hPage.java:3491)
>
> at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage .java:610)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyShowView(Workbench Page.java:1086)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyShowView(Workbench Page.java:1064)
> at org.eclipse.ui.internal.WorkbenchPage$19.run(WorkbenchPage.j ava:3773)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3770)
> at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3746)
> at
> org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHan dler.java:165)
> at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHand ler.java:80)
> at
> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>
> at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
> at
> org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
>
> at
> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
>
> at
> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
>
> at
> org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:619)
>
> at
> org.eclipse.ui.menus.CommandContributionItem.access$10(Comma ndContributionItem.java:605)
>
> at
> org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(C ommandContributionItem.java:595)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:59)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:39)
>
> at java.lang.reflect.Method.invoke(Method.java:612)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> -------------------------------------
--
*new* Common Navigator Framework section in:
3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases
You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go
Platform UI Committer for Common Navigator
http://wiki.eclipse.org/index.php/Common_Navigator_Framework
http://help.eclipse.org/galileo/topic/org.eclipse.platform.d oc.isv/guide/cnf.htm
|
|
|
Powered by
FUDForum. Page generated in 0.03345 seconds