[Spread-users] Java spread Library: java.lang.NegativeArraySizeException

nilay padh nilay_bom at hotmail.com
Fri Jun 25 13:03:26 EDT 2004


Hi All,

I use Spread 3.17.01 on windows and I get foll. error:

java.lang.NegativeArraySizeException
        at 
spread.SpreadConnection.internal_receive(SpreadConnection.java:1187)
        at spread.SpreadConnection.access$200(SpreadConnection.java:70)
        at spread.SpreadConnection$Listener.run(SpreadConnection.java:1655)

This error does not occur when my application is on the same host as the 
daemon. But when the application connects to a daemon remotely I run to the 
above error.
The error occurs at Listener class of SpreadConnection:

byte buffer[] = new byte[numGroups * MAX_GROUP_NAME];

Would appreciate any suggestions/ideas ?.

Thanks,
-Nilay

_________________________________________________________________
Pay Cash on delivery on lakhs of products. 
http://go.msnserver.com/IN/50757.asp Only on Baazee.com





More information about the Spread-users mailing list