Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357721

Summary: [viewmgmt] NPE when activating a view on perspective switch.
Product: [Eclipse Project] Platform Reporter: Pawel Piech <pawel.1.piech>
Component: DebugAssignee: Platform-Debug-Inbox <platform-debug-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: loskutov
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Pawel Piech CLA 2011-09-15 00:44:03 EDT
I'm not sure if this is a bug in view management or in workbench page.  I got this exception intermittently when switching between perspectives.

java.lang.NullPointerException
	at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:948)
	at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:3363)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3360)
	at org.eclipse.debug.internal.ui.views.ViewContextService$ViewBinding.activated(ViewContextService.java:496)
	at org.eclipse.debug.internal.ui.views.ViewContextService$DebugContextViewBindings.doActivation(ViewContextService.java:263)
	at org.eclipse.debug.internal.ui.views.ViewContextService$DebugContextViewBindings.activateChain(ViewContextService.java:235)
	at org.eclipse.debug.internal.ui.views.ViewContextService.activateChain(ViewContextService.java:1011)
	at org.eclipse.debug.internal.ui.views.ViewContextService.contextActivated(ViewContextService.java:838)
	at org.eclipse.debug.internal.ui.views.ViewContextService.contextManagerChanged(ViewContextService.java:1085)
	at 	at 
...
Comment 1 Andrey Loskutov CLA 2016-07-18 07:12:13 EDT
The code changed a lot in 4.x stream, and this is most likely a dup of bug 471782.