-
Bug
-
Resolution: Fixed
-
Major
-
6.5.6, 8.0.1
-
Security Level: Jimmy
-
None
-
Windows 10 / IE Edge
Windows 7
IE 11.0.24, 11.0.26
-
ZK 8.0.2 S1
-
None
A "NullPointerException" is thrown with VisibilityChangeEvent which is added as an event listener to the window. The behaviour happened when a browser is having multiple tabs and then after coming back to the application, the error is thrown.
The problem occurs only with the browsers, Microsoft Edge and Opera.
SEVERE: >>java.lang.NullPointerException
>> at org.zkoss.zk.ui.event.VisibilityChangeEvent.getVisibilityChangeEvent(VisibilityChangeEvent.java:61)
>> at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:713)
>> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1194)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:583)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:481)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:489)