Skip to Content
0
Former Member
Jul 17, 2008 at 05:26 AM

WPUMFactory.getUserFactory returning NullPointerException

14 Views

Hi All,

I am trying to do an application for creating a folder in KM repository.

I have written as follows.

public class KMAbstractComp extends AbstractPortalComponent

{

public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)

{

try

{

com.sapportals.portal.security.usermanagement.IUser user = WPUMFactory.getUserFactory().getEP5User(request.getUser());

}

catch (Exception e)

{

response.write(e.toString());

}

}

}

But this statement is returning NullPointerException can anyone help me in this regard to resolve this issue.

Thanks,

Bhavyasri.M.