V
vijai thoppae
Hello,
I've developed a application using C# & its saving files in xml format.
Since the size of the file, is huge i'm using Zip Classes from J# in my C#
code, based on the
article in MSDNmag
(http://msdn.microsoft.com/msdnmag/issues/03/06/ZipCompression/default.aspx)
It's able to compress files upto size of 3 mb (xml) . Anything more than
that size it throw's an exception of type util.zip.ZipException, which i'm
catching it & these are the messages.
java.lang.ArrayIndexOutOfBoundsException: 65536
at java.io.FileInputStream.read(SByte[] buffer, Int32 offset, Int32
count)
at java.util.zip.ZipFile.readZIPEntries(String fname)
Is there a workaround for this problem. Even if i Ignore this exception,
when i try to open it back it throws the same exception
Any help will be greatly appreciated.
Thanks,
Vijai
I've developed a application using C# & its saving files in xml format.
Since the size of the file, is huge i'm using Zip Classes from J# in my C#
code, based on the
article in MSDNmag
(http://msdn.microsoft.com/msdnmag/issues/03/06/ZipCompression/default.aspx)
It's able to compress files upto size of 3 mb (xml) . Anything more than
that size it throw's an exception of type util.zip.ZipException, which i'm
catching it & these are the messages.
java.lang.ArrayIndexOutOfBoundsException: 65536
at java.io.FileInputStream.read(SByte[] buffer, Int32 offset, Int32
count)
at java.util.zip.ZipFile.readZIPEntries(String fname)
Is there a workaround for this problem. Even if i Ignore this exception,
when i try to open it back it throws the same exception
Any help will be greatly appreciated.
Thanks,
Vijai