Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330692 - [Compatibility] NPE thrown when showing view with secondary id and an incorrect view id
Summary: [Compatibility] NPE thrown when showing view with secondary id and an incorre...
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.1 M4   Edit
Assignee: Remy Suen CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-19 12:57 EST by Remy Suen CLA
Modified: 2010-11-19 13:03 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2010-11-19 12:57:47 EST
Caused by: java.lang.NullPointerException
	at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:678)
	at org.eclipse.ui.internal.WorkbenchPage$7.run(WorkbenchPage.java:2762)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2759)
	at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2735)
	at org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHandler.java:126)
	at org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHandler.java:99)
	at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:67)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:58)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:52)
	... 36 more
Comment 1 Remy Suen CLA 2010-11-19 13:03:28 EST
Fixed in CVS HEAD. If the view id that's passed in is invalid, we will now throw a PartInitException.