[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:37:00 EDT 2016
Galder Zamarreño created HRJS-4:
-----------------------------------
Summary: 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
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