Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 245527 - [StatusHandling] NPE while working with p2 Update Manager
Summary: [StatusHandling] NPE while working with p2 Update Manager
Status: RESOLVED DUPLICATE of bug 238738
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-28 08:41 EDT by Tomasz Zarna CLA
Modified: 2008-09-02 01:03 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2008-08-28 08:41:49 EDT
I got this error while adding an update site using p2 Update Manager.

-- Error Details --
Date: Thu Aug 28 14:24:57 CEST 2008
Message: Error occurred during status handling
Severity: Error
Plugin: org.eclipse.ui
Session Data:
eclipse.buildId=I20080827-0935
java.version=1.6.0_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
Command-line arguments:  -os win32 -ws win32 -arch x86 -data c:\workspace\eclipse\team\dev.eclipse.org_HEAD


Exception Stack Trace:
java.lang.NullPointerException
	at org.eclipse.ui.statushandlers.WorkbenchStatusDialogManager.refreshSingleStatusArea(WorkbenchStatusDialogManager.java:1929)
	at org.eclipse.ui.statushandlers.WorkbenchStatusDialogManager.updateTitleArea(WorkbenchStatusDialogManager.java:2192)
	at org.eclipse.ui.statushandlers.WorkbenchStatusDialogManager.refresh(WorkbenchStatusDialogManager.java:1904)
	at org.eclipse.ui.statushandlers.WorkbenchStatusDialogManager.addStatusAdapter(WorkbenchStatusDialogManager.java:1126)
	at org.eclipse.ui.statushandlers.WorkbenchErrorHandler.handle(WorkbenchErrorHandler.java:64)
	at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.handle(IDEWorkbenchErrorHandler.java:93)
	at org.eclipse.ui.internal.WorkbenchErrorHandlerProxy.handle(WorkbenchErrorHandlerProxy.java:36)
	at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:200)
	at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:244)
	at org.eclipse.equinox.internal.provisional.p2.ui.ProvUI.handleException(ProvUI.java:80)
	at org.eclipse.equinox.internal.provisional.p2.ui.actions.ProfileModificationAction.getProvisioningPlan(ProfileModificationAction.java:73)
	at org.eclipse.equinox.internal.provisional.p2.ui.actions.ProfileModificationAction.run(ProfileModificationAction.java:79)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.equinox.internal.p2.ui.sdk.UpdateAndInstallDialog.verticalButtonPressed(UpdateAndInstallDialog.java:732)
	at org.eclipse.equinox.internal.p2.ui.sdk.UpdateAndInstallDialog$21.handleEvent(UpdateAndInstallDialog.java:715)
	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.java:3841)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3439)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.openDialog(UpdateHandler.java:55)
	at org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.execute(UpdateHandler.java:46)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
	at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)
	at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:619)
	at org.eclipse.ui.menus.CommandContributionItem.access$10(CommandContributionItem.java:605)
	at org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(CommandContributionItem.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.java:3841)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3439)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
	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(Workbench.java:488)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.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(EclipseStarter.java:370)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Comment 1 Krzysztof Daniel CLA 2008-08-28 09:16:27 EDT
duplicate of 238738.
It would be nice if you could post reproduction steps...
Comment 2 Boris Bokowski CLA 2008-09-02 01:03:46 EDT

*** This bug has been marked as a duplicate of bug 238738 ***