You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ankit Patil (Jira)" <ji...@apache.org> on 2020/01/17 22:42:00 UTC

[jira] [Commented] (LANG-1469) Error caused by java.lang.ArrayStoreException org.apache.commons.lang3.text.translate.NumericEntityUnescaper cannot be stored in an array of type o.a.a.a.c.a.b[]

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

Ankit Patil commented on LANG-1469:
-----------------------------------

[~doniw] This class is deprecated. 

Please use commons-text
[https://commons.apache.org/proper/commons-text/javadocs/api-release/org/apache/commons/text/StringEscapeUtils.html]

> Error caused by java.lang.ArrayStoreException org.apache.commons.lang3.text.translate.NumericEntityUnescaper cannot be stored in an array of type o.a.a.a.c.a.b[]
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LANG-1469
>                 URL: https://issues.apache.org/jira/browse/LANG-1469
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.text.*
>    Affects Versions: 3.5
>         Environment: Android /Java
>            Reporter: doni
>            Priority: Major
>
> Hi we got error 
> Caused by java.lang.ArrayStoreException
> org.apache.commons.lang3.text.translate.NumericEntityUnescaper cannot be stored in an array of type o.a.a.a.c.a.b[]
> This probably related to proguard on our android project. Do you may have clue what might causing this error ? it is happened after we remove keep proguard rules on apache.commons. 
> This also only happen on xiaomi phone with OS 5 and 6.
> We got this error after calling StringEscapeUtils.escapeHtml4(). Any help would be appreciated.
> Regards.
> Doni
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)