[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1237) delete user does not delete dashboard settings for the user

Anders Andersen (JIRA) jira-events at jboss.com
Tue Feb 6 04:27:37 EST 2007


delete user does not delete dashboard settings for the user
-----------------------------------------------------------

                 Key: JBPORTAL-1237
                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1237
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Portal Identity
    Affects Versions: 2.6.Alpha2, 2.6.Alpha1
         Environment: mac osx 10.4.8 PPC
JVM 1.5.0_06-64
Browser Firefox 1.5.0.9
            Reporter: Anders Andersen
            Priority: Minor


When I delete a user and creates the user again I see that dashboard content is keept.

There seems to miss a handler that delete content in other tables when the "Users Portlet" deletes a user.

This error remains in ALPHA2.

Under the test of this, I did the following:
1) created a user brian
2) logged in as brian
3) logged in as admin
3) deleted brian (using Users Portlet)
4) Logged in as brian again.
Here I got a null-pointer error.

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException
	org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:407)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

java.lang.NullPointerException
	org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.injectDashboardNav(PageCustomizerInterceptor.java:192)
	org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:127)
	org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:38)
	org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:68)
	org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:38)
	org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:54)
	org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:38)
	org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
	org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:86)
	org.jboss.portal.core.controller.classic.ClassicController.handle(ClassicController.java:88)
	sun.reflect.GeneratedMethodAccessor406.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:585)
	org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
	org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
	org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
	$Proxy218.handle(Unknown Source)
	org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
	org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
	org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:46)
	org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:67)
	org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:108)
	org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:188)
	org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:85)
	org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
	org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
	org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
	org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
	org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
	org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
	org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
	org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:381)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list