cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with HANA studio

Former Member
0 Kudos
2,848

Hi All,

We have a HANA running on SPS 11.

Studio is on 102.

When i try to open the roles tab i get the below error. Any pointers please?

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

!STACK 0

java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'string'

    at org.eclipse.jface.viewers.StyledString.append(StyledString.java:264)

    at org.eclipse.jface.viewers.StyledString.<init>(StyledString.java:132)

    at org.eclipse.jface.viewers.StyledString.<init>(StyledString.java:117)

    at org.eclipse.ui.model.WorkbenchLabelProvider.getStyledText(WorkbenchLabelProvider.java:213)

    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateCommonLabelProvider.getStyledText(SafeDelegateCommonLabelProvider.java:118)

    at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.findStyledText(NavigatorContentServiceLabelProvider.java:167)

    at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.getStyledText(NavigatorContentServiceLabelProvider.java:153)

    at org.eclipse.ui.internal.navigator.NavigatorDecoratingLabelProvider$StyledLabelProviderAdapter.getStyledText(NavigatorDecoratingLabelProvider.java:63)

    at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.getStyledText(DelegatingStyledCellLabelProvider.java:206)

    at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.getStyledText(DecoratingStyledCellLabelProvider.java:199)

    at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.update(DelegatingStyledCellLabelProvider.java:106)

    at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.update(DecoratingStyledCellLabelProvider.java:136)

    at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:154)

    at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:949)

    at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:114)

    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.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1029)

    at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:473)

    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.viewers.StructuredViewer.updateItem(StructuredViewer.java:2176)

    at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2750)

    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1916)

    at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:684)

    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1891)

    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1848)

    at org.eclipse.ui.navigator.CommonViewer.internalRefresh(CommonViewer.java:527)

    at org.eclipse.jface.viewers.StructuredViewer$8.run(StructuredViewer.java:1554)

    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1462)

    at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:366)

    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1423)

    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1551)

    at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:534)

    at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:344)

    at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:490)

    at com.sap.ndb.studio.authorization.AuthorizationWorkbenchAdapter$2$1.runInUIThread(AuthorizationWorkbenchAdapter.java:162)

    at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:97)

    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)

    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4155)

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

    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(NativeMethodAccessorImpl.java:62)

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

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

    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)

Accepted Solutions (0)

Answers (3)

Answers (3)

jitendra_kumar01
Product and Topic Expert
Product and Topic Expert
0 Kudos

It seems that the issue with the Hana studio version.The problem will resove after update the studio version.

chandan_praharaj
Contributor
0 Kudos

Which version you updated? Is it HANA Studio version 112.02?

former_member183326
Active Contributor
0 Kudos

Please be aware 112.02 is the DB revision and not the Studio version!!

Update the studio version to something like: 2.2.7+.

chandan_praharaj
Contributor
0 Kudos

Yes , my Bad. I just upgraded to Version: 2.2.13

Former Member
0 Kudos

Michael,

I wanted to know as to what is the issue with the hana studio?

Is that a bug?

former_member183326
Active Contributor
0 Kudos

Well you could test this.

The only way of testing this is either open an incident (which I would not recommend only if the update does not solve your issue).

I would recommend downloading the newest version, I think its 2.2.13 or something along those lines. Check if this solves your issue.

I would also recommend as a good practice to have the HANA Studio that corresponds with your HANA DB revision.

So to answer your question in regards to a bug, this is yes and no. The studio you are using may not correspond to the DB revision you have so may not work, if this makes sense? But if you are running the relevant Studio and it fails like you experienced, then yes, I would guess this is a bug.

Former Member
0 Kudos

Michael,

Actually when you upgrade the studio it goes away. There must be definitely a large difference in the studio versions between SPS10 and SPS11.

Due to which it is causing this issue.

former_member183326
Active Contributor
0 Kudos

Hello,

Well given that each new revision has newer functions, the corresponding Studio revision must have the features to support these new functions, so I guess this pretty self explanatory and expected.

Seeing as the issue is now solved can you mark this as "correct" so as that anyone else experiencing the issue can see the solution.

BR

Michael

Former Member
0 Kudos

Sure would be marking it but Michael, but i was just trying open the security tab not a new functionality right.

chandan_praharaj
Contributor
0 Kudos

I have faced similar issue, kindly upgrade your studio, it will solve the issue.

former_member183326
Active Contributor
0 Kudos

When you say your Studio is on 102?

Please go to your HANA Studio > Help > About HANA Studio.

Please paste the screen to double check your version?

You may need to update your Studio revision.