on 04-01-2006 12:11 PM
Hi All,
I am getting a class cast exception on executing the following snippet in a Portal Application.
IPortalBasicRoleFactoryService rfsrv = (IPortalBasicRoleFactoryService) PortalRuntime
.getRuntimeResources().getService
(IPortalBasicRoleFactoryService.KEY);
Error is - Caused by: java.lang.ClassCastException: com.sap.portal.pcd.pcm.roles.PortalBasicRoleFactoryService
at RolePortlet.doContent(RolePortlet.java:60)
Funny thing is this implementation class is not present in the jar file. Also the interface IPortalBasicRoleFactoryService doesnot extend from IService which is what the portal runtime resources.getService(KEY) returns.
Is this code valid for a later version of EP stack? We are using EP 6.0, UME 4.0, PDK 6.0
Please help.
TIA
Saby
Hi all, I have the same kind of problem, may someone help me?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.