cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HANA HRF Vocabulary Error

shivamshukla12
Contributor
0 Kudos

Hi All ,

I am creating vocabulary in HRF SAP HANA but when i am trying to add the tables on data foundation of it , its throwing the below exception.

Can you please help me out from this -

An error has occurred. See error log for more details.

com.sap.ndb.studio.hrf.view.context.RuleViewContext.getSchemaMapping()Lcom/sap/ndb/studio/sdk/base/schemamapping/ISchemaMapping;

PFA the attached error for more information.

Thanks,

Shivam

Accepted Solutions (0)

Answers (1)

Answers (1)

shivamshukla12
Contributor
0 Kudos

Hi All,

I am getting below error on above -

Problems occurred when invoking code from plug-in: "org.eclipse.jface".

java.lang.AbstractMethodError: com.sap.ndb.studio.hrf.view.context.RuleViewContext.getSchemaMapping()Lcom/sap/ndb/studio/sdk/base/schemamapping/ISchemaMapping;

  at com.sap.ndb.studio.view.ui.graphiti.features.AddDataSourceFeature.getCatalogReference(AddDataSourceFeature.java:355)

  at com.sap.ndb.studio.view.ui.graphiti.features.AddDataSourceFeature.add(AddDataSourceFeature.java:198)

  at com.sap.ndb.studio.hrf.view.ui.graphiti.features.AddRuleDataSourceFeature.add(AddRuleDataSourceFeature.java:118)

  at org.eclipse.graphiti.internal.command.AddFeatureCommandWithContext.execute(AddFeatureCommandWithContext.java:76)

  at org.eclipse.graphiti.ui.internal.command.GefCommandWrapper.execute(GefCommandWrapper.java:51)

  at org.eclipse.graphiti.ui.internal.editor.EmfOnGefCommand.execute(EmfOnGefCommand.java:54)

  at org.eclipse.graphiti.internal.command.GFPreparableCommand2.doExecute(GFPreparableCommand2.java:43)

  at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)

  at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:127)

  at org.eclipse.graphiti.ui.internal.editor.GFCommandStack.execute(GFCommandStack.java:138)

  at org.eclipse.graphiti.ui.editor.DiagramBehavior.executeFeature(DiagramBehavior.java:1120)

  at org.eclipse.graphiti.features.impl.AbstractFeatureProvider.addIfPossible(AbstractFeatureProvider.java:310)

  at org.eclipse.graphiti.features.DefaultFeatureProviderWrapper.addIfPossible(DefaultFeatureProviderWrapper.java:58)

  at org.eclipse.graphiti.ui.internal.command.AddModelObjectCommand.execute(AddModelObjectCommand.java:116)

  at org.eclipse.graphiti.ui.internal.editor.EmfOnGefCommand.execute(EmfOnGefCommand.java:54)

  at org.eclipse.graphiti.internal.command.GFPreparableCommand2.doExecute(GFPreparableCommand2.java:43)

  at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)

  at org.eclipse.emf.workspace.EMFCommandOperation.doExecute(EMFCommandOperation.java:119)

  at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)

  at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:516)

  at org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.java:208)

  at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)

  at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:96)

  at org.eclipse.graphiti.ui.internal.editor.GFCommandStack.execute(GFCommandStack.java:138)

  at org.eclipse.gef.dnd.AbstractTransferDropTargetListener.handleDrop(AbstractTransferDropTargetListener.java:339)

  at org.eclipse.graphiti.ui.internal.dnd.ObjectsTransferDropTargetListener.handleDrop(ObjectsTransferDropTargetListener.java:42)

  at org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop(AbstractTransferDropTargetListener.java:183)

  at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:219)

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

  at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)

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

  at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:216)

  at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:91)

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

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

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

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

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

  at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:788)

  at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456)

  at org.eclipse.swt.dnd.DropTarget.Drop_64(DropTarget.java:392)

  at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:260)

  at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)

  at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)

  at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)

  at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)

  at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)

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

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

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

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

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

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

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

  at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)

  at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)

  at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)

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

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

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

  at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)

  at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)

  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)

  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)

  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  at java.lang.reflect.Method.invoke(Unknown Source)

  at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)

  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)

  at org.eclipse.equinox.launcher.Main.run(Main.java:1515)

Thanks,

Shivam

JB_
Explorer
0 Kudos

Hi all,

I am receving the same error; however, I can add a calculation view.

In this instance, a workaround maybe to create a calculation  view over the top of your table and use this as the basis for the vocabulary.

Former Member
0 Kudos

Hi Shivam,

The error text suggests schema mapping function.

You might want to see if the schema to which the table belongs needs to be mapped to the existing schema? Many a times, we download a delivery unit and that has a particular schema which needs to be mapped to an actual physical schema.

Probably, the default schema SAP_HRF needs to be mapped to an actual physical schema in which your tables are present.

Reg

Debanshu