yeah, its the same error message and use-case.
I have fixed this by removing all the policy-code from
DefaultUserSecurityPolicy (redback-policy.jar) that we do not use anyway.
Sorry but I don't have time to provide a patch that keeps the existing
logic.



Deng Ching-2 wrote:
> 
> This looks like a similar bug:
> http://jira.codehaus.org/browse/MRM-1187
> 
> Is it the same scenario?
> 
> Thanks,
> Deng
> 
> On Thu, Sep 10, 2009 at 11:06 AM, Deng Ching <och...@apache.org> wrote:
> 
>> Hi Marc,
>>
>> This is working fine for me. Were you using an existing Redback database?
>>
>> Thanks,
>> Deng
>>
>>
>> On Wed, Sep 9, 2009 at 4:13 PM, Marc Lustig <m...@marclustig.com> wrote:
>>
>>>
>>> We just upgraded to 1.2.2 and the user still cannot change his own
>>> password.
>>> The following exception occurs. Anbody knows how to fix this?
>>> Is it database-schema related?
>>>
>>> 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: java.lang.IllegalArgumentException:
>>> fromIndex(0) > toIndex(-1)
>>>
>>> 
>>> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
>>>
>>>
>>> org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
>>>
>>>
>>> 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)
>>>
>>> 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:338)
>>>
>>>
>>> org.codehaus.plexus.redback.users.jdo.JdoUserManager.updateUser(JdoUserManager.java:368)
>>>
>>>
>>> org.codehaus.plexus.redback.users.cached.CachedUserManager.updateUser(CachedUserManager.java:229)
>>>
>>>
>>> org.codehaus.plexus.redback.users.configurable.ConfigurableUserManager.updateUser(ConfigurableUserManager.java:174)
>>>
>>>
>>> org.codehaus.plexus.redback.struts2.action.PasswordAction.submit(PasswordAction.java:146)
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/changing-password-impossible-using-1.2.2-tp25360506p25360506.html
>>> Sent from the archiva-users mailing list archive at Nabble.com.
>>>
>>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/changing-password-impossible-using-1.2.2-tp25360506p25388640.html
Sent from the archiva-users mailing list archive at Nabble.com.

Reply via email to