cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NullPointerException during activation of .xsjs file

Former Member
0 Kudos

Hi,

I have written a .xsjs file which contains insert statement in a table. there are no errors  but when i activate the file it pops up the error called

An internal error occurred during: "Activating file insertData.xsjs".

java.lang.NullPointerException

please help....its pretty urgent.

Regards,

Shubham Agrawal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shubham,

You can check log file for detail information, it was default installled on "C:\Users\<logon account>\hdbstudio\.metadata\" for windows.

Hope this can help you?

Regards,

Jerry

Former Member
0 Kudos

Hi jerry,

I am not able to understand the problem....can you please specify the possibilities why this problem is coming??

I can copy my code here if you want me to..

Regards,

Shubham

Former Member
0 Kudos

Hi Shubham,

I am afraid that your HANA server maybe has trouble, if possibe, you can post your script and I will test it in my local machine.

Beside, did you check your log file?

Regards,

Jerry

Former Member
0 Kudos

log file says

!ENTRY org.eclipse.jface.text 4 0 2013-09-11 14:49:16.356

!MESSAGE Unexpected runtime error while computing a text hover

!STACK 0

java.lang.NullPointerException

          at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java:669)

          at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java:674)

          at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:387)

          at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:443)

          at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.accept(CompilationUnitProblemFinder.java:174)

          at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.askForBinding(LookupEnvironment.java:279)

          at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:132)

          at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.getType(LookupEnvironment.java:766)

          at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.getResolvedType(LookupEnvironment.java:720)

          at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getJavaLangString(Scope.java:1745)

          at org.eclipse.wst.jsdt.core.dom.DefaultBindingResolver.resolveExpressionType(DefaultBindingResolver.java:604)

          at org.eclipse.wst.jsdt.core.dom.Expression.resolveTypeBinding(Expression.java:111)

          at org.eclipse.wst.jsdt.internal.corext.refactoring.nls.NLSHintHelper.getAccessorClassReference(NLSHintHelper.java:97)

          at org.eclipse.wst.jsdt.internal.ui.text.java.hover.NLSStringHover.getHoverInfo(NLSStringHover.java:96)

          at org.eclipse.wst.jsdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover.getHoverInfo2(AbstractJavaEditorTextHover.java:95)

          at org.eclipse.wst.jsdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:147)

          at org.eclipse.wst.jsdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:78)

          at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

m not able to understand....can you please help??

thank you

Former Member
0 Kudos

Hi Shubham,

Could you active other files? such as hdbtable. It maybe connection trouble with HANA server.

Besides, Could you check http://<hostname>:port(default port is 8000)?

Regards,

Jerry

Former Member
0 Kudos

Hi jerry,

you are right...m not able to activate any file....there is some problem with the connection. Thank you so much for helping.

Regards,

Shubham Agrawal

Former Member
0 Kudos

Hi Shubham,

Glad to help you.

Regards,

Jerry

Answers (0)