Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Eclipse Juno: Key bindings for debug are missing

I have to restart the debug session several times before key bindings
are working. Setting the focus to another window before restart seems
to help. But then I get a NPE!
org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
	at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:77)
	at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:106)
	at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:308)
	at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:322)
	at org.eclipse.e4.ui.internal.services.ContextContextService.activateContext(ContextContextService.java:53)
	at org.eclipse.ui.internal.contexts.ContextService.activateContext(ContextService.java:160)
	at org.eclipse.ui.internal.contexts.ContextService.activateContext(ContextService.java:103)
	at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager$5.runInUIThread(PerspectiveManager.java:489)
	at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager$1.run(PerspectiveManager.java:211)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3529)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3182)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1022)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:585)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
	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:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	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:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: java.lang.NullPointerException
	at org.eclipse.ui.internal.WorkbenchPage.getViewStack(WorkbenchPage.java:3993)
	at org.eclipse.debug.internal.ui.views.ViewContextService$ViewBinding.checkZOrder(ViewContextService.java:517)
	at org.eclipse.debug.internal.ui.views.ViewContextService$DebugContextViewBindings.doActivation(ViewContextService.java:264)
	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 org.eclipse.core.commands.contexts.ContextManager.fireContextManagerChanged(ContextManager.java:165)
	at org.eclipse.core.commands.contexts.ContextManager.setActiveContextIds(ContextManager.java:295)
	at org.eclipse.e4.ui.bindings.internal.BindingServiceImpl.setContextIds(BindingServiceImpl.java:237)
	at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
	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:56)


2012/7/12 Axel Müller <axel.carl.mueller@xxxxxxxxxxxxxx>:
> When the bad case happens the key bindings are still correctly listed
> in Preferences->General->Keys but they are not shown in the Menu and
> of course do not work.
>
>   Axel
>
> 2012/7/12 Marc Khouzam <marc.khouzam@xxxxxxxxxxxx>:
>> For me, the first time I press F[5678], it sometimes gets ignored.  But it works when I press it a second time.  This has been happening before 4.x though.
>>
>> I haven't noticed something as bad as your case.
>>
>> Best regards,
>>
>> Marc
>>
>>
>> ----- Original Message -----
>> From: Axel Müller <axel.carl.mueller@xxxxxxxxxxxxxx>
>> To: "cdt-dev@xxxxxxxxxxx" <cdt-dev@xxxxxxxxxxx>
>> Sent: 12-07-2012 4:43
>> Subject: [cdt-dev] Eclipse Juno: Key bindings for debug are missing
>>
>>
>>
>> Hello
>>
>> after the upgrade to Eclipse Juno (platform 4.2) I encounter sometimes
>> the following problem. I start a debug session and all the key
>> bindings for step over/step into (F6/F5) etc. are suddenly gone. They
>> key bindings do not work and they are not shown in the Debu menu. It
>> might be the case that the key bindings reappear when I stop and
>> restart the debug session but I have not found any pattern which
>> causes the disappearance/reappearance of these key bindings.
>> Did anybody else encounter this problem?
>>
>>   Axel
>>
>> --
>> --
>> Dr. Axel Müller
>> Lorbeerweg 8
>> 76149 Karlsruhe
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>
>
> --
> --
> Dr. Axel Müller
> Lorbeerweg 8
> 76149 Karlsruhe



-- 
--
Dr. Axel Müller
Lorbeerweg 8
76149 Karlsruhe


Back to the top