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

Eclipse(HANA Development): Error when searching for a table in aProjection Node of a Graphical View

mitko1994
Participant
4,504

I have Eclipse Version: 2024-12 (4.34.0) with the latest SAP Development tools installed

I want to create a Calculation View and add a table to a Projection Node, but whenever I search for the table name, I get the following error. How can I fix this?

Here is the full error log

eclipse.buildId=4.34.0.20241128-0756
java.version=21.0.5
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

org.eclipse.core.jobs
Error
Tue Jan 28 14:19:21 EET 2025
An internal error occurred during: "Items filtering".

java.lang.NoClassDefFoundError: Could not initialize class org.apache.http.conn.ssl.SSLConnectionSocketFactory
    at com.sap.ndb.studio.http.internal.ssl.SSLSocketFactoryProvider.createSSLSocketFactory(SSLSocketFactoryProvider.java:58)
    at com.sap.ndb.studio.http.internal.HttpFactory.createSocketFactory(HttpFactory.java:107)
    at com.sap.ndb.studio.http.internal.HttpFactory.createHttpClient(HttpFactory.java:82)
    at com.sap.ndb.studio.http.internal.client.HttpClient.initialize(HttpClient.java:104)
    at com.sap.ndb.studio.http.internal.client.HttpClient.<init>(HttpClient.java:90)
    at com.sap.ndb.studio.http.internal.client.HttpClientManager.createHttpClient(HttpClientManager.java:52)
    at com.sap.ndb.studio.http.internal.client.HttpClientManager.getClient(HttpClientManager.java:75)
    at com.sap.ndb.studio.http.internal.client.HttpClientManager.getClient(HttpClientManager.java:1)
    at com.sap.ndb.studio.service.common.core.ServiceCommonRequestExecutor.execute(ServiceCommonRequestExecutor.java:36)
    at com.sap.ndb.studio.service.common.deliveryunit.api.impl.DeliveryUnitVersion.createDeliveryUnitsDetailedVersion(DeliveryUnitVersion.java:265)
    at com.sap.ndb.studio.service.common.deliveryunit.api.impl.DeliveryUnitVersion.getDeliveryUnitDetailedVersion(DeliveryUnitVersion.java:141)
    at com.sap.ndb.studio.service.common.deliveryunit.api.impl.DeliveryUnitVersion.isDeliveryUnitVersionSupported(DeliveryUnitVersion.java:100)
    at com.sap.ndb.studio.service.common.version.api.impl.ServiceVersion.isServiceVersionSupported(ServiceVersion.java:49)
    at com.sap.ndb.studio.service.common.metadata.search.api.impl.MetadataSearch.search(MetadataSearch.java:122)
    at com.sap.ndb.studio.bi.search.provider.DALBasedSearchProvider.doSearch(DALBasedSearchProvider.java:162)
    at com.sap.ndb.studio.bi.search.engine.SearchEngine.doSearch(SearchEngine.java:197)
    at com.sap.ndb.studio.bi.search.engine.SearchEngine.doBasicSearch(SearchEngine.java:164)
    at com.sap.ndb.studio.bi.search.engine.SearchAPI.doBasicSearch(SearchAPI.java:106)
    at com.sap.ndb.studio.bi.search.ui.view.FindModelingObjectDialogue.fillContentProvider(FindModelingObjectDialogue.java:714)
    at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.filterContent(FilteredItemsSelectionDialog.java:1954)
    at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.internalRun(FilteredItemsSelectionDialog.java:1909)
    at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.doRun(FilteredItemsSelectionDialog.java:1889)
    at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.run(FilteredItemsSelectionDialog.java:1877)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.ExceptionInInitializerError [in thread "Worker-143: Items filtering"]
    at org.apache.http.conn.ssl.SSLConnectionSocketFactory.<clinit>(SSLConnectionSocketFactory.java:151)
    ... 24 more
View Entire Topic
r_daneel
Explorer

My case is a bit different, but I ended up with the same problem and found a way to solve it.

As has been mentioned, version 2024-12 is not supported, so you should install one of the supported ones (the latest being 2024-9). The issue is that I made a mistake and installed version 2024-12, which gave me this error. From that point on, I spent three weeks trying every imaginable way to uninstall Eclipse and reinstall different versions, but the error persisted.

I analyzed the error log and found on Stack Overflow that the problem is caused by the presence of two plugins with different versions:

org.apache.commons.commons-logging_1.3.4.jar
org.apache.commons.logging_1.2.0.v20180409-1502.jar

They are located in the ..\eclipse\plugins folder.

Since Eclipse is self-executable, managing libraries is straightforward. I renamed the more recent one—without much hope, I might add—and to my surprise, it works correctly.

I understand that the definitive solution should come from SAP, but in the meantime, this can serve as a workaround. I did this a few days ago, and so far I haven’t encountered any other error or problem.

Try it and see if you’re lucky.

l_faye
Explorer
0 Kudos

Hi, thanks a lot for this hint. In you case, how did you rename the most recent one ? I've seen only one duplicated JAR in my folder, which is the logging_1.2.0

mitko1994
Participant
0 Kudos

Thanks for the detailed response. Unfortunately, I only see one of each of these .jar files, so I guess I don't have duplicates or different versions

lkysiak
Newcomer
Hi, I'm expanding on your answer because you didn't say exactly how you changed the file name. All you need to do is rename the file from "org.apache.commons.commons-logging_1.3.4.jar" to "org.apache.commons.commons-logging_1.2.0.jar". In my case it solved the problem.
r_daneel
Explorer
0 Kudos

.

r_daneel
Explorer
0 Kudos
Hi lkysiak, I'm glad that you have also fixed your problem. I only kept one plugin—the old one: org.apache.commons.logging_1.2.0.v20180409-1502.jar. When I say that I renamed the more recent one, I mean that I changed its extension so that Eclipse wouldn't find it: org.apache.commons.commons-logging_1.3.4.jar.old