archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stallard,David" <stall...@oclc.org>
Subject Changing password results in 500 error
Date Wed, 26 Jun 2013 17:08:13 GMT
When we try to change a user's password in Archiva 1.3.5, we get a 500 page and the password
isn't changed.  If I google on this I can find many others running into the same issue, going
several years back, but I haven't been able to find a good solution.  I even found the following
jira from 2009 (Archiva 1.2), which is still listed as Unresolved.  Any idea how we can get
past this?

https://jira.codehaus.org/browse/MRM-1187

Below is the top of the stack trace.

Thanks,
David


javax.servlet.ServletException: java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-1)
        org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
        org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:422)
        com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
        com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
        org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
        org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
        org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
root cause
java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-1)
        java.util.SubList.<init>(AbstractList.java:604)
        java.util.RandomAccessSubList.<init>(AbstractList.java:758)
        java.util.AbstractList.subList(AbstractList.java:468)
        org.codehaus.plexus.redback.policy.DefaultUserSecurityPolicy.extensionChangePassword(DefaultUserSecurityPolicy.java:344)
        org.codehaus.plexus.redback.users.jdo.JdoUserManager.updateUser(JdoUserManager.java:374)
        org.codehaus.plexus.redback.users.cached.CachedUserManager.updateUser(CachedUserManager.java:235)
        org.codehaus.plexus.redback.users.configurable.ConfigurableUserManager.updateUser(ConfigurableUserManager.java:180)
        org.codehaus.plexus.redback.struts2.action.admin.UserEditAction.save(UserEditAction.java:301)
        org.codehaus.plexus.redback.struts2.action.admin.UserEditAction.confirmAdminPassword(UserEditAction.java:247)
                   (lots more like this)


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message