At first, I think you can't use File classes in GWT (client side). 2011/8/11 Matthias Rauer <rauer1...@googlemail.com>
> Hello, > > I am getting compile errors. Looks like caching or synchronize > problems. > [java] Caused by: javax.imageio.IIOException: Can't create cache > file! > [java] at > javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:397) > [java] at javax.imageio.ImageIO.write(ImageIO.java:1558) > [java] ... 35 more > [java] Caused by: java.io.FileNotFoundException: Z: > \imageio2197704682044189508.tmp (Der Prozess kann nicht auf die Datei > zugreifen, da sie von einem anderen Prozess verwendet wird) > [java] at java.io.RandomAccessFile.open(Native Method) > [java] at java.io.RandomAccessFile.<init>(RandomAccessFile.java: > 212) > [java] at > > javax.imageio.stream.FileCacheImageOutputStream.<init>(FileCacheImageOutputStream.java: > 73) > [java] at > > com.sun.imageio.spi.OutputStreamImageOutputStreamSpi.createOutputStreamInstance(OutputStreamImageOutputStreamSpi.java: > 50) > [java] at > javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:393) > [java] ... 36 more > > --- > > C:\...\build\build.xml:459: IOException in C:\...\build\tmp\web\WEB-INF > \config\coreReportInvoiceConfig.xml - java.io.FileNotFoundException:C: > \...build\tmp\web\WEB-INF\config\rep1473609419171320889.tmp (Der > Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen > Prozess verwendet wird) > in english: process cannot access file, another process uses this file > > --- > same exception again... but different file > > [java] Caused by: javax.imageio.IIOException: Can't create cache > file! > [java] at > javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:397) > [java] at javax.imageio.ImageIO.write(ImageIO.java:1558) > [java] ... 35 more > [java] Caused by: java.io.FileNotFoundException: Z: > \imageio5137244568657246113.tmp (Der Prozess kann nicht auf die Datei > zugreifen, da sie von einem anderen Prozess verwendet wird) > [java] at java.io.RandomAccessFile.open(Native Method) > [java] at java.io.RandomAccessFile.<init>(RandomAccessFile.java: > 212) > [java] at > > javax.imageio.stream.FileCacheImageOutputStream.<init>(FileCacheImageOutputStream.java: > 73) > [java] at > > com.sun.imageio.spi.OutputStreamImageOutputStreamSpi.createOutputStreamInstance(OutputStreamImageOutputStreamSpi.java: > 50) > [java] at > javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:393) > [java] ... 36 more > --- > > > If I compile again and again, I got different exceptions, like these: > > I already changed the extra and workDir to an RamDisk, deleted these > directories before compiling, Deleted these directories before the > build, but got same errors again. I also changed number of workers to > 1. > > Any suggestions? > > Greetings, > Matthias > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.