Thursday, September 10, 2020

Re: Weird type error in lambdas with generics, with JsInterop

Well generally it is a NullPointerException in your onSuccess method in FileStorageImpl. Somewhere in your code "null/undefined.inspectivity" is called. If your final JavaScript that produces the above exception contains literally the code "null.inspectivity" instead of "someVariableThatIsNull.inspectivity" then you likely have a JsInterop issue, either wrong definition of JsInterop classes/interfaces or it is a GWT compiler bug. 

So you have to share more code (FileStorageImpl.onSuccess, class that contains inspectivity field).

-- J.


--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/80e2dd9b-f3be-41c4-a863-58a0ee30e6d5o%40googlegroups.com.

No comments:

Post a Comment