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

NPE on session timeout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • 8.0.1
    • General
    • None
      • OS: Windows Server 2008 SP2
      • Java: 1.8.20
      • ZK: 8.0 - 8.0.1.1 CE
      • ZK Spring: 3.2.0
      • Spring: 3.2.3
      • Spring Security 3.1.4
      • Eclipse 4.4.2
      • Tomcat 6.0.32

      Hello,
      I'm using a combination of ZK, Spring, Spring Security to ensure that the user is logged in correctly into the web app. After switching from ZK 7 to ZK 8 I got a NPE when the session timeout (web.xml) is reached. Up to ZK 7 it worked.

      The index page (secure/index.zul) contains a timer that is triggered every minute. When I remove the timer the problem is gone.

      When you start the web app you see a login button. Please press it and you are redirected to the index page. Now wait 3 minutes for the timeout and the NPE appears.

      I have reduced the Eclipse project to the minimum of required classes, pages, jars. The archive is split into 3 files because it exceeds your limit.

      The problem is a blocker because with this problem we cannot switch from ZK 7 to 8.

      Thanks in advance
      Torsten

        1. ZK8TimeoutProblem.7z.001
          10.00 MB
          tlupi
        2. ZK8TimeoutProblem.7z.002
          10.00 MB
          tlupi
        3. ZK8TimeoutProblem.7z.003
          8.79 MB
          tlupi

            wenninghsu wenninghsu
            tlupi tlupi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h