Skip to Content
0

HANA studio/modeling issue

Oct 11, 2016 at 06:59 AM

1.2k

avatar image
Former Member

Hello,

I am getting the following error when trying to model a calculation view i.e., when trying to add tables to a projection/aggregation.

I have HANA studio version 2.1.11 and java version 8 update 101.

Plug-in: com.sap.ndb.studio.modeler

eclipse.buildId=unknown java.version=1.8.0_31 java.vendor=SAP AG BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86_64 org.eclipse.graphiti.ui Error Tue Oct 11 02:28:25 CDT 2016

GFCommandStack.execute(Command) java.lang.NullPointerException: while trying to invoke the method java.lang.String.equals(java.lang.Object) of a null object loaded from local variable 'localTenant'

java.lang.NullPointerException: while trying to invoke the method java.lang.String.equals(java.lang.Object) of a null object loaded from local variable 'localTenant' at com.sap.ndb.studio.sdk.resource.bi.core.impl.BIResourceController.getCatalogResourceObjectFromResourceSet(BIResourceController.java:829) at com.sap.ndb.studio.sdk.resource.bi.core.impl.BIResourceController.getRequiredSQLObjectsList(BIResourceController.java:668) at com.sap.ndb.studio.sdk.resource.repository.core.impl.MDResourceController.getRequiredSQLObjects(MDResourceController.java:1678) at com.sap.ndb.studio.sdk.resource.repository.core.impl.MDResourceController.getRequiredObjects(MDResourceController.java:1957) at com.sap.ndb.studio.modeler.base.NavigatorBasedResourceAgent.getNewRequiredObjects(NavigatorBasedResourceAgent.java:532) at com.sap.ndb.studio.view.ui.graphiti.features.AddDataSourceFeature.getEntity(AddDataSourceFeature.java:458) at com.sap.ndb.studio.view.ui.graphiti.features.AddDataSourceFeature.getCatalogReference(AddDataSourceFeature.java:412) at com.sap.ndb.studio.view.ui.graphiti.features.AddDataSourceFeature.add(AddDataSourceFeature.java:180) at com.sap.ndb.studio.view.ui.graphiti.features.FindObjectsFeature.addNodeToDiagram(FindObjectsFeature.java:178) at com.sap.ndb.studio.view.ui.graphiti.features.FindObjectsFeature.execute(FindObjectsFeature.java:100) at org.eclipse.graphiti.features.custom.AbstractCustomFeature.execute(AbstractCustomFeature.java:83) at org.eclipse.graphiti.internal.command.GenericFeatureCommandWithContext.execute(GenericFeatureCommandWithContext.java:64) at org.eclipse.graphiti.internal.command.CommandContainer.execute(CommandContainer.java:81) 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.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:513) 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:84) at org.eclipse.graphiti.ui.internal.editor.GFCommandStack.execute(GFCommandStack.java:138) at org.eclipse.graphiti.ui.internal.action.CustomAction.executeOnCommandStack(CustomAction.java:65) at org.eclipse.graphiti.ui.internal.action.CustomAction.run(CustomAction.java:60) at org.eclipse.jface.action.Action.runWithEvent(Action.java:519) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) 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(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

eclipse.buildId=unknown java.version=1.8.0_31 java.vendor=SAP AG BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86_64

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Roland Kramer
Nov 25, 2016 at 03:47 PM
0

Hi

The - SAP First Guidance – Implementing BW-MT as the new SAP BW Modeling Experience Document explains the correct Implementation Process of the BW-MT

Best Regards Roland

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member
Apr 18, 2017 at 09:10 AM
0

Hello I got the same error. This Java exception error happen because ":" is in hostname in my customer case. So you should try to check the, HANA Studio -> Properties right clicking on System -> Additional Properties -> Connection -> Host. BR, Tommy

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Ryuichiro,

How do we remove the ":" from the hostname?

I can't add the tenant DB in HANA Studio without inputting the SQL port. Its format is like <hostname>:<SQL-PORT>

Is there any other way?

0