You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2013/02/12 19:07:13 UTC
[jira] [Commented] (ACCUMULO-1057) ChangeSecret fails to change
password
[ https://issues.apache.org/jira/browse/ACCUMULO-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576834#comment-13576834 ]
Keith Turner commented on ACCUMULO-1057:
----------------------------------------
Thanks for the patch. It looks good.
> ChangeSecret fails to change password
> -------------------------------------
>
> Key: ACCUMULO-1057
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1057
> Project: Accumulo
> Issue Type: Bug
> Components: client
> Reporter: Damon A. Brown
> Assignee: Damon A. Brown
> Labels: patch
> Fix For: 1.5.0
>
> Attachments: ChangeSecret.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> ChangeSecret fails to change secret.
> The argsList uses Arrays.asList(...), which returns an immutable array. Adding to the array produces an exception:
> {code}
> 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
> {code}
--
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