This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Exception on right-click in Cobol perspective in MFED rel 7

Installed Micro Focus Enterprise Developer rel 7 with PU8. To have latest rel of eGit I used update software from Eclipse. Also had to update IDE from 4.16 to 4.23. When right-cliked I get a exception.  Any suggestion how to solve this issue? 

eclipse.buildId=4.23.0.I20220308-0310
java.version=11.0.8
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -feature com.microfocus.eclipse.edt.core.product -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -feature com.microfocus.eclipse.edt.core.product -product org.eclipse.epp.package.jee.product

org.eclipse.ui
Error
Wed May 25 09:41:25 CEST 2022
Unhandled event loop exception

java.lang.NoSuchMethodError: 'void org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerShowProcessor.showPopup(org.eclipse.swt.widgets.Menu, org.eclipse.e4.ui.model.application.ui.menu.MPopupMenu, org.eclipse.jface.action.MenuManager)'
	at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerShowProcessor.ajc$privMethod$com_microfocus_eclipse_editor_aspects_e4_menumanager_MenuManagerShowProcessorAspect$org_eclipse_e4_ui_workbench_renderers_swt_MenuManagerShowProcessor$showPopup(MenuManagerShowProcessor.java:1)
	at com.microfocus.eclipse.editor.aspects.e4.menumanager.MenuManagerShowProcessorAspect.ajc$around$com_microfocus_eclipse_editor_aspects_e4_menumanager_MenuManagerShowProcessorAspect$1$6e7de065(MenuManagerShowProcessorAspect.aj:104)
	at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerShowProcessor.menuAboutToShow(MenuManagerShowProcessor.java:78)
	at org.eclipse.jface.internal.MenuManagerEventHelper.showEventPreHelper(MenuManagerEventHelper.java:84)
	at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:467)
	at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:495)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:259)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4243)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1063)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1087)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1068)
	at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:5143)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4775)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340)
	at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1480)
	at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2286)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5015)
	at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
	at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:237)
	at org.eclipse.swt.widgets.Display.runPopups(Display.java:4101)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3626)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1467)

Tags:

Labels:

Enterprise Developer
Parents
  • 0  

    Hi, some questions to understand the situation more:

    -What did you have installed before and was it working then?
    -Was only PU8 installed, then you see this issue?
    -Where exactly do you right click, e.g. in the COBOL Explorer?

  • 0 in reply to   

    Hi,

    - upgrade from rel 6, pu16, to rel , pu8. It work before and after this upgrade.

    - Installed first rel 7 and then pu8, right-click worked in both git repositories and cobol explorer

    - then I upgraded git from 5.8 to 6.1. included in this upgrade was eclipse from 4.16 to 4.23

    - right-click in cobol explorer, cobol program. then nothing happened, check error log and found the error message. Same behavior in git repositories under git perspective. Right-click does not work

    - Tried to revert this upgrade, but no luck. Eclipse.exe file was deleted. Finally I reinstalled MFED. First rel 7, then pu8, current version of git is now 5.8 and eclipse is 4.16

  • 0   in reply to 

    Hi Sondre,

    In your Eclipse IDE > Window > Preferences > General > Startup and Shutdown > Check the list of plugins that are loaded. Do you see the  GIT plugin listed? If yes as a test uncheck those, apply the changes then try to recreate the issue. Is this issue still seen? This will help you determine if the GIT plugin is causing the problem, or not. Result?

    Also when the error is seen, what is recorded in the Eclipse .log file?

Reply
  • 0   in reply to 

    Hi Sondre,

    In your Eclipse IDE > Window > Preferences > General > Startup and Shutdown > Check the list of plugins that are loaded. Do you see the  GIT plugin listed? If yes as a test uncheck those, apply the changes then try to recreate the issue. Is this issue still seen? This will help you determine if the GIT plugin is causing the problem, or not. Result?

    Also when the error is seen, what is recorded in the Eclipse .log file?

Children