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

Use asynchronous event queue, HttpServletRequest.getContextPath() return null with tomcat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.5.2
    • 6.0.2
    • Container, ZK Update Engine
    • Security Level: Jimmy
    • None
    • Tomcat

      1. ZK 6.5.1.1 works fine with tomcat;
      2. ZK 6.0.2 ~ ZK 6.5.0 doesn't work with tomcat, but if run with "jetty", it works fine.

      the null pointer exception is cause by
      String ctxpath = ((HttpServletRequest)request).getContextPath();
      in ClassWebResource.java

        1. FireEventController.java
          1 kB
        2. ListenEventController.java
          2 kB
        3. MyButtonBar.java
          1 kB
        4. fire-event.zul
          0.3 kB
        5. listen-event.zul
          0.3 kB

            Jenkins Jenkins
            samchuang samchuang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: