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

Specified network layer is invalid : SQLite when using Bussiness object SL Java SDK

ansanes
Newcomer
0 Likes
326

Getting an exception when using the bussiness objects SL java sdk to retrieve information about a universe.

this is my code:

 String blxPath = cmsService.retrieveUniverse(universePath, tempFolder, true);
      System.out.println("Loading universe" + blxPath);
      RelationalBusinessLayer businessLayer = (RelationalBusinessLayer) localResourceService.load(blxPath);

 

[09-10-2025 11:46:14][SEVERE]:Specified network layer is invalid : SQLite
com.sap.tools.commons.exception.NestedException: Specified network layer is invalid : SQLite
at com.sap.tools.commons.exception.NestedException.create(Unknown Source)
at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.getPRM(DataFoundationSQLDecoder.java:82)
at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.<init>(DataFoundationSQLDecoder.java:97)
at com.businessobjects.mds.services.parser.decoder.UniverseSQLDecoder.<init>(UniverseSQLDecoder.java:40)
at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.createSdkModel(MdsToSdkBusinessLayerConverter.java:246)
at com.sap.sl.sdk.authoring.businesslayer.internal.services.BusinessLayerModelToModel.createSdkModel(BusinessLayerModelToModel.java:31)
at com.sap.sl.sdk.authoring.local.internal.services.LocalResourceServiceImpl.createSdkBusinessLayer(LocalResourceServiceImpl.java:224)
at com.sap.sl.sdk.authoring.local.internal.services.LocalResourceServiceImpl.loadInternal(LocalResourceServiceImpl.java:203)
at com.sap.sl.sdk.authoring.local.internal.services.LocalResourceServiceImpl.load(LocalResourceServiceImpl.java:130)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.sap.connectivity.cs.core.CSError: Specified network layer is invalid : SQLite
at com.sap.connectivity.cs.extended.NLDBProvider.getManager(NLDBProvider.java:214)
at com.sap.connectivity.cs.extended.Provider.getEnvironment(Provider.java:93)
at com.sap.connectivity.cs.extended.ConnectionServer.JobProfile(ConnectionServer.java:572)
at com.sap.connectivity.cs.api.trace.EnvironmentLogger.JobProfile(EnvironmentLogger.java:613)
at com.businessobjects.mds.services.relational.PrmProperties.getDbParameterSet(PrmProperties.java:1509)
at com.businessobjects.mds.services.relational.PrmProperties.loadFunctions(PrmProperties.java:1552)
at com.businessobjects.mds.services.relational.PrmProperties.loadParameters(PrmProperties.java:1526)
at com.businessobjects.mds.services.relational.PrmProperties.<init>(PrmProperties.java:185)
at com.businessobjects.mds.services.relational.CsService.getPRMProperties(CsService.java:1458)
at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.getPRM(DataFoundationSQLDecoder.java:80)
... 11 more
Caused by: com.sap.connectivity.cs.core.CSError: Interface requested not found : csOCA
... 21 more
Caused by: com.sap.connectivity.cs.core.CSError: Session ID was not specified
... 21 more

Accepted Solutions (0)

Answers (1)

Answers (1)

ayman_salem
Active Contributor
0 Likes

The issue lies in the fact that you're trying to work with a universe that uses a connection type no longer supported by the SDK—specifically, SQLite.

Try opening a different universe that connects to a supported database (such as Oracle, ....) and see if the error persists.

......
Hope this helps!