Hi,
I get a ClassCastException under Safari, Safari on IOS and Chrome on IOS
but not in Chrome. Is there any way to get around this?
I am using GWT HEAD and accesses indexeddb via elemental2-indexeddb-1.0.0
IDBFactory idbf = IndexedDbGlobal.*indexedDB*;
IDBOpenDBRequest idbr = idbf.open(*INDEXEDDB_NAME*);
idbr.onsuccess= new OnsuccessFn() {
*@Override*
public Object.onInvoke(elemental2.dom.Event p0) {
IDBDatabase idb = (IDBDatabase) idbr.result;
return idb;
}
(-:-) 2019-10-05 22:09:12,968 [ERROR] Casting err:
java.lang.ClassCastException
at Unknown.Throwable_1(Throwable.java:69)
at Unknown.Exception_1(Exception.java:29)
at Unknown.RuntimeException_1(RuntimeException.java:29)
at Unknown.ClassCastException_0(ClassCastException.java:27)
at Unknown.checkCriticalType(InternalPreconditions.java:154)
at Unknown.checkType_0(InternalPreconditions.java:138)
at Unknown.checkType(InternalPreconditions.java:133)
at Unknown.castToNative(Cast.java:155)
at Unknown.onInvoke(MyApp.java:1319)
at Unknown.anonymous(Runtime.java:166)
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-web-toolkit/90255b2e-8c50-4112-934f-5363a59c0f60%40googlegroups.com.