Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319239 - Cannot open additional views using Window > Show View > Other...
Summary: Cannot open additional views using Window > Show View > Other...
Status: CLOSED DUPLICATE of bug 319050
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 05:03 EDT by Dani Megert CLA
Modified: 2010-07-08 07:57 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 Dani Megert CLA 2010-07-08 05:03:56 EDT
SDK 4.0 - I20100707-2006.

1. start with new workspace
2. Window > Show View > Navigator (or any other view)
==> error dialog reporting internal error (NPE) - see stack trace below

3  Window > Show View > Other...
==> nothing happens (not even a log entry)



!ENTRY org.eclipse.e4.ui.workbench 4 0 2010-07-08 11:02:43.436
!MESSAGE Internal Error
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:54)
	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:199)
	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:176)
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:101)
	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:135)
	at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:362)
	at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:824)
	at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:810)
	at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:800)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:669)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:594)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:103)
	at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:535)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:519)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	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:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
	at org.eclipse.core.launcher.Main.main(Main.java:34)
Caused by: java.lang.NullPointerException
	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:122)
	at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:55)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:56)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:47)
	... 35 more
Comment 1 Remy Suen CLA 2010-07-08 05:47:54 EDT
(In reply to comment #0)
> 1. start with new workspace
> 2. Window > Show View > Navigator (or any other view)
> ==> error dialog reporting internal error (NPE) - see stack trace below

This one is captured by bug 319050.

> 3  Window > Show View > Other...
> ==> nothing happens (not even a log entry)

This one will require some investigation.
Comment 2 Dani Megert CLA 2010-07-08 05:57:48 EDT
(In reply to comment #1)
> (In reply to comment #0)
> > 1. start with new workspace
> > 2. Window > Show View > Navigator (or any other view)
> > ==> error dialog reporting internal error (NPE) - see stack trace below
> 
> This one is captured by bug 319050.
> 
> > 3  Window > Show View > Other...
> > ==> nothing happens (not even a log entry)
> 
> This one will require some investigation.
OK, I've added a comment to bug 319050. We can use this bug here for the Show View > Other... problem.
Comment 3 Remy Suen CLA 2010-07-08 07:57:56 EDT
(In reply to comment #1)
> > 3  Window > Show View > Other...
> > ==> nothing happens (not even a log entry)
> 
> This one will require some investigation.

The root cause is the same as bug 319050. Will be attaching a patch in a bit.

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