Hello all. I use GWT 2.1.1.
Suddenly, my project stopped to compile, the output from compiler is: [INFO] Compiling 5 permutations [INFO] Process output [INFO] [ERROR] Exception in thread "main" java.lang.ClassCastException: cannot assign instance of java.util.Collections$SingletonList to field com.google.gwt.dev.jjs.ast.JNode.info of type com.google.gwt.dev.jjs.SourceInfo in instance of com.google.gwt.dev.jjs.ast.JBlock [INFO] [ERROR] at java.io.ObjectStreamClass $FieldReflector.setObjFieldValues(ObjectStreamClass.java:2004) [INFO] [ERROR] at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java: 1184) [INFO] [ERROR] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java: 1914) [INFO] [ERROR] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832) [INFO] [ERROR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java: 1719) [INFO] [ERROR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) [INFO] [ERROR] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java: 1908) [INFO] [ERROR] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832) [INFO] [ERROR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java: 1719) [INFO] [ERROR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) [INFO] [ERROR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) [INFO] [ERROR] at com.google.gwt.dev.jjs.ast.JMethod.readBody(JMethod.java:340) [INFO] [ERROR] at com.google.gwt.dev.jjs.ast.JDeclaredType.readMethodBodies(JDeclaredType.java: 324) [INFO] [ERROR] at com.google.gwt.dev.jjs.ast.JProgram.readObject(JProgram.java:1324) [INFO] [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) [INFO] [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) [INFO] [ERROR] at java.lang.reflect.Method.invoke(Method.java:585) [INFO] [ERROR] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946) [INFO] [ERROR] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809) [INFO] [ERROR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java: 1719) [INFO] [ERROR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) [INFO] [ERROR] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java: 1908) [INFO] [ERROR] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832) [INFO] [ERROR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java: 1719) [INFO] [ERROR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) [INFO] [ERROR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) [INFO] [ERROR] at com.google.gwt.dev.util.Util.readStreamAsObject(Util.java:769) [INFO] [ERROR] at com.google.gwt.dev.util.DiskCache.readObject(DiskCache.java:108) [INFO] [ERROR] at com.google.gwt.dev.jjs.UnifiedAst.prepare(UnifiedAst.java:169) [INFO] [ERROR] at com.google.gwt.dev.CompilePermsServer.run(CompilePermsServer.java:263) [INFO] [ERROR] at com.google.gwt.dev.CompilePermsServer.main(CompilePermsServer.java: 237) I've tried to do clean and full rebuild, but it didn't help. How can I fix this error? Best Regards, Oleg. -- 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.