spring - java.lang.NullPointerException at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChainContents -
i have war application (spring + jsf1.2/richfaces + hibernate) running on was8.5 server, when try access http://localhost:9080/name_app/login.xhtml, java.lang.nullpointerexception
coming server internal source, below log trace of error :
[28/01/16 09:45:06:325 wet] ffdc exception:java.lang.nullpointerexception sourceid:com.ibm.ws.webcontainer.filter.webappfiltermanager.invokefilters -re probeid:1123 reporter:com.ibm.ws.webcontainer.filter.webappfiltermanagerimpl@9afb2765 java.lang.nullpointerexception @ com.ibm.ws.webcontainer.filter.webappfiltermanager.getfilterchaincontents(webappfiltermanager.java:775) @ com.ibm.ws.webcontainer.filter.webappfiltermanager.getfilterchain(webappfiltermanager.java:379) @ com.ibm.ws.webcontainer.filter.webappfiltermanager.dofilter(webappfiltermanager.java:931) @ com.ibm.ws.webcontainer.filter.webappfiltermanager.invokefilters(webappfiltermanager.java:1107) @ com.ibm.ws.webcontainer.webapp.webapp.handlerequest(webapp.java:3926) @ com.ibm.ws.webcontainer.webapp.webgroup.handlerequest(webgroup.java:304) @ com.ibm.ws.webcontainer.webcontainer.handlerequest(webcontainer.java:1007) @ com.ibm.ws.webcontainer.wswebcontainer.handlerequest(wswebcontainer.java:1817) @ com.ibm.ws.webcontainer.channel.wcchannellink.ready(wcchannellink.java:200) @ com.ibm.ws.http.channel.inbound.impl.httpinboundlink.handlediscrimination(httpinboundlink.java:463) @ com.ibm.ws.http.channel.inbound.impl.httpinboundlink.handlenewrequest(httpinboundlink.java:530) @ com.ibm.ws.http.channel.inbound.impl.httpinboundlink.processrequest(httpinboundlink.java:316) @ com.ibm.ws.http.channel.inbound.impl.httpinboundlink.ready(httpinboundlink.java:287) @ com.ibm.ws.tcp.channel.impl.newconnectioninitialreadcallback.sendtodiscriminators(newconnectioninitialreadcallback.java:214) @ com.ibm.ws.tcp.channel.impl.newconnectioninitialreadcallback.complete(newconnectioninitialreadcallback.java:113) @ com.ibm.ws.tcp.channel.impl.aioreadcompletionlistener.futurecompleted(aioreadcompletionlistener.java:175) @ com.ibm.io.async.abstractasyncfuture.invokecallback(abstractasyncfuture.java:217) @ com.ibm.io.async.asyncchannelfuture.firecompletionactions(asyncchannelfuture.java:161) @ com.ibm.io.async.asyncfuture.completed(asyncfuture.java:138) @ com.ibm.io.async.resulthandler.complete(resulthandler.java:204) @ com.ibm.io.async.resulthandler.runeventprocessingloop(resulthandler.java:775) @ com.ibm.io.async.resulthandler$2.run(resulthandler.java:905) @ com.ibm.ws.util.threadpool$worker.run(threadpool.java:1881)
web.xml :
<?xml version="1.0" encoding="utf-8"?> <web-app id="auth_super_admin_webapp" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> <description>antij project web.xml</description> <display-name>antij -authforte-user-admin-web</display-name> <context-param> <param-name>org.richfaces.skin</param-name> <param-value>classic</param-value> </context-param> <!-- added , doesn't affect--> <context-param> <param-name>javax.faces.project_stage</param-name> <param-value>development</param-value> </context-param> <context-param> <param-name>com.sun.faces.enableviewstateidrendering</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>com.sun.faces.verifyobjects</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>contextconfiglocation</param-name> <param-value>web-inf/web-context.xml</param-value> </context-param> <context-param> <param-name>facelets.refresh_period</param-name> <param-value>1</param-value> </context-param> <context-param> <param-name>facelets.skip_comments</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>javax.faces.default_suffix</param-name> <param-value>.xhtml</param-value> </context-param> <!-- <context-param> --> <!-- <param-name>javax.faces.state_saving_method</param-name> --> <!-- <param-value>server</param-value> --> <!-- </context-param> --> <context-param> <description> state saving method: 'client' or 'server' (=default). see jsf specification 2.5.2</description> <param-name>javax.faces.state_saving_method</param-name> <param-value>client</param-value> </context-param> <context-param> <param-name>javax.servlet.jsp.jstl.fmt.localizationcontext</param-name> <param-value>resources.application</param-value> </context-param> <context-param> <param-name>facelets.libraries</param-name> <param-value>/web-inf/components/antij.taglib.xml</param-value> </context-param> <!-- --> <filter> <filter-name>extensionsfilter</filter-name> <filter-class>org.apache.myfaces.webapp.filter.extensionsfilter</filter-class> <init-param> <description>set size limit uploaded files. format: 10 - 10 bytes 10k - 10 kb 10m - 10 mb 1g - 1 gb </description> <param-name>uploadmaxfilesize</param-name> <param-value>100m</param-value> </init-param> <init-param> <description>set threshold size - files below limit stored in memory, files above limit stored on disk. format: 10 - 10 bytes 10k - 10 kb 10m - 10 mb 1g - 1 gb </description> <param-name>uploadthresholdsize</param-name> <param-value>100k</param-value> </init-param> </filter> <filter> <display-name>richfaces filter</display-name> <filter-name>richfaces</filter-name> <filter-class>org.ajax4jsf.filter</filter-class> </filter> <filter> <filter-name>springsecurityfilterchain</filter-name> <filter-class>org.springframework.web.filter.delegatingfilterproxy</filter-class> </filter> <filter-mapping> <filter-name>richfaces</filter-name> <servlet-name>faces servlet</servlet-name> <dispatcher>request</dispatcher> <dispatcher>forward</dispatcher> <dispatcher>include</dispatcher> </filter-mapping> <filter-mapping> <filter-name>extensionsfilter</filter-name> <servlet-name>*.xhtml</servlet-name> </filter-mapping> <filter-mapping> <filter-name>springsecurityfilterchain</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <!-- listener load spring beans --> <listener> <listener-class>org.springframework.web.context.contextloaderlistener</listener-class> </listener> <listener> <listener-class>com.sun.faces.config.configurelistener</listener-class> </listener> <!-- faces servlet --> <servlet> <servlet-name>faces servlet</servlet-name> <servlet-class>javax.faces.webapp.facesservlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <!-- faces servlet mapping --> <servlet-mapping> <servlet-name>faces servlet</servlet-name> <url-pattern>*.xhtml</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>/modules/index.xhtml</welcome-file> </welcome-file-list> <!-- <resource-ref> <description>my data source.</description> <res-ref-name>acs_3ds</res-ref-name> <res-type>javax.sql.datasource</res-type> <res-auth>container</res-auth> </resource-ref>--> <!-- resource ref websphere --> <resource-ref> <res-ref-name>jdbc/acs_3ds_websphere_db</res-ref-name> <res-type>javax.sql.datasource</res-type> <res-auth>container</res-auth> <res-sharing-scope>shareable</res-sharing-scope> </resource-ref> <persistence-unit-ref> <persistence-unit-ref-name>persistence/authentification-forte-user-admin-entitymanager-pu</persistence-unit-ref-name> <persistence-unit-name>authentification-forte-user-admin-entitymanager-pu</persistence-unit-name> </persistence-unit-ref> </web-app>
according log trace didn't originate in own code, think it's misconfiguration in web.xml , not sure.
how caused , how can solve it?
Comments
Post a Comment