Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2253

TuscanyServletFilter cannot be initialized when no display-name is specified in web.xml

    XMLWordPrintableJSON

Details

    Description

      When the display-name element is not specified in web.xml, TuscanyServletFilter fails to initialize with the following exception:
      16:27:52,393 ERROR [[/]] Exception starting filter tuscany
      java.lang.NullPointerException
      at org.apache.tuscany.sca.host.webapp.WebAppServletHost.init(WebAppServletHost.java:209)
      at org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.init(TuscanyServletFilter.java:51)
      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:225)
      at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)
      at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:79)
      at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3540)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4110)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      ...

      Attachments

        Activity

          People

            Unassigned Unassigned
            kio Ilya Kanonirov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: