Quantcast
Channel: SCN : All Content - SAP Enterprise Portal
Viewing all articles
Browse latest Browse all 3876

Class cast error

$
0
0

I am attempting to follow this article:

 

http://twofourone.blogspot.com/2008/07/enhanced-google-analytics-in-sap-portal.html

 

However at the point where the following is executed:

 

NavigationEventsHelperService helperService =(NavigationEventsHelperService) PortalRuntime

  .getRuntimeResources()

  .getService("com.sap.portal.navigation.helperservice.navigation_events_helper");

 

I get this error:

 

Cannot cast class com.sapportals.portal.navigation.NavigationEventsHelperService (loader sap.com/com.sap.portal.navigation.helperservice@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@4e7100c8@alive) to class com.sapportals.portal.navigation.NavigationEventsHelperService (loader demo.sap.com/analytics@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@4f98016a@alive)

 

We are using EP 7.4, however, this service (com.sap.portal.navigation.helperservice.navigation_events_helper) is still in the system.

 

navhelper.png

 

Has something changed with how we can reference that service?


Viewing all articles
Browse latest Browse all 3876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>