[jboss-jira] [JBoss JIRA] Created: (JGRP-437) Util.objectToByteBuffer() throw exception if string argument is > 65K

Bela Ban (JIRA) jira-events at lists.jboss.org
Tue Mar 13 16:38:01 EDT 2007


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

                 Key: JGRP-437
                 URL: http://jira.jboss.com/jira/browse/JGRP-437
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 2.4.1 SP1
            Reporter: Bela Ban
         Assigned To: Bela Ban
             Fix For: 2.5


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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list