[infinispan-issues] [JBoss JIRA] (HRJS-4) java.io.UTFDataFormatException when the executed script exceeds 128 chars

Galder Zamarreño (JIRA) issues at jboss.org
Thu Apr 21 10:48:00 EDT 2016


     [ https://issues.jboss.org/browse/HRJS-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated HRJS-4:
--------------------------------
    Status: Open  (was: New)


> java.io.UTFDataFormatException when the executed script exceeds 128 chars
> -------------------------------------------------------------------------
>
>                 Key: HRJS-4
>                 URL: https://issues.jboss.org/browse/HRJS-4
>             Project: Infinispan Javascript client
>          Issue Type: Bug
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>             Fix For: 0.3.0
>
>
> When converting a String into JBoss String (e.g. to pass add the script file itself), the final step after encoding the JBoss String itself is to convert the buffer into String. This was done because only String key/values were supported but doing such conversion added some extra bytes to the payload, generating an incorrect String which resulted in a {{java.io.UTFDataFormatException}} exception.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the infinispan-issues mailing list