SAP Knowledge Base Article - Preview

2476361 - ClassCastException raised, in a HANA view based HCPR

Symptom

A HANA Information View model based HCPR (HANA Composite Provider) is wanted to be opened, or modeled. During the procedure, java.lang.ClassCastException raised, which can be seen in the Error log:

java.lang.ClassCastException: Cannot cast class com.sap.ndb.studio.bi.model.calculation.impl.RootCalculationImpl to interface com.sap.ndb.studio.model.data.entity.Entity
at com.sap.bw.hcpr.ui.commands.ModelModify.addHanaInput(ModelModify.java:322)
at com.sap.bw.hcpr.ui.commands.ModelModify.addHanaInput(ModelModify.java:297)
at com.sap.bw.hcpr.ui.editor.gra.feature.CreateNodeFeature$1.run(CreateNodeFeature.java:141)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
at com.sap.bw.hcpr.ui.editor.gra.feature.CreateNodeFeature.handleHanaView(CreateNodeFeature.java:135)
at com.sap.bw.hcpr.ui.editor.gra.feature.CreateNodeFeature.execute(CreateNodeFeature.java:106)
.
.
at com.sap.bw.hcpr.ui.editor.gra.HcprDiagramEditor$HcprDiagramBehavior.access$0(HcprDiagramEditor.java:1)
at com.sap.bw.hcpr.ui.editor.gra.HcprDiagramEditor$HcprDiagramBehavior$2.run(HcprDiagramEditor.java:128)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
at com.sap.bw.connectivity.util.WorkspaceUtil.executeOnWorkspace(WorkspaceUtil.java:32)
at com.sap.bw.hcpr.ui.editor.gra.HcprDiagramEditor$HcprDiagramBehavior.executeFeature(HcprDiagramEditor.java:131)


Read more...

Environment

SAP NetWeaver
SAP BW4/HANA
SAP HANA DATABASE

Product

SAP BW/4HANA 1.0 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5

Keywords

Program Files, Program Files (86), ClassCastException, com.sap.ndb.studio.model.data.entity.Entity, RootCalculationImpl  , KBA , BW-MT-HCPR , CompositeProvider in BW Modeling Tools , Problem

About this page

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

Search for additional results

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