cancel
Showing results for 
Search instead for 
Did you mean: 

sap bw not able to open query in eclipse 12.2022

amir_alhamoud
Discoverer
0 Kudos

Hi,

when i try to open an Query in Eclipce 12-2022 i am faced with the following Error message:
java.lang.NoClassDefFoundError: org/eclipse/jface/databinding/swt/WidgetProperties

at com.sap.bw.qd.ui.editor.GeneralDataComposite.createNameControl(GeneralDataComposite.java:158)

at com.sap.bw.qd.ui.editor.GeneralDataComposite.createContentsWithTextVar(GeneralDataComposite.java:126)

at com.sap.bw.qd.ui.editor.GeneralDataComposite.createContentsWithTextVar(GeneralDataComposite.java:142)

at com.sap.bw.qd.ui.editor.PageOverview.createGeneralContents(PageOverview.java:1037)

at com.sap.bw.qd.ui.editor.PageOverview.createFormContent(PageOverview.java:190)

at org.eclipse.ui.forms.editor.FormPage.lambda$0(FormPage.java:166)

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

at org.eclipse.ui.forms.editor.FormPage.createPartControl(FormPage.java:166)

at org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor.java:480)

at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1030)

at org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:612)

at org.eclipse.ui.forms.editor.SharedHeaderFormEditor.createPages(SharedHeaderFormEditor.java:109)

at com.sap.bw.editor.ui.editor.BwMultiPageEditor.createPages(BwMultiPageEditor.java:821)

at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:333)

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

at org.eclipse.ui.ide.IDE.openEditor(IDE.java:548)

at org.eclipse.ui.ide.IDE.openEditor(IDE.java:508)

at com.sap.bw.core.ui.internal.EditorService.openEditorInternal(EditorService.java:304)

at com.sap.bw.core.ui.internal.EditorService.openEditor(EditorService.java:165)

at com.sap.bw.core.ui.internal.EditorService.openEditor(EditorService.java:125)

at com.sap.bw.core.ui.internal.EditorService.openEditorsWithoutProgressDialog(EditorService.java:354)

at com.sap.bw.core.ui.internal.EditorService$2.run(EditorService.java:368)

at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:434)

at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:352)

at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:470)

at org.eclipse.ui.internal.progress.ProgressManager$RunnableWithStatus.run(ProgressManager.java:1132)

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

at org.eclipse.ui.internal.progress.ProgressManager.lambda$27(ProgressManager.java:1011)

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.ui.internal.progress.ProgressManager.runInUI(ProgressManager.java:1011)

at com.sap.bw.core.ui.internal.EditorService.openEditors(EditorService.java:362)

at com.sap.bw.projectexplorer.ui.actions.OpenEditorAction.run(OpenEditorAction.java:66)

at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:215)

at org.eclipse.ui.navigator.CommonNavigatorManager$1.open(CommonNavigatorManager.java:183)

at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)

at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:800)

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

at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174)

at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:797)

at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1116)

at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:454)

at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:296)

at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:331)

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: java.lang.ClassNotFoundException: org.eclipse.jface.databinding.swt.WidgetProperties cannot be found by com.sap.bw.qd.ui_1.25.6

... 125 more

is this error familiar? is there allready a Solution for it?

much Thanks,Amir

Accepted Solutions (1)

Accepted Solutions (1)

amir_alhamoud
Discoverer
0 Kudos

I have found a solution to the problem. I had to install Eclipse 2022-09 then install Modeling Tools for SAP BW/4HANA and SAP BW powered by SAP HANA from here.

Answers (3)

Answers (3)

Reninho
Explorer
0 Kudos

I have solved the problem by uninstalling version 2022-12 completely and installing version :

Version: 2021-09 (4.21.0)

Build id: 20210910-1417

Thanks

ferdtulu
Explorer
0 Kudos

you need to install SapMachine-17.

https://tools.eu1.hana.ondemand.com/#bw

Reninho
Explorer
0 Kudos

I am getting the same error when trying to open different BW objects in Eclipse 2022-12. Let's hope to find the solution soon.