ArcBees / gwtquery

A jQuery clone for GWT, and much more.
MIT License
85 stars 38 forks source link

The method captureStackTrace(Throwable, Object) in the type StackTraceCreator is not applicable for the arguments (Throwable) Tracing compile failure path for type 'java.lang.JsException' #373

Open confile opened 8 years ago

confile commented 8 years ago

I tried compile 'com.googlecode.gwtquery:gwtquery:1.5-beta1' but this does not work well with GWT2.8-SNAPSHOT.

Compiling module test.widget.TestClient
   Tracing compile failure path for type 'com.google.gwt.lang.Exceptions'
      [ERROR] Errors in 'jar:file:/Users/mg/.gradle/caches/modules-2/files-2.1/com.google.gwt/gwt-dev/2.8.0-SNAPSHOT/8810b850654af3d763e025e1e9d4ffc6d1e040cb/gwt-dev-2.8.0-SNAPSHOT.jar!/com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/Exceptions.java'
         [ERROR] Line 40: The method captureStackTrace(Throwable, Object) in the type StackTraceCreator is not applicable for the arguments (Throwable)
   Tracing compile failure path for type 'java.lang.JsException'
      [ERROR] Errors in 'jar:file:/Users/mg/.gradle/caches/modules-2/files-2.1/com.google.gwt/gwt-user/2.8.0-SNAPSHOT/7e2b0e92de9751c07b8b8a0212842f2a84a933de/gwt-user-2.8.0-SNAPSHOT.jar!/com/google/gwt/emul/java/lang/JsException.java'
         [ERROR] Line 25: The constructor RuntimeException(Object) is undefined
   [ERROR] Aborting compile due to errors in some input files
:gwtCompile FAILED
olafleur commented 8 years ago

Could you try with GWT 2.8 beta 1, please?

confile commented 8 years ago

GWT 2.8 beta 1 is buggy.

olafleur commented 8 years ago

Ok, but GWTQuery 1.5-beta 1 is made to work with GWT 2.8 beta1, from what I understand.