Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3083

NPE at VisibilityChangeEvent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 8.0.2
    • 6.5.6, 8.0.1
    • Browser Issue
    • Security Level: Jimmy
    • None
    • Windows 10 / IE Edge
      Windows 7
      IE 11.0.24, 11.0.26

    • ZK 8.0.2 S1

      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)

            DevChu DevChu
            ginofrancovelasco ginofrancovelasco
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h