[ 
https://issues.apache.org/jira/browse/TUSCANY-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Kanonirov closed TUSCANY-2253.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: Java-SCA-1.2

This issue is reproduced exactly in Java-SCA-1.1. Version 1.2 seems to be free 
from it.

I am closing the issue. Thanks!

> TuscanyServletFilter cannot be initialized when no display-name is specified 
> in web.xml
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2253
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2253
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Web App Integration
>    Affects Versions: Java-SCA-1.1
>            Reporter: Ilya Kanonirov
>             Fix For: Java-SCA-1.2
>
>
> 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)
> ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to