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)
com.sapportals.portal.security.usermanagement.IUser user = WPUMFactory.getUserFactory().getEP5User(request.getUser());
catch (Exception e)
But this statement is returning NullPointerException can anyone help me in this regard to resolve this issue.