Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Eclips con't open Sapgui 8.0

wei_roc
Explorer

When I use Eclipse navigation ->open Sap-Gui, the following error occurs.

java.lang.IllegalStateException: Problems connecting to event pipe \\.\pipe\AiEWinguiEventpipe-f070009e-8d14-4fd6-99ad-969b02b95605. Command line: C:\Program Files\SAP\FrontEnd\SAPGUI\SapGuiServer.exe \\.\pipe\AiEWinguiEventpipe-f070009e-8d14-4fd6-99ad-969b02b95605

at com.sap.adt.sapgui.ui.internal.win32.embedding.WinGuiServerProxy.startGuiServerProcess(WinGuiServerProxy.java:196)

at com.sap.adt.sapgui.ui.internal.win32.WinGuiFragment.getGuiServerProxy(WinGuiFragment.java:96)

at com.sap.adt.sapgui.ui.internal.win32.embedding.EmbeddedWinGuiEditor.createEmbeddedGuiContent(EmbeddedWinGuiEditor.java:78)

at com.sap.adt.sapgui.ui.internal.views.AbstractSapGuiWorkbenchPart.createPartControl(AbstractSapGuiWorkbenchPart.java:123)

at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:158)

at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96)

at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:365)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:568)

at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)

at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:995)

at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:960)

at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:140)

at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:403)

at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:330)

at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:202)

at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:91)

at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60)

at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:42)

at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:132)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:995)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:659)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:763)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:728)

at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:712)

at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.lambda$0(PartServiceImpl.java:105)

at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38)

at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:183)

at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)

at org.eclipse.swt.widgets.Display.syncExec(Display.java:4785)

at org.eclipse.e4.ui.workbench.swt.DisplayUISynchronize.syncExec(DisplayUISynchronize.java:34)

at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)

at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:205)

at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:203)

at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)

at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)

at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)

at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:133)

at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:75)

at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:44)

at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:55)

at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63)

at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424)

at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElementGen(ElementContainerImpl.java:170)

at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:188)

at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:660)

at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:624)

at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:790)

at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:401)

at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1264)

at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3210)

at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3100)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74)

at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3098)

at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3068)

at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3051)

at com.sap.adt.sapgui.ui.SapGuiPlugin.openGuiEditor(SapGuiPlugin.java:185)

at com.sap.adt.sapgui.ui.SapGuiPlugin.openEditorAndStartTransaction(SapGuiPlugin.java:157)

at com.sap.adt.sapgui.ui.SapGuiPlugin.openEditorAndStartTransaction(SapGuiPlugin.java:135)

at com.sap.adt.sapgui.ui.SapGuiPlugin.openEditorAndStartTransaction(SapGuiPlugin.java:129)

at com.sap.adt.sapgui.ui.internal.handlers.OpenSapGuiHandler.openView(OpenSapGuiHandler.java:45)

at com.sap.adt.sapgui.ui.internal.handlers.OpenSapGuiHandler.execute(OpenSapGuiHandler.java:39)

at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:283)

at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:97)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:568)

at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)

at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:317)

at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:251)

at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173)

at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156)

at org.eclipse.core.commands.Command.executeWithChecks(Command.java:488)

at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:485)

at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)

at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:438)

at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:449)

at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:475)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)

at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4256)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4054)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3642)

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:643)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:550)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:171)

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:402)

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:77)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:568)

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)

Caused by: com.sun.jna.platform.win32.Win32Exception: 管道已结束。

at com.sap.adt.sapgui.ui.internal.win32.embedding.PipeHelper.readNamedPipe(PipeHelper.java:124)

at com.sap.adt.sapgui.ui.internal.win32.embedding.WinGuiServerProxy$2.run(WinGuiServerProxy.java:133)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

7 REPLIES 7

Jeansy
Active Contributor
0 Kudos

Hi,

I am using ADT in combination with SAP GUI 8.0 (32 bit) and it's working fine.

Do you use 64bit-version of SAP GUI?

I would propose to create an incident for SAP so that they can check the issue in detail.

Use the menu entry in Eclipse via "Help - Report Incident...". They will ask you in a first step for collective support information from your ADT-installation. This can be generated via menu entry in Eclispe via "Help - Collect Support Information".

I hope this helps you to solve the issue with the support of SAP.

Kind regards
Jens

BiberM
Active Participant
0 Kudos

Yes, the 64bit GUI Installation is what I suspected too (as it says 32 in the error).

What ADT Version do you use? I had in mind that with the current or next Version the compatibility should be assured.

Jeansy
Active Contributor
0 Kudos

Hi,

I use Version: 3.28.1.

Kind regards
Jens

0 Kudos

I use 64bit-version of SAP GUI。Thank you for your detailed suggestions! I will try it。

Pat_A
Explorer
0 Kudos

Hi, I'm encountering the same issue. Did you find out if there is a supported method for using Eclipse ADT with SAP GUI running 64bit?

sratz
Advisor
Advisor

64bit SAP GUI is supported in ADT since version 3.28 (released in August 2022).

Both 32bit and 64bit SAP GUI should work equally well in recent versions of ADT.

If there are still issues using the latest versions of ADT and SAP GUI, I suggest to create an incident (BC-DWB-AIE) so we can analyze the problem in more detail.

0 Kudos

Thanks sebastian.ratz. I hadn't got round to updating the ADT tools but figured that could be the issue. Just waiting for my security team to open our web proxy so that I can do so. I figured I'd ask the question early in case the effort was all in vain. Thanks for confirming that it is supported