Swat302 buffer overflow: java.nio.BufferOverflowException
When a system has lots of devices Swat may abort with:
java.nio.BufferOverflowException
at java.nio.LongBuffer.put(LongBuffer.java:785)
at Utils.Bin.write_record(Bin.java:747)
You can find a fix here: [URL="http://fixunix.com/henk/resource/stuff/binfix.tar"]http://blogs.sun.com/henk/resource/stuff/binfix.tar[/URL]
- place tar file in your swat install directory, then 'cd /swatxxx' and 'tar -xvf binfix.tar'
You'll now have a new file: classes/Utils/Bin.class.
If that still fails then you have a REAL large amount of device. Contact me at [EMAIL="swat@sun.com"]swat@sun.com[/EMAIL] if needed.
Henk.
[url=http://blogs.sun.com/henk/entry/swat302_buffer_overflow_java_nio]More...[/url]