Description of problem: A recent change in either gcc or eclipse broke rssowl. We get the following stack trace now... Exception in thread "main" org.eclipse.swt.SWTException: i/o error (java.util.zip.ZipException: Deflated stream ends early.) at org.eclipse.swt.SWT.error(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so) at org.eclipse.swt.SWT.error(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so) at org.eclipse.swt.internal.image.GIFFileFormat.readID(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so) at org.eclipse.swt.internal.image.GIFFileFormat.getExtensions(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so) at org.eclipse.swt.internal.image.GIFFileFormat.loadFromByteStream(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so) at org.eclipse.swt.internal.image.FileFormat.loadFromStream(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so) at org.eclipse.swt.internal.image.FileFormat.load(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so) at org.eclipse.swt.graphics.ImageLoader.load(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so) at org.eclipse.swt.graphics.ImageDataLoader.load(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so) at org.eclipse.swt.graphics.ImageData.<init>(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so) at org.eclipse.swt.graphics.Image.<init>(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so) at net.sourceforge.rssowl.util.shop.PaintShop.loadImage(rssowl.jar.so) at net.sourceforge.rssowl.util.shop.PaintShop.loadImage(rssowl.jar.so) at net.sourceforge.rssowl.util.shop.PaintShop.initIcons(rssowl.jar.so) at net.sourceforge.rssowl.controller.GUI.startUp(rssowl.jar.so) at net.sourceforge.rssowl.controller.GUI.<init>(rssowl.jar.so) at net.sourceforge.rssowl.controller.RSSOwlLoader.<init>(rssowl.jar.so) at net.sourceforge.rssowl.controller.RSSOwlLoader.main(rssowl.jar.so) Caused by: java.util.zip.ZipException: Deflated stream ends early. at java.util.zip.InflaterInputStream.fill(libgcj.so.7) at java.util.zip.InflaterInputStream.read(libgcj.so.7) at java.util.zip.InflaterInputStream.read(libgcj.so.7) at java.io.FilterInputStream.read(libgcj.so.7) at java.util.jar.JarFile$EntryInputStream.read(libgcj.so.7) at org.eclipse.swt.internal.image.LEDataInputStream.read(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so) ...16 more Version-Release number of selected component (if applicable): libgcj-4.1.1-1.fc5 libswt3-gtk2-3.1.2-1jpp_15fc rssowl-1.2.1-2.fc5 How reproducible: Always Steps to Reproduce: 1. start rssowl 2. 3. Actual results: Expected results: Additional info:
mjw suggests that it's related to GCC bug 27271. I've added that as an external bugzilla reference for now.
I just tested rssowl with the recently updated GCJ (gcc-java-4.1.1-1.fc5) and the previous version of Eclipse (eclipse-rcp-3.1.2-1jpp_13fc). I get the same error so I think it's a GCJ problem.
I'm looking at this.
I checked in a fix to the gcc svn 4.1 branch. It is revision 115377. Jakub, I CCd you on this since it would be nice to have this patch put in an FC5 update.
Jakub: will libgcj ever be updated in FC5? If not, I should look into removing rssowl from FC5 extras.
tromey suggested the obvious work around (use an uncompressed jar file!), and RSSOwl in FC5 Extras is working again.