gwtquery icon indicating copy to clipboard operation
gwtquery copied to clipboard

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'

Open confile opened this issue 9 years ago • 3 comments

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

confile avatar Feb 04 '16 18:02 confile

Could you try with GWT 2.8 beta 1, please?

olafleur avatar Feb 04 '16 20:02 olafleur

GWT 2.8 beta 1 is buggy.

confile avatar Feb 05 '16 07:02 confile

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

olafleur avatar Feb 05 '16 13:02 olafleur