on 2025 Jan 29 6:25 AM
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
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 8 | |
| 6 | |
| 6 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.