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
To view this discussion on the web visit

No comments:

Post a Comment