HI, for field with OMMTypes.RMTES_STRING, there are time it throw Exception when create a String object with below logic:
new String((OMMDataBuffer)buffer.getBytes, rmtesCharset)
Exception:
java.nio.charset.CoderMalfunctionError: java.lang.IndexOutOfBoundsException
at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:587) ~[?:?]
at java.lang.String.decodeWithDecoder(String.java:1210) ~[?:?]
at java.lang.String.<init>(String.java:665) ~[?:?] at java.lang.String.<init>(String.java:1387) ~[?:?]
at com.macquarie.kdb.feed.Client.processItemEvent(Client.scala:58) ~[feed-assembly-2.6.9.jar:2.6.9]
I am using below version of RFA library: "com.reuters" % "rfa" % "8.2.1.L1.all", is there 8.x.x version which fix this issue?