cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

java.lang.reflect.invocationtargetexception error in sap hana eclipse(latest) ADT(latest)

bdebayan
Explorer
5,755

Hello,

at the time of searching for ABAP Development Objects using Ctrl+Shift+A, I am getting bellow error

java.lang.reflect.InvocationTragetException.

I am using the latest version of ADT https://tools.hana.ondemand.com/latest

and Eclipse 2023-09

Can anyone please help to solve this error?

Accepted Solutions (0)

Answers (4)

Answers (4)

UweFetzer_se38
Active Contributor

ADT doesn't like the new JAVA Version 21

Temporary solution see: Error when searching for abap package eclipse: | SAP Community

tobuck
Discoverer

Same error here, also on Non-HANA-Systems - Release 740 is working, 750 and above results in the "java.lang.reflect.InvocationTargetException"

Maybe it has to do with the java version.<br>

I updated my ADT Tools today - before I did, everything worked fine. So I think there is an error in the most recent ADT version.

This is already adressed here: <a rel="nofollow" href="https://answers.sap.com/questions/13982417/java-exception-creating-new-objects-in-eclipse-202.html">https://answers.sap.com/questions/13982417/java-exception-creating-new-objects-in-eclipse-202.html</a><br>

I don't think so. I can still create new objects on these systems.

[EDIT]: I noticed later, on the systems where the search is working, I can't create new objects ... so maybe the two issues are mutually exclusive, depending on the backend?

Also, the linked issue has a stack trace, but there is no stack trace for this Exception on searches:

Keltrian
Explorer
0 Likes

Just fixed as se38 said, changing the eclipse.ini file below the -vm line to version 17

/Users/xxxxxxx/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.macosx.x86_64_17.0.6.v20230204-1729/jre/lib/libjli.dylib

Im on mac and using Amazon Corretto 17, it worked like a charm.

Regards.

lruhnau
Discoverer
0 Likes

With the same eclipse version I experience the same error. Maybe it has to do with the java version.

This is already adressed here: https://answers.sap.com/questions/13982417/java-exception-creating-new-objects-in-eclipse-202.html

Ask a Question