cancel
Showing results for 
Search instead for 
Did you mean: 

When will Hana Studio support Apple OSX (10.9) and Java 7?

Former Member
0 Kudos

Hi All,

As also in this thread documented Hana Studio doesn't work properly with OSX 10.9 and Java 7.

Especially when you try to model views Hana Studio throws errors like the one below.

When you use Standard functionality for XS development e.g or against the repository no problems usually occur.

As many developers use OSX for their daily development work it would be great to support this platform as well.

Thanks

Olli

!ENTRY org.eclipse.ui 4 0 2014-01-03 01:24:39.841

!MESSAGE Unhandled event loop exception

!STACK 0

java.lang.NullPointerException

at org.eclipse.swt.graphics.TextLayout.computeRuns(TextLayout.java:222)

at org.eclipse.swt.graphics.TextLayout.getBounds(TextLayout.java:729)

at org.eclipse.jface.viewers.StyledCellLabelProvider.updateTextLayout(StyledCellLabelProvider.java:310)

at org.eclipse.jface.viewers.StyledCellLabelProvider.measure(StyledCellLabelProvider.java:277)

at org.eclipse.jface.viewers.OwnerDrawLabelProvider$OwnerDrawListener.handleEvent(OwnerDrawLabelProvider.java:55)

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

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

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

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

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

at org.eclipse.swt.widgets.TreeItem.calculateWidth(TreeItem.java:280)

at org.eclipse.swt.widgets.Tree.calculateWidth(Tree.java:260)

at org.eclipse.swt.widgets.Tree.setScrollWidth(Tree.java:2952)

at org.eclipse.swt.widgets.Tree.expandItem_expandChildren(Tree.java:1266)

at org.eclipse.swt.widgets.Display.windowProc(Display.java:5819)

at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)

at org.eclipse.swt.internal.cocoa.NSOutlineView.expandItem(NSOutlineView.java:36)

at org.eclipse.swt.widgets.TreeItem.setExpanded(TreeItem.java:1157)

at org.eclipse.jface.viewers.TreeViewer.setExpanded(TreeViewer.java:332)

at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpandToLevel(AbstractTreeViewer.java:1772)

at org.eclipse.jface.viewers.AbstractTreeViewer.expandToLevel(AbstractTreeViewer.java:1075)

at com.sap.ndb.studio.view.ui.panes.OutputPane$ModelListener$1.run(OutputPane.java:196)

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

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

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

at com.sap.ndb.studio.view.ui.panes.OutputPane$ModelListener.notifyChanged(OutputPane.java:154)

at com.sap.ndb.studio.view.ui.bigf.actions.AddToOutput.runChecked(AddToOutput.java:175)

at com.sap.ndb.studio.view.ui.bigf.AbstractActionDelegate.doExecute(AbstractActionDelegate.java:193)

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

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

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

at com.sap.ndb.studio.view.ui.bigf.AbstractActionDelegate.run(AbstractActionDelegate.java:159)

at com.sap.ndb.studio.view.ui.dialogs.JoinDialog.okPressed(JoinDialog.java:504)

at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:476)

at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)

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

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

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

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

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

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

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

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

at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)

at org.eclipse.jface.window.Window.open(Window.java:802)

at com.sap.ndb.studio.view.ui.bigf.actions.JoinAction.runChecked(JoinAction.java:90)

at com.sap.ndb.studio.view.ui.bigf.AbstractActionDelegate.doExecute(AbstractActionDelegate.java:193)

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.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)

at com.sap.ndb.studio.view.ui.bigf.AbstractActionDelegate.run(AbstractActionDelegate.java:66)

at com.sap.ndb.studio.view.ui.bigf.ActionDelegateWrapper.run(ActionDelegateWrapper.java:26)

at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)

at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)

at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

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

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

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hopefully SP8

In the meantime upgrade to SP7 and follow this guide: http://scn.sap.com/docs/DOC-50386

The SP7 version doesn't use regi so works much better.

John

Former Member
0 Kudos

John,

Thanks for your answer. How do I know which SP I'm using?

I believe I'm using the latest Hana OSX version, but I'm not sure. It/Hana says version 1.50.0 on Mac in contrast to Windows, where it says 1.0.68 (see screenshot attached).

Yes, and XS development works rather fine with Hana Studio on OSX, but not the modeling part, this is the part where Hana has problems under OSX 10.9 and Java 7.

In the meantime I have switched to a VM/Win7 version under OSX. A VM equipped with 12 GB and enough kernels Hana Studio runs smoothly under OSX 10.9.

Cheers

Olli

Former Member
0 Kudos

The latest developer version is Build 201310170836 which is what you have. That's actually Rev.68, despite it saying Rev.50.

Yes agreed, the modeling part is not quite working on the Rev.68 version of OS X. The XS stuff works great though.

I also use a Win 7 VM for Modeling. I have it on a server-based VMWare, running next to the HANA system. This way it performs better.

John

Former Member
0 Kudos

where can I get build 201310170836?

All traces of HANS Studio for Mac missing.

Former Member
0 Kudos

Yeah it's gone for now due to bugs in the Information View modeling. Hopefully it will be back later in the year.

Answers (1)

Answers (1)

dvankempen
Product and Topic Expert
Product and Topic Expert

For those interested, I added a tutorial video to the SAP HANA Academy, part of the playlist on SAP HANA SPS 08 - installations

SAP HANA Academy - SAP HANA installation: 5. Studio on Mac OS X - YouTube

Best,

Denys

SAP HANA Academy