accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damon A. Brown (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-1057) ChangeSecret fails to change password
Date Sat, 09 Feb 2013 18:01:12 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Damon A. Brown updated ACCUMULO-1057:
-------------------------------------

    Attachment: ChangeSecret.patch

Patch creates a new dynamic array list and then adds the args to the list.
                
> ChangeSecret fails to change password
> -------------------------------------
>
>                 Key: ACCUMULO-1057
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1057
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.5.0
>            Reporter: Damon A. Brown
>            Assignee: Billie Rinaldi
>              Labels: patch
>         Attachments: ChangeSecret.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> ChangeSecret fails to change password.
> The argsList uses Arrays.asList(...), which returns an immutable array.  Adding to the
array produces an exception:
> Thread "org.apache.accumulo.server.util.ChangeSecret" died null
> java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.apache.accumulo.start.Main$1.run(Main.java:97)
> 	at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.UnsupportedOperationException
> 	at java.util.AbstractList.add(AbstractList.java:148)
> 	at java.util.AbstractList.add(AbstractList.java:108)
> 	at org.apache.accumulo.server.util.ChangeSecret.main(ChangeSecret.java:55)
> 	... 6 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message