>
> Are you using a third-party library that would make use of this class? 
> (Google GIN used to use it for example, and has not yet made a released 
> with the fix: https://code.google.com/p/google-gin/source/detail?r=278) 
>

Yes, the project uses GIN. Further down the stack trace there's this (which 
I missed): 

Caused by: java.lang.NoClassDefFoundError: 
com/google/gwt/dev/util/Preconditions
at 
com.google.gwt.inject.rebind.reflect.MethodLiteral.get(MethodLiteral.java:59)
at 
com.google.gwt.inject.rebind.util.MemberCollector.getTypeMethods(MemberCollector.java:311)
at 
com.google.gwt.inject.rebind.util.MemberCollector.accumulateMembers(MemberCollector.java:269)

Just checked the diffs for the fix you linked to and 
confirmed<https://code.google.com/p/google-gin/source/diff?spec=svn278&r=278&format=side&path=/trunk/src/com/google/gwt/inject/rebind/reflect/MethodLiteral.java>that
 the old MethodLiteral indeed uses the Preconditions.java now absent 
from the c.g.g.dev.util package. This implies that projects using GIN won't 
be able to migrate to GWT 2.6.0 until a new GIN release comes out. Guessing 
this is going to be a problem for a lot of folks.


On Wednesday, November 13, 2013 12:18:57 PM UTC-5, Thomas Broyer wrote:
>
> Are you using a third-party library that would make use of this class? 
> (Google GIN used to use it for example, and has not yet made a released 
> with the fix: https://code.google.com/p/google-gin/source/detail?r=278) 
>

> On Wednesday, November 13, 2013 5:47:18 PM UTC+1, Boris Brudnoy wrote:
>>
>> I'm getting this compiler error when building a GWT project using the 
>> recently downloaded gwt-2.6.0-rc1:
>>
>> [ERROR] An internal compiler exception occurred
>> com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during 
>> visit.
>> at 
>> com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:110)
>> at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276)
>> at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
>> ...
>> at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
>> at 
>> com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
>> at com.google.gwt.dev.Compiler.main(Compiler.java:104)
>>
>> Caused by: java.lang.ClassNotFoundException: 
>> com.google.gwt.dev.util.Preconditions
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>> ... 60 more
>>
>> When I unpacked the gwt-dev.jar there really wasn't a Preconditions class 
>> in c.g.g.dev.util, nor is it in the source tree of either the 2.6.0-rc1 tag 
>> or the master branch. Why does the compiler want it?
>>
>> Note: the compilation was launched via Google Plugin for Eclipse. Perhaps 
>> the plugin is not getting some launch params right?
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to