Community
Participate
Working Groups
Hardware Environment: Software Environment: Build: AC-4.2.0-200606050621 Steps to Reproduce: 1. Import WAS trace, Apache Access and DB2 diag logs from ScenarioOne (attached) 2. Create a Time, URL, Application ID correlation 3. Open the correlation using the Log Interactions view Actual Results: The following exception appears in the error log. There is a Hyades class in the middle of the exception trace. org.eclipse.hyades.sd.logc.internal.actions.OpenLogViewAction.run (OpenLogViewAction.java:71) Expected Results: Additional Information: org.eclipse.core.commands.common.NotDefinedException: Cannot get the parent identifier from an undefined context. org.eclipse.ui.globalScope at org.eclipse.core.commands.contexts.Context.getParentId (Context.java:201) at org.eclipse.jface.bindings.BindingManager.createFilteredContextTreeFor (BindingManager.java:788) at org.eclipse.jface.bindings.BindingManager.recomputeBindings (BindingManager.java:1678) at org.eclipse.jface.bindings.BindingManager.getActiveBindingsByParameterizedComma nd(BindingManager.java:908) at org.eclipse.jface.bindings.BindingManager.getActiveBindingsFor (BindingManager.java:1152) at org.eclipse.ui.internal.keys.BindingService.getActiveBindingsFor (BindingService.java:128) at org.eclipse.ui.internal.ide.actions.QuickMenuAction.getShortCutString (QuickMenuAction.java:111) at org.eclipse.ui.internal.ide.WorkbenchActionBuilder$6.getMenuText (WorkbenchActionBuilder.java:461) at org.eclipse.jface.action.MenuManager.update(MenuManager.java:728) at org.eclipse.jface.action.MenuManager.update(MenuManager.java:720) at org.eclipse.jface.action.MenuManager.update(MenuManager.java:720) at org.eclipse.ui.internal.Workbench.updateActiveWorkbenchWindowMenuManager (Workbench.java:2518) at org.eclipse.ui.internal.Workbench.access$0(Workbench.java:2480) at org.eclipse.ui.internal.Workbench$2.bindingManagerChanged (Workbench.java:2466) at org.eclipse.jface.bindings.BindingManager.fireBindingManagerChanged (BindingManager.java:863) at org.eclipse.jface.bindings.BindingManager.setActiveBindings (BindingManager.java:2197) at org.eclipse.jface.bindings.BindingManager.clearSolution (BindingManager.java:435) at org.eclipse.jface.bindings.BindingManager.contextManagerChanged (BindingManager.java:652) at org.eclipse.core.commands.contexts.ContextManager.fireContextManagerChanged (ContextManager.java:120) at org.eclipse.core.commands.contexts.ContextManager.addActiveContext (ContextManager.java:70) at org.eclipse.ui.internal.contexts.ContextAuthority.updateContext (ContextAuthority.java:744) at org.eclipse.ui.internal.contexts.ContextAuthority.sourceChanged (ContextAuthority.java:656) at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged (ExpressionAuthority.java:268) at org.eclipse.ui.AbstractSourceProvider.fireSourceChanged (AbstractSourceProvider.java:98) at org.eclipse.ui.internal.services.ActivePartSourceProvider.checkActivePart (ActivePartSourceProvider.java:202) at org.eclipse.ui.internal.services.ActivePartSourceProvider.access$0 (ActivePartSourceProvider.java:142) at org.eclipse.ui.internal.services.ActivePartSourceProvider$1.partDeactivated (ActivePartSourceProvider.java:90) at org.eclipse.ui.internal.PartListenerList$4.run (PartListenerList.java:117) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:843) at org.eclipse.ui.internal.PartListenerList.fireEvent (PartListenerList.java:57) at org.eclipse.ui.internal.PartListenerList.firePartDeactivated (PartListenerList.java:115) at org.eclipse.ui.internal.PartService.firePartDeactivated (PartService.java:113) at org.eclipse.ui.internal.PartService.setActivePart (PartService.java:165) at org.eclipse.ui.internal.WWinPartService.updateActivePart (WWinPartService.java:124) at org.eclipse.ui.internal.WWinPartService.access$0 (WWinPartService.java:115) at org.eclipse.ui.internal.WWinPartService$1.partDeactivated (WWinPartService.java:48) at org.eclipse.ui.internal.PartListenerList2$4.run (PartListenerList2.java:113) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:843) at org.eclipse.ui.internal.PartListenerList2.fireEvent (PartListenerList2.java:53) at org.eclipse.ui.internal.PartListenerList2.firePartDeactivated (PartListenerList2.java:111) at org.eclipse.ui.internal.PartService.firePartDeactivated (PartService.java:116) at org.eclipse.ui.internal.PartService.setActivePart (PartService.java:165) at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged (WorkbenchPagePartList.java:56) at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126) at org.eclipse.ui.internal.WorkbenchPage.setActivePart (WorkbenchPage.java:3190) at org.eclipse.ui.internal.WorkbenchPage.activate (WorkbenchPage.java:588) at org.eclipse.ui.internal.WorkbenchPage.busyShowView (WorkbenchPage.java:1008) at org.eclipse.ui.internal.WorkbenchPage.busyShowView (WorkbenchPage.java:989) at org.eclipse.ui.internal.WorkbenchPage.access$13 (WorkbenchPage.java:968) at org.eclipse.ui.internal.WorkbenchPage$13.run (WorkbenchPage.java:3497) at org.eclipse.swt.custom.BusyIndicator.showWhile (BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchPage.showView (WorkbenchPage.java:3494) at org.eclipse.ui.internal.WorkbenchPage.showView (WorkbenchPage.java:3470) at org.eclipse.hyades.sd.logc.internal.actions.OpenLogViewAction.run (OpenLogViewAction.java:71) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent (ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start (EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) ------- Additional Comment #4 From Sheldon Lee-Loy 2006-06-21 10:50 EST ------- I can't reproduce this problem. I used TPTP 200606150100 and AC 200606161344. ------- Additional Comment #5 From Malcom Zung 2006-06-21 11:29 EST ------- To reproduce: - Start with a new workspace - Watch the error log - Open the correlation in the Log Interactions view - The error will show up in the error log ------- Additional Comment #6 From Sheldon Lee-Loy 2006-06-22 12:15 EST ------- This is a TPTP bug. I used driver TPTP-4.2.0-200606190100 to reproduce the problem. I imported the apache access log, created a time base correlation and open the log interaction view.
Created attachment 45106 [details] ScenarioOne lgs
not critical for 4.2.1; moving to 4.3
*** Bug 155446 has been marked as a duplicate of this bug. ***
Moving to 4.4.
This defect requires investigation, I'll set for now an 8h estimate.
This is required from AC perspective.
Targetting 4.5 i2.
Changing target to 4.5 i4.
The scopeId "org.eclipse.ui.globalScope" used for the accelerator set has been deprecated. Need to use "org.eclipse.ui.contexts.window" instead. Also this context ID can be referred as IContextIds#CONTEXT_ID_WINDOW.
Created attachment 83225 [details] Patch file Patch created. Please review.
Yhe fix works weel but we still use the old keybinding mechanism. Is it possible to get rid of the deprecated call site.getSite().getKeyBindingService().setScopes(sdScopes); ?
The current patch code appears to be working expectedly and we need further investigation for removing the deprecated calls without breaking the compatibility. As discussed in the call, I have opened a follow-on bug 210495 for the activity.
Alex, I have noticed that this fix should be applied to the platform project and I do not have permission. Could you please check in the patch for me?
Fix checked in.
*** Bug 199088 has been marked as a duplicate of this bug. ***
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since the originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.