Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-436

Util.objectToByteBuffer() throw exception if string argument is > 65K

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.4.1 SP2
    • 2.4.1 SP1
    • None

      java.io.UTFDataFormatException: encoded string too long: 140000 bytes
      at java.io.DataOutputStream.writeUTF(DataOutputStream.java:347)
      at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306)
      at org.jgroups.util.Util.objectToByteBuffer(Util.java:281)
      at org.jgroups.tests.UtilTest.testObjectToByteArrayWithLargeString(UtilTest.java:229)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: