SAP Knowledge Base Article - Preview

3089510 - java.lang.ClassCastException: com.sap.sl.sdk.authoring.businesslayer.internal.emf.impl.BusinessObjectImpl cannot be cast to com.sap.sl.sdk.authoring.businesslayer.BlContainer

Symptom

When running the attached java SDK script to load a .unx universe, the below error is thrown: 

java.lang.ClassCastException: com.sap.sl.sdk.authoring.businesslayer.internal.emf.impl.BusinessObjectImpl cannot be cast to com.sap.sl.sdk.authoring.businesslayer.BlContainer
at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.createSdkItem(MdsToSdkBusinessLayerConverter.java:411)
at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyMdsToSdk(MdsToSdkBusinessLayerConverter.java:339)
at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyMdsToSdk(MdsToSdkBusinessLayerConverter.java:346)
at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyMdsToSdk(MdsToSdkBusinessLayerConverter.java:346)
at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyMdsToSdk(MdsToSdkBusinessLayerConverter.java:346)
at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.createSdkModel(MdsToSdkBusinessLayerConverter.java:262)
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 com.sl_sdk.UniverseSL.SetLayers(UniverseSL.java:120)
at com.sl_sdk.ExtractUniverseThread.LoadUniverseObject(ExtractUniverseThread.java:282)
at com.sl_sdk.ExtractUniverseThread.runExtract(ExtractUniverseThread.java:321)
at com.sl_sdk.SL_SDK.GenerateXmlFiles(SL_SDK.java:1266)
at com.sl_sdk.Program.main(Program.java:144)




Read more...

Environment

  • SAP BusinessObjects Business Intelligence 4.2 Support Pack 8 patch 8
  • SAP BusinessObjects Business Intelligence 4.2 Support Pack 8 patch 9
  • Information Design Tool 4.2, Build: 14.2.8.3802

Product

SAP BusinessObjects Business Intelligence platform all versions

Keywords

Information Design Tool, IDT, universe, .unv, .unx, java, SDK, bi4, bi4.x, eclipse, script, error, BlContainer, businesslayer, authoring, java.lang.ClassCastException, attribute, dimension, sl.sdk. , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.