← Back to team overview

dhis2-devs team mailing list archive

[Bug 378608] Re: Edit User throws exception

 

** Changed in: dhis2
       Status: New => Fix Committed

-- 
Edit User throws exception
https://bugs.launchpad.net/bugs/378608
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in District Health Information Software 2: Fix Committed

Bug description:
In Maintenance->Users->User Management

When I click on the Edit icon in the Users list I get the exception pasted in below.
This happens both on my local build (synched with bazaar trunk/ May 19) and on the server, and both with SA and SL databases.

Exception (java.lang.NullPointerException): null

    * org.hisp.dhis.user.action.GetUserAction.execute(GetUserAction.java:114)
    * sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    * sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    * sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    * java.lang.reflect.Method.invoke(Method.java:597)
    * com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)
    * com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192)
    * org.hisp.dhis.webwork.interceptor.AbstractPreResultListener.intercept(AbstractPreResultListener.java:71)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * org.hisp.dhis.webwork.interceptor.WebWorkTransactionInterceptor.intercept(WebWorkTransactionInterceptor.java:79)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * org.hisp.dhis.webwork.interceptor.WebWorkDisplayPropertyInterceptor.intercept(WebWorkDisplayPropertyInterceptor.java:90)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * org.hisp.dhis.webwork.interceptor.WebWorkSortOrderInterceptor.intercept(WebWorkSortOrderInterceptor.java:124)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * org.hisp.dhis.security.intercept.WebWorkSecurityInterceptor.intercept(WebWorkSecurityInterceptor.java:98)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * org.hisp.dhis.webwork.interceptor.WebWorkExceptionInterceptor.intercept(WebWorkExceptionInterceptor.java:89)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
    * com.opensymphony.xwork.ActionChainResult.execute(ActionChainResult.java:156)
    * com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:313)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:208)
    * org.hisp.dhis.webwork.interceptor.WebWorkTransactionInterceptor.intercept(WebWorkTransactionInterceptor.java:79)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * org.hisp.dhis.webwork.interceptor.WebWorkDisplayPropertyInterceptor.intercept(WebWorkDisplayPropertyInterceptor.java:90)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * org.hisp.dhis.webwork.interceptor.WebWorkSortOrderInterceptor.intercept(WebWorkSortOrderInterceptor.java:124)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * org.hisp.dhis.security.intercept.WebWorkSecurityInterceptor.intercept(WebWorkSecurityInterceptor.java:98)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * org.hisp.dhis.webwork.interceptor.WebWorkExceptionInterceptor.intercept(WebWorkExceptionInterceptor.java:89)
    * com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    * com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
    * com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:273)
    * com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
    * org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    * org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    * org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
    * org.hisp.dhis.security.filter.RequiredLoginFilter.doFilter(RequiredLoginFilter.java:131)
    * org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    * org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:107)
    * org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    * org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
    * org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    * org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
    * org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    * org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
    * org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    * org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
    * org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
    * org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    * org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    * org.hisp.dhis.servlet.filter.OpenSessionInViewFilter.doFilter(OpenSessionInViewFilter.java:71)
    * org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
    * org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    * org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    * org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    * org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    * org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    * org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    * org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    * org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    * org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    * org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    * org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    * org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    * java.lang.Thread.run(Thread.java:619)



References