我有一个完全用GWT编写的网站,使用App Engine,每当我更新代码库时,我都希望用户使用我编译的GWT代码的最新版本。问题是,用户经常看到如下所示的异常,直到他们刷新页面。
我是否以正确的方式处理更新:
主要问题是我无法重现它,堆栈跟踪中的代码都不是我的。
有关如何:
的任何建议堆栈追踪:
com.google.gwt.event.shared.UmbrellaException: 3 exceptions caught: (Error) : Permission denied to access property 'target'; (Error) : Permission denied to access property 'target'; (Error) : Permission denied to access property 'target' 3 exceptions caught: (Error) : Permission denied to access property 'target'; (Error) : Permission denied to access property 'target'; (Error) : Permission denied to access property 'target'
at com.google.gwt.core.client.impl.StackTraceCreator$CollectorEmulated.$fillInStackTrace(StackTraceCreator.java:174)
at java.lang.RuntimeException.RuntimeException(RuntimeException.java:508)
at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:71)
at com.google.gwt.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:26)
at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:90)
at com.google.gwt.user.client.Event$NativePreviewEvent.fire(Event.java:87)
at com.google.gwt.user.client.DOM.previewEvent(DOM.java:1328)
at Unknown.anonymous(DOMImplStandard.java:152)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java:189)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:242)
at Unknown.anonymous(Impl.java:70)
at Unknown.anonymous(DOMImplStandard.java:187)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java:189)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:242)
at Unknown.anonymous(Impl.java:70)
Caused by: com.google.gwt.core.client.JavaScriptException: (Error) : Permission denied to access property 'target' (Error) : Permission denied to access property 'target'
at com.google.gwt.core.client.impl.StackTraceCreator$CollectorEmulated.$fillInStackTrace(StackTraceCreator.java:174)
at com.google.gwt.core.client.JavaScriptException.JavaScriptException(JavaScriptException.java:508)
at com.google.gwt.lang.Exceptions.caught(Exceptions.java:29)
at com.google.gwt.user.client.ui.PopupPanel.$eventTargetsPopup(PopupPanel.java:1167)
at com.google.gwt.user.client.ui.PopupPanel.$previewNativeEvent(PopupPanel.java:1340)
at com.google.gwt.user.client.ui.PopupPanel$3.onPreviewNativeEvent(PopupPanel.java:1435)
at com.google.gwt.user.client.Event$NativePreviewEvent.dispatch(Event.java:194)
at com.google.web.bindery.event.shared.SimpleEventBus.$doFire(SimpleEventBus.java:194)
at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:127)
... 10 more