java - AbstractRememberMeServices throwing Nullpointer Exception -


i using spring-security-web-3.2.5 jar , java 8 , spring-web-mvc 4.1.7 in hybris 6 platform.

i getting nullpointer exception in applicationfilterproxy , in class abstractremembermeservices.

when debug class observed logger object null , when code trying perform following operation , throws nullpointer exception

this.logger.debug("interactive login attempt unsuccessful."); 

exception stacktrace :

   severe: servlet.service() servlet [dispatcherservlet] in context path [] threw exception [error while processing internal filterchain. exception occurred @ chain position: 9 of 16. current filter: 'filterchainproxy[filter chains: [[ ant [pattern='/_ui/**'], []], [ ant [pattern='/checkout/**'], [org.springframework.security.web.access.channel.channelprocessingfilter@f6a714c, org.springframework.security.web.context.securitycontextpersistencefilter@3aa9c43e, org.springframework.security.web.context.request.async.webasyncmanagerintegrationfilter@148b51b7, org.springframework.security.web.authentication.logout.logoutfilter@7dc977d4, org.springframework.security.web.authentication.usernamepasswordauthenticationfilter@21759930, org.springframework.security.web.savedrequest.requestcacheawarefilter@55893114, org.springframework.security.web.servletapi.securitycontextholderawarerequestfilter@1bc1c4fb, org.springframework.security.web.authentication.anonymousauthenticationfilter@2d007780, org.springframework.security.web.access.exceptiontranslationfilter@20b1d709, org.springframework.security.web.access.intercept.filtersecurityinterceptor@3c2c439a]], [ com.example.storefront.security.excludeurlrequestmatcher@3a6c99ce, [org.springframework.security.web.access.channel.channelprocessingfilter@31cb980a, org.springframework.security.web.context.securitycontextpersistencefilter@3ef9fc3c, org.springframework.security.web.context.request.async.webasyncmanagerintegrationfilter@28aef10c, org.springframework.security.web.authentication.logout.logoutfilter@7652af3e, org.springframework.security.web.authentication.usernamepasswordauthenticationfilter@1bb47236, org.springframework.security.web.savedrequest.requestcacheawarefilter@6add7560, org.springframework.security.web.servletapi.securitycontextholderawarerequestfilter@3524cfa6, org.springframework.security.web.authentication.rememberme.remembermeauthenticationfilter@566cad63, org.springframework.security.web.authentication.anonymousauthenticationfilter@6ef1505a, org.springframework.security.web.access.exceptiontranslationfilter@6f065e91, org.springframework.security.web.access.intercept.filtersecurityinterceptor@7ccce528]]]]'!; nested exception java.lang.nullpointerexception] root cause info   | jvm 1    | main    | 2016/09/22 15:23:01.365 | java.lang.nullpointerexception info   | jvm 1    | main    | 2016/09/22 15:23:01.366 |     @ org.springframework.security.web.authentication.rememberme.abstractremembermeservices.loginfail(abstractremembermeservices.java:239) info   | jvm 1    | main    | 2016/09/22 15:23:01.369 |     @ org.springframework.security.web.authentication.abstractauthenticationprocessingfilter.unsuccessfulauthentication(abstractauthenticationprocessingfilter.java:353) info   | jvm 1    | main    | 2016/09/22 15:23:01.369 |     @ org.springframework.security.web.authentication.abstractauthenticationprocessingfilter.dofilter(abstractauthenticationprocessingfilter.java:225) info   | jvm 1    | main    | 2016/09/22 15:23:01.370 |     @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) info   | jvm 1    | main    | 2016/09/22 15:23:01.371 |     @ org.springframework.security.web.authentication.logout.logoutfilter.dofilter(logoutfilter.java:110) info   | jvm 1    | main    | 2016/09/22 15:23:01.372 |     @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) info   | jvm 1    | main    | 2016/09/22 15:23:01.378 |     @ org.springframework.security.web.context.request.async.webasyncmanagerintegrationfilter.dofilterinternal(webasyncmanagerintegrationfilter.java:50) info   | jvm 1    | main    | 2016/09/22 15:23:01.379 |     @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) info   | jvm 1    | main    | 2016/09/22 15:23:01.380 |     @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) info   | jvm 1    | main    | 2016/09/22 15:23:01.383 |     @ org.springframework.security.web.context.securitycontextpersistencefilter.dofilter(securitycontextpersistencefilter.java:87) info   | jvm 1    | main    | 2016/09/22 15:23:01.391 |     @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) info   | jvm 1    | main    | 2016/09/22 15:23:01.392 |     @ org.springframework.security.web.access.channel.channelprocessingfilter.dofilter(channelprocessingfilter.java:144) info   | jvm 1    | main    | 2016/09/22 15:23:01.393 |     @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) info   | jvm 1    | main    | 2016/09/22 15:23:01.393 |     @ org.springframework.security.web.filterchainproxy.dofilterinternal(filterchainproxy.java:192) info   | jvm 1    | main    | 2016/09/22 15:23:01.393 |     @ org.springframework.security.web.filterchainproxy.dofilter(filterchainproxy.java:160) info   | jvm 1    | main    | 2016/09/22 15:23:01.393 |     @ de.hybris.platform.servicelayer.web.abstractplatformfilterchain$internalfilterchain.dofilter(abstractplatformfilterchain.java:224) info   | jvm 1    | main    | 2016/09/22 15:23:01.394 |     @ com.example.storefront.filters.siteminderfilter.dofilter(siteminderfilter.java:119) info   | jvm 1    | main    | 2016/09/22 15:23:01.394 |     @ de.hybris.platform.servicelayer.web.abstractplatformfilterchain$internalfilterchain.dofilter(abstractplatformfilterchain.java:224) info   | jvm 1    | main    | 2016/09/22 15:23:01.395 |     @ com.example.storefront.filters.urlencoderfilter.dofilterinternal(urlencoderfilter.java:87) info   | jvm 1    | main    | 2016/09/22 15:23:01.395 |     @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) info   | jvm 1    | main    | 2016/09/22 15:23:01.396 |     @ de.hybris.platform.servicelayer.web.abstractplatformfilterchain$internalfilterchain.dofilter(abstractplatformfilterchain.java:224) info   | jvm 1    | main    | 2016/09/22 15:23:01.396 |     @ com.example.storefront.filters.storefrontfilter.dofilter(storefrontfilter.java:74) info   | jvm 1    | main    | 2016/09/22 15:23:01.396 |     @ de.hybris.platform.servicelayer.web.abstractplatformfilterchain$internalfilterchain.dofilter(abstractplatformfilterchain.java:224) info   | jvm 1    | main    | 2016/09/22 15:23:01.397 |     @ com.example.storefront.filters.cms.cmssitefilter.dofilterinternal(cmssitefilter.java:100) info   | jvm 1    | main    | 2016/09/22 15:23:01.397 |     @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) info   | jvm 1    | main    | 2016/09/22 15:23:01.398 |     @ de.hybris.platform.servicelayer.web.abstractplatformfilterchain$internalfilterchain.dofilter(abstractplatformfilterchain.java:224) info   | jvm 1    | main    | 2016/09/22 15:23:01.399 |     @ com.example.storefront.filters.requestloggerfilter.dofilter(requestloggerfilter.java:89) info   | jvm 1    | main    | 2016/09/22 15:23:01.399 |     @ de.hybris.platform.servicelayer.web.abstractplatformfilterchain$internalfilterchain.dofilter(abstractplatformfilterchain.java:224) info   | jvm 1    | main    | 2016/09/22 15:23:01.399 |     @ com.example.storefront.filters.acceleratoraddonfilter.dofilter(acceleratoraddonfilter.java:92) info   | jvm 1    | main    | 2016/09/22 15:23:01.399 |     @ de.hybris.platform.servicelayer.web.abstractplatformfilterchain$internalfilterchain.dofilter(abstractplatformfilterchain.java:224) info   | jvm 1    | main    | 2016/09/22 15:23:01.406 |     @ de.hybris.platform.servicelayer.web.sessionfilter.dofilter(sessionfilter.java:71) info   | jvm 1    | main    | 2016/09/22 15:23:01.407 |     @ de.hybris.platform.servicelayer.web.abstractplatformfilterchain$internalfilterchain.dofilter(abstractplatformfilterchain.java:224) info   | jvm 1    | main    | 2016/09/22 15:23:01.408 |     @ de.hybris.platform.servicelayer.web.log4jfilter.dofilter(log4jfilter.java:45) info   | jvm 1    | main    | 2016/09/22 15:23:01.408 |     @ de.hybris.platform.servicelayer.web.abstractplatformfilterchain$internalfilterchain.dofilter(abstractplatformfilterchain.java:224) info   | jvm 1    | main    | 2016/09/22 15:23:01.409 |     @ de.hybris.platform.servicelayer.web.abstractplatformfilterchain.dofilterinternal(abstractplatformfilterchain.java:154) info   | jvm 1    | main    | 2016/09/22 15:23:01.410 |     @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) info   | jvm 1    | main    | 2016/09/22 15:23:01.410 |     @ org.springframework.web.filter.delegatingfilterproxy.invokedelegate(delegatingfilterproxy.java:344) info   | jvm 1    | main    | 2016/09/22 15:23:01.411 |     @ org.springframework.web.filter.delegatingfilterproxy.dofilter(delegatingfilterproxy.java:261) info   | jvm 1    | main    | 2016/09/22 15:23:01.411 |     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241) info   | jvm 1    | main    | 2016/09/22 15:23:01.412 |     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208) info   | jvm 1    | main    | 2016/09/22 15:23:01.413 |     @ org.apache.tomcat.websocket.server.wsfilter.dofilter(wsfilter.java:52) info   | jvm 1    | main    | 2016/09/22 15:23:01.413 |     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241) info   | jvm 1    | main    | 2016/09/22 15:23:01.413 |     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208) info   | jvm 1    | main    | 2016/09/22 15:23:01.413 |     @ org.springframework.web.filter.characterencodingfilter.dofilterinternal(characterencodingfilter.java:85) info   | jvm 1    | main    | 2016/09/22 15:23:01.414 |     @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) info   | jvm 1    | main    | 2016/09/22 15:23:01.414 |     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241) info   | jvm 1    | main    | 2016/09/22 15:23:01.415 |     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208) info   | jvm 1    | main    | 2016/09/22 15:23:01.415 |     @ com.example.storefront.filters.acceleratoraddonfilter.dofilter(acceleratoraddonfilter.java:92) info   | jvm 1    | main    | 2016/09/22 15:23:01.416 |     @ org.springframework.web.filter.delegatingfilterproxy.invokedelegate(delegatingfilterproxy.java:344) info   | jvm 1    | main    | 2016/09/22 15:23:01.416 |     @ org.springframework.web.filter.delegatingfilterproxy.dofilter(delegatingfilterproxy.java:261) info   | jvm 1    | main    | 2016/09/22 15:23:01.416 |     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241) info   | jvm 1    | main    | 2016/09/22 15:23:01.417 |     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208) info   | jvm 1    | main    | 2016/09/22 15:23:01.417 |     @ de.hybris.platform.servicelayer.web.xssfilter.processpatternsanddofilter(xssfilter.java:293) info   | jvm 1    | main    | 2016/09/22 15:23:01.419 |     @ de.hybris.platform.servicelayer.web.xssfilter.dofilter(xssfilter.java:247) info   | jvm 1    | main    | 2016/09/22 15:23:01.419 |     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241) info   | jvm 1    | main    | 2016/09/22 15:23:01.420 |     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208) info   | jvm 1    | main    | 2016/09/22 15:23:01.420 |     @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:220) info   | jvm 1    | main    | 2016/09/22 15:23:01.423 |     @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:122) info   | jvm 1    | main    | 2016/09/22 15:23:01.424 |     @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:170) info   | jvm 1    | main    | 2016/09/22 15:23:01.425 |     @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:103) info   | jvm 1    | main    | 2016/09/22 15:23:01.426 |     @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:116) info   | jvm 1    | main    | 2016/09/22 15:23:01.427 |     @ org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:950) info   | jvm 1    | main    | 2016/09/22 15:23:01.428 |     @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:421) info   | jvm 1    | main    | 2016/09/22 15:23:01.428 |     @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1074) info   | jvm 1    | main    | 2016/09/22 15:23:01.429 |     @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:611) info   | jvm 1    | main    | 2016/09/22 15:23:01.430 |     @ org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:316) info   | jvm 1    | main    | 2016/09/22 15:23:01.430 |     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) info   | jvm 1    | main    | 2016/09/22 15:23:01.431 |     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) info   | jvm 1    | main    | 2016/09/22 15:23:01.433 |     @ org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61) info   | jvm 1    | main    | 2016/09/22 15:23:01.448 |     @ java.lang.thread.run(thread.java:745) 

i unable figure out why happening , appreciated.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -