[opencms-dev] Error when deleting a user

Audrey Lehoux a.lehoux at eurelis.com
Tue Nov 24 11:22:43 CET 2009


Hi list,

 

I have the following error when I want to delete a user using the OpenCms "User Management" functionalities:

 

javax.servlet.ServletException: org.opencms.file.CmsObject.getResourcesForPrincipal(Lorg/opencms/util/CmsUUID;Lorg/opencms/security/CmsPermissionSet;Z)Ljava/util/List;
        at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
        at org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.admin.accounts.user_005fdelete_jsp._jspService(user_005fdelete_jsp.java:55)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at org.opencms.flex.CmsFlexRequestDispatcher.forward(CmsFlexRequestDispatcher.java:117)
        at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1168)
        at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)
        at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1498)
        at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)
        at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:164)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at org.opencms.flex.CmsFlexRequestDispatcher.forward(CmsFlexRequestDispatcher.java:117)
        at org.opencms.util.CmsRequestUtil.forwardRequest(CmsRequestUtil.java:460)
        at org.opencms.workplace.tools.CmsToolManager.jspForwardPage(CmsToolManager.java:482)
        at org.opencms.workplace.administration.CmsAdminDialog.displayDialog(CmsAdminDialog.java:100)
        at org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.views.admin.admin_002dmain_jsp._jspService(admin_002dmain_jsp.java:46)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at org.opencms.flex.CmsFlexRequestDispatcher.forward(CmsFlexRequestDispatcher.java:117)
        at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1168)
        at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)
        at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1498)
        at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)
        at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:164)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at org.opencms.flex.CmsFlexRequestDispatcher.forward(CmsFlexRequestDispatcher.java:117)
        at org.opencms.util.CmsRequestUtil.forwardRequest(CmsRequestUtil.java:460)
        at org.opencms.workplace.tools.CmsToolManager.jspForwardPage(CmsToolManager.java:482)
        at org.opencms.workplace.tools.CmsToolManager.jspForwardTool(CmsToolManager.java:509)
        at org.opencms.workplace.tools.accounts.A_CmsUsersList.executeListSingleActions(A_CmsUsersList.java:266)
        at org.opencms.workplace.list.A_CmsListDialog.actionDialog(A_CmsListDialog.java:339)
        at org.opencms.workplace.list.A_CmsListDialog.displayDialog(A_CmsListDialog.java:411)
        at org.opencms.workplace.list.A_CmsListDialog.displayDialog(A_CmsListDialog.java:396)
        at org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.admin.accounts.users_005flist_jsp._jspService(users_005flist_jsp.java:46)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1168)
        at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)
        at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1498)
        at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)
        at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:164)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
        at java.lang.Thread.run(Thread.java:619)
 
I don't understand where this error can come from. My user (Admin) belongs to the group "Administrators" and has the role "Root Administrator". I have no error when I create a user. 
Have you already encountered this issue? Have you got any idea of what can be wrong with my Admin user?

 

Thanks in advance for your help.

 

Regards,

Audrey.

 

Audrey Lehoux

Chef de projets

Tél : 01 49 97 20 22

 

EURELIS

AGITATEUR DE TECHNOLOGIES                

Tél :  01 49 97 20 20

Fax : 01 47 68 20 19

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20091124/bcc009ff/attachment.htm>


More information about the opencms-dev mailing list