SAP Knowledge Base Article - Preview

1867911 - ClassCastException is thrown for an iview on enterprise portal

Symptom

Portal runtime error occurs on enterprise portal, when an iview(standard or customized) is accessed on enterprise portal. For example, you see the below error in customized masthead iview:

Portal runtime error
An exception occured while processing your request. Send the exception ID to your portal administrator.
Exception ID <exception_ID>
See log file for details about this exception

The following exception is logged to the defaultTrace file:

java.lang.ClassCastException: class com.demo.test.portal.afp.navigation.MastHeadBean:WCE_PRIVATE_CL_demo.test/com.demo.test.portal.navigation.afp.masthead@com.sap.engine.boot.loader.
ResourceMultiParentClassLoader@2ct45tj5@alive incompatible with class com.demo.test.ep73core.portal.afp.navigation.MastHeadBean:WCE_PRIVATE_CL_demo.com/com.demo.test.portal.navigation.
afp.masthead@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@5nc85sc3@alive
at PRT_jsp_WEB_2d_INF_jsp_Masthead_7711442_13221509711000_1266158076337._doContent(PRT_jsp_WEB_2d_INF_jsp_Masthead_7711442_13221509711000_1266158076337.java:87)


Read more...

Environment

Released Independent

Product

SAP NetWeaver 2004 ; SAP NetWeaver 7.0 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver Application Server for Java 7.1 ; SAP NetWeaver Application Server for Java 7.2 ; SAP NetWeaver Composition Environment 7.1 ; SAP NetWeaver Composition Environment 7.2 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 1 for SAP NetWeaver Application Server for Java 7.1 ; SAP enhancement package 1 for SAP NetWeaver Composition Environment 7.1 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

exception, custom, developed, EJB, Bean , KBA , kde , BC-JAS-WEB , Web Container, HTTP, JavaMail, Servlets , EP-PIN-NAV , Navigation , 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.