我目前正在使用展示中的一些技术开发 mgwt 应用程序。无论如何,在入口点调用 MGWTPlaceHistoryHandler.handleCurrentHistory 方法(第一个 View 的初始化)时,我收到此错误:
com.google.web.bindery.event.shared.UmbrellaException:捕获异常:(字符串) @com.google.gwt.user.client.impl.DOMImplStandard::sinkBitlessEventImpl(Lcom/google/gwt/user/client/Element;Ljava/lang/String;)([JavaScript object(20), string: 'webkitAnimationEnd']): 尝试接收未知事件类型 webkitAnimationEnd
我无法弄清楚是什么导致了这种类型的错误。异常消息有点模糊 - 我没有使用任何影响目标 DOM 和 JS 代码的自定义 native 方法。
有什么想法吗?我对此真的一无所知:(
PS:出现此问题的部分代码:
AppPlaceHistoryMapper historyMapper= GWT.create(AppPlaceHistoryMapper.class);
AppHistoryObserver historyObserver= new AppHistoryObserver();
MGWTPlaceHistoryHandler historyHandler= new MGWTPlaceHistoryHandler(historyMapper,historyObserver);
historyHandler.register(clientFactory.getPlaceController(),clientFactory.getEventBus(),new MyDefaultPlace());
historyHandler.handleCurrentHistory(); //Exception thrown here
感谢任何帮助或提示,我在这个问题上陷入了一个小时。提前致谢。
最佳答案
[已解决] - 永远、永远不要在旧版本的 GWT [2.5.1] 上使用最新的 MGWT ;)
关于java - MGWT [错误] 尝试接收未知事件类型 webkitAnimationEnd,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26055384/