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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.0.2
    • Fix Version/s: 6.5.2
    • Component/s: Container, ZK Update Engine
    • Security Level: Jimmy
    • Labels:
      None
    • Environment:

      Tomcat

      Description

      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

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: