SAP Knowledge Base Article - Preview

1941472 - How do you resolve ClassCastException exceptions thrown when BI 4.1 Web Intelligence generates Default Values for Prompts Associated with Range-Restricted SAP BEx Query Variables?

Symptom

  • SAP BusinessObjects BI Platform 4.1 deployment.
  • Web Intelligence reporting off of SAP BEx query via BICS, where the query has defined a Input Variable restricted on a range.
  • The restriction may arise, for example, from Default Values or from Authorization Variables defined in the BW query.
  • The issue is specific to range restrictions, i.e., where the restriction has an associated inclusion, exclusion or pattern operator.
  • The issue does not occur for interval restrictions, i.e., where lower and upper values are specified but no restriction operator is defined.
  • When refreshing the Web Intelligence document,  the following stack trace is shown in an error dialog box in place of the prompt dialog box:

    Exception caught in SL Service: class com.businessobjects.mds.olap.protocol.bics.internal.adapters.rt.RtInterva:ltorg.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@2ad94042 incompatible with interface com.businessobjects.mds.olap.protocol.bics.internal.adapters.BICSRange:org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@2ad94042
    java.lang.ClassCastException: class com.businessobjects.mds.olap.protocol.bics.internal.adapters.rt.RtInterval:org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@2ad94042 incompatible with interface com.businessobjects.mds.olap.protocol.bics.internal.adapters.BICSRange:org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@2ad94042
     at com.businessobjects.mds.olap.protocol.bics.internal.variables.VariableHelpers.addDefaultAnswers(VariableHelpers.java:234)
     at com.businessobjects.mds.olap.protocol.bics.internal.variables.VariableHelpers.buildBWVariable(VariableHelpers.java:106)
     at com.businessobjects.mds.olap.protocol.bics.internal.variables.RtVariableBrowser.fill(RtVariableBrowser.java:86)
     at com.businessobjects.mds.olap.protocol.bics.internal.variables.RtVariableBrowser.<init>(RtVariableBrowser.java:56)
     at com.businessobjects.mds.olap.protocol.bics.internal.variables.BWVariableBrowser$Factory.createRunTimeVariableBrowser(BWVariableBrowser.java:30)
     at com.businessobjects.mds.olap.protocol.bics.internal.rt.BICSQueryViewWrapperImpl.getOrCreateVariableBrowser(BICSQueryViewWrapperImpl.java:300)
     at com.businessobjects.mds.olap.protocol.bics.internal.rt.BICSQueryViewWrapperImpl.getVariables(BICSQueryViewWrapperImpl.java:308)
     at com.businessobjects.mds.olap.protocol.bics.internal.BICSClientImpl.getRunTimeVariables(BICSClientImpl.java:516)
     at com.businessobjects.mds.olap.protocol.bics.internal.BICSClientImpl.getVariables(BICSClientImpl.java:502)
     at com.businessobjects.mds.olap.metadata.internal.CubeImpl.getVariables(CubeImpl.java:96)
     at com.sap.sl.edp.universe.bics.BicsUniverseBuilder.fillPromptsFromCubeVariables(BicsUniverseBuilder.java:80)
     at com.sap.sl.edp.universe.bics.BicsUniverseBuilder.processVariables(BicsUniverseBuilder.java:73)
     at com.businessobjects.mds.services.helpers.olapbuilder.OlapUniverseBuilder.buildProtoUniverse(OlapUniverseBuilder.java:152)
     at com.sap.sl.edp.datasource.olap.generation.impl.AbstractUniverseGenerator.doProtoUniverseGeneration(AbstractUniverseGenerator.java:217)
     at com.sap.sl.edp.datasource.olap.generation.impl.AbstractUniverseGenerator.generateProtoUniverse(AbstractUniverseGenerator.java:106)
     at com.sap.sl.edp.dataprovider.olap.DirectOlapAccessDataProvider.generateProtoUniverse(DirectOlapAccessDataProvider.java:245)
     at com.sap.sl.edp.dataprovider.olap.DirectOlapAccessDataProviderBuilder.generateProtoUniverse(DirectOlapAccessDataProviderBuilder.java:104)
     at com.businessobjects.dsl.services.universe.impl.UniverseServiceImpl.provideProtoUniverse(UniverseServiceImpl.java:292)
     at com.businessobjects.dsl.services.universe.impl.UniverseServiceImpl.getProtoUniverse(UniverseServiceImpl.java:182)
     at com.sap.sl.proxyconsumption.services.datasourceservice.CubeDataSourceServiceImpl.getDataSourceHeader(CubeDataSourceServiceImpl.java:175)
     at com.sap.sl.proxyconsumption.services.datasourceservice.DataSourceServiceImpl.getDataSourceHeader(DataSourceServiceImpl.java:507)
     at com.sap.sl.proxyconsumption.services.datasourceservice.DataSourceServiceImpl.getDataSourceHeader(DataSourceServiceImpl.java:475)
     at com.sap.sl.proxyconsumption.protobuf.rpc.DatasourceRpc$dataSource.callMethod(DatasourceRpc.java:207)
     at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:235)
     at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:160)
     at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
     at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
     at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
     at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
     at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$70ac4512.doIt(<generated>)
     at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
     at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
     at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
     at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1980)
     at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1916)
     at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:122)
     at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
     at java.lang.Thread.run(Thread.java:743)
     
  • This issue does not occur with BI 4.0.  It is specific to BI 4.1


Read more...

Product

SAP BusinessObjects Business Intelligence platform 4.1

Keywords

WebI, BICS, BW, ADAPT01710672, ADAPT01711784, ADAPT01711993 , KBA , BI-RA-WBI , Web Intelligence , Bug Filed

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.