Hmmm....I use Fireworks to create the PNG but I use the same software to create the GIFs too. Could be the format of the file. I do have other PNGs that work correctly but weren't created using Fireworks. Hopefully someone out there has the answer. Thanks!
On Feb 4, 3:52 am, olivier FRESSE <[email protected]> wrote: > No issue on my side either. > > Maybe your PNG file is corrupted. > The exception shows an End Of File... > This can happen with a ftp transfert in text mode for example. > Can you open the picture on Linux without issues or warning (with your > browser, gimp, ... ) > If ImageMagick is installed, you can use "identify myimg.png" > > Regards. > O. > > 2009/2/4 Jeremiah Elliott <[email protected]> > > > > > > > I use png files all the time, and build under linux with no issues. > > Any chance this is a case issue? > > > On 2/3/09, Salman Hemani <[email protected]> wrote: > > > > Hello everyone, > > > > I am using 1.5.3 and although everything works fine on Windows, our > > > compile fails on Linux due to the exception pasted below. I found the > > > following post that discusses the same error although the tmp > > > directory is not our issue (unless I am missing something here). > > > > Here is the related post: > > >http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > > > Does anyone know why using PNG fails the compilation on Linux? Is this > > > a known issue? Our temporary work around is to use GIF instead of > > > PNG. > > > > Compilation trace: > > > > [echo] Compiling com.mycompany.myproject.MyProject > > > [java] Compiling module com.mycompany.myproject.MyProject > > > [java] java.io.EOFException > > > [java] at javax.imageio.stream.ImageInputStreamImpl.readFully > > > (ImageInputStreamImpl.java:330) > > > [java] at java.io.DataInputStream.readUTF > > > (DataInputStream.java:565) > > > [java] at javax.imageio.stream.ImageInputStreamImpl.readUTF > > > (ImageInputStreamImpl.java:309) > > > [java] at > > > com.sun.imageio.plugins.png.PNGImageReader.parse_iTXt_chunk > > > (PNGImageReader.java:443) > > > [java] at > > > com.sun.imageio.plugins.png.PNGImageReader.readMetadata > > > (PNGImageReader.java:647) > > > [java] at com.sun.imageio.plugins.png.PNGImageReader.readImage > > > (PNGImageReader.java:1309) > > > [java] at com.sun.imageio.plugins.png.PNGImageReader.read > > > (PNGImageReader.java:1579) > > > [java] at javax.imageio.ImageIO.read(ImageIO.java:1400) > > > [java] at javax.imageio.ImageIO.read(ImageIO.java:1364) > > > [java] at > > > com.google.gwt.user.rebind.ui.ImageBundleBuilder.addImage > > > (ImageBundleBuilder.java:391) > > > [java] at > > > com.google.gwt.user.rebind.ui.ImageBundleBuilder.assimilate > > > (ImageBundleBuilder.java:303) > > > [java] at > > > com.google.gwt.user.rebind.ui.ImageBundleGenerator.generateImplClass > > > (ImageBundleGenerator.java:301) > > > [java] at > > > com.google.gwt.user.rebind.ui.ImageBundleGenerator.generate > > > (ImageBundleGenerator.java:159) > > > [java] at com.google.gwt.dev.cfg.RuleGenerateWith.realize > > > (RuleGenerateWith.java:51) > > > [java] at com.google.gwt.dev.shell.StandardRebindOracle > > > $Rebinder.tryRebind(StandardRebindOracle.java:116) > > > [java] at com.google.gwt.dev.shell.StandardRebindOracle > > > $Rebinder.rebind(StandardRebindOracle.java:61) > > > [java] at com.google.gwt.dev.shell.StandardRebindOracle.rebind > > > (StandardRebindOracle.java:166) > > > [java] at com.google.gwt.dev.GWTCompiler > > > $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers > > > (GWTCompiler.java:195) > > > [java] at > > > com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds > > > (WebModeCompilerFrontEnd.java:128) > > > [java] at com.google.gwt.dev.jdt.AbstractCompiler > > > $CompilerImpl.process(AbstractCompiler.java:150) > > > [java] at org.eclipse.jdt.internal.compiler.Compiler.compile > > > (Compiler.java:392) > > > [java] at com.google.gwt.dev.jdt.AbstractCompiler > > > $CompilerImpl.compile(AbstractCompiler.java:84) > > > [java] at com.google.gwt.dev.jdt.AbstractCompiler > > > $CompilerImpl.compile(AbstractCompiler.java:180) > > > [java] at com.google.gwt.dev.jdt.AbstractCompiler > > > $CompilerImpl.access$400(AbstractCompiler.java:70) > > > [java] at com.google.gwt.dev.jdt.AbstractCompiler.compile > > > (AbstractCompiler.java:493) > > > [java] at > > > com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations > > > (WebModeCompilerFrontEnd.java:73) > > > [java] at > > > com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.<init> > > > (JavaToJavaScriptCompiler.java:277) > > > [java] at com.google.gwt.dev.GWTCompiler.distill > > > (GWTCompiler.java:353) > > > [java] at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java: > > > 564) > > > [java] at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java: > > > 554) > > > [java] at com.google.gwt.dev.GWTCompiler.main > > > (GWTCompiler.java:214) > > > [java] Scanning for additional dependencies: file:/home/nightly/ > > > coreIII/main/src/webui/MyProject/src/com/mycompany/myproject/client/ > > > ClientManager.java > > > [java] Computing all possible rebind results for > > > 'com.mycompnay.myproject.client.images.MyProjectImageBundle' > > > [java] Rebinding > > > com.mycompany.myproject.client.images.MyProjectImageBundle > > > [java] Invoking <generate-with > > > class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/> > > > [java] Adding image 'com/mycompany/myproject/client/ > > > images/rte/rte_blank.png' > > > [java] [ERROR] Unable to read image resource > > > [java] [ERROR] Errors in 'file:/home/nightly/coreIII/main/src/ > > > webui/MyProject/src/com/mycompany/myproject/client/ClientManager.java' > > > [java] [ERROR] Line 127: Failed to resolve > > > 'com.mycompany.myproject.client.images.MyProjectImageBundle' via > > > deferred binding > > > [java] [ERROR] Cannot proceed due to previous errors > > > [java] [ERROR] Build failed > > > -- > > Sent from my mobile device- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
