You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandeep More (JIRA)" <ji...@apache.org> on 2018/11/21 16:56:00 UTC

[jira] [Commented] (KNOX-1619) RemoteAliasService#entryChanged ArrayIndexOutOfBoundsException

    [ https://issues.apache.org/jira/browse/KNOX-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16694938#comment-16694938 ] 

Sandeep More commented on KNOX-1619:
------------------------------------

There needs to be some validation to guard against ArrayIndexOutOfBoundsException caused by state changes when new Knox instances join in.

> RemoteAliasService#entryChanged ArrayIndexOutOfBoundsException
> --------------------------------------------------------------
>
>                 Key: KNOX-1619
>                 URL: https://issues.apache.org/jira/browse/KNOX-1619
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: Kevin Risden
>            Priority: Major
>             Fix For: 1.3.0
>
>
> {noformat}
> 2018-11-20 22:27:43,222 ERROR knox.gateway (RemoteAliasService.java:entryChanged(685)) - Error adding alias encryptquerystring for cluster TOPOLOGY_NAME locally (local keystore), cause: java.lang.ArrayIndexOutOfBoundsException: 1 {noformat}
> Talked with [~pzampino] and he suggested this could come from the RemoteAliasService#decrypt method. Since the exception is caught and the comment says "log and move on", it doesn't seem to be a big deal. We should try to make this nicer :)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)