May 04, 2018 11:53:24 am Org.apache.catalina.core.ApplicationDispatcher invoke
Critical: Servlet.service () for Servlet [JSP] threw exception
Java.lang.NullPointerException
At Org.apache.jsp.tag.web.partyRoleId_tag.doTag (partyroleid_tag.java:125)
At Org.apache.jsp.web_002dinf.views.admin.channelmanage_jsp._jspx_meth_app_005fpartyroleid_005f0 (ChannelManage_ jsp.java:1287)
At Org.apache.jsp.web_002dinf.views.admin.channelmanage_jsp._jspx_meth_c_005fforeach_005f1 (ChannelManage_ JSP.JAVA:1100)
At Org.apache.jsp.web_002dinf.views.admin.channelmanage_jsp._jspx_meth_c_005fif_005f0 (ChannelManage_jsp.java : 1037)
At Org.apache.jsp.web_002dinf.views.admin.channelmanage_jsp._jspservice (channelmanage_jsp.java:299)
At Org.apache.jasper.runtime.HttpJspBase.service (httpjspbase.java:70)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:742)
At Org.apache.jasper.servlet.JspServletWrapper.service (jspservletwrapper.java:443)
At Org.apache.jasper.servlet.JspServlet.serviceJspFile (jspservlet.java:386)
At Org.apache.jasper.servlet.JspServlet.service (jspservlet.java:330)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:742)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:231)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:166)
At Org.apache.tomcat.websocket.server.WsFilter.doFilter (wsfilter.java:52)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:193)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:166)
At Org.apache.catalina.core.ApplicationDispatcher.invoke (applicationdispatcher.java:728)
At Org.apache.catalina.core.ApplicationDispatcher.processRequest (applicationdispatcher.java:470)
At Org.apache.catalina.core.ApplicationDispatcher.doForward (applicationdispatcher.java:395)
At Org.apache.catalina.core.ApplicationDispatcher.forward (applicationdispatcher.java:316)
At Org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel (Internalresourceview.java : 238)
At Org.springframework.web.servlet.view.AbstractView.render (abstractview.java:262)
At Org.springframework.web.servlet.DispatcherServlet.render (dispatcherservlet.java:1180)
At Org.springframework.web.servlet.DispatcherServlet.doDispatch (dispatcherservlet.java:950)
At Org.springframework.web.servlet.DispatcherServlet.doService (dispatcherservlet.java:852)
At Org.springframework.web.servlet.FrameworkServlet.processRequest (frameworkservlet.java:882)
At Org.springframework.web.servlet.FrameworkServlet.doPost (frameworkservlet.java:789)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:661)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:742)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:231)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:166)
At Org.apache.tomcat.websocket.server.WsFilter.doFilter (wsfilter.java:52)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:193)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:166)
At Org.sitemesh.webapp.contentfilter.ContentBufferingFilter.bufferAndPostProcess (Contentbufferingfilter.java : 169)
At Org.sitemesh.webapp.contentfilter.ContentBufferingFilter.doFilter (contentbufferingfilter.java:126)
At Org.sitemesh.webapp.SiteMeshFilter.doFilter (sitemeshfilter.java:120)
At Org.sitemesh.config.ConfigurableSiteMeshFilter.doFilter (configurablesitemeshfilter.java:163)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:193)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:166)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:330)
At Org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke ( filtersecurityinterceptor.java:118)
At Org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter ( filtersecurityinterceptor.java:84)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.access.ExceptionTranslationFilter.doFilter (Exceptiontranslationfilter.java : 113)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.session.SessionManagementFilter.doFilter (sessionmanagementfilter.java:103)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter ( anonymousauthenticationfilter.java:113)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter ( SECURITYCONTEXTHOLDERAWAREREQUESTFILTER.JAVA:54)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter (Requestcacheawarefilter.java : 45)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter ( BASICAUTHENTICATIONFILTER.JAVA:150)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter ( abstractauthenticationprocessingfilter.java:183)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.authentication.logout.LogoutFilter.doFilter (logoutfilter.java:105)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter ( securitycontextpersistencefilter.java:87)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.session.ConcurrentSessionFilter.doFilter (concurrentsessionfilter.java:125)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.FilterChainProxy.doFilterInternal (filterchainproxy.java:192)
At Org.springframework.security.web.FilterChainProxy.doFilter (filterchainproxy.java:160)
At Org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate (delegatingfilterproxy.java:346)
At Org.springframework.web.filter.DelegatingFilterProxy.doFilter (delegatingfilterproxy.java:259)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:193)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:166)
At Org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal (characterencodingfilter.java:88)
At Org.springframework.web.filter.OncePerRequestFilter.doFilter (onceperrequestfilter.java:76)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:193)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:166)
At Org.apache.catalina.core.StandardWrapperValve.invoke (standardwrappervalve.java:198)
At Org.apache.catalina.core.StandardContextValve.invoke (standardcontextvalve.java:96)
At Org.apache.catalina.authenticator.AuthenticatorBase.invoke (authenticatorbase.java:496)
At Org.apache.catalina.core.StandardHostValve.invoke (standardhostvalve.java:140)
At Org.apache.catalina.valves.ErrorReportValve.invoke (errorreportvalve.java:81)
At Org.apache.catalina.valves.AbstractAccessLogValve.invoke (abstractaccesslogvalve.java:650)
At Org.apache.catalina.core.StandardEngineValve.invoke (standardenginevalve.java:87)
At Org.apache.catalina.connector.CoyoteAdapter.service (coyoteadapter.java:342)
At Org.apache.coyote.http11.Http11Processor.service (http11processor.java:803)
At Org.apache.coyote.AbstractProcessorLight.process (abstractprocessorlight.java:66)
At Org.apache.coyote.abstractprotocol$connectionhandler.process (abstractprotocol.java:790)
At Org.apache.tomcat.util.net.nioendpoint$socketprocessor.dorun (nioendpoint.java:1459)
At Org.apache.tomcat.util.net.SocketProcessorBase.run (socketprocessorbase.java:49)
At Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1145)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:615)
At Org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run (taskthread.java:61)
At Java.lang.Thread.run (thread.java:745)
May 04, 2018 11:53:24 am Org.apache.catalina.core.StandardWrapperValve invoke
Critical: Servlet.service () for Servlets [Appservlet] in context with path [/shouka_new] threw exception [javax.servlet.ServletEx Ception:javax.servlet.jsp.JspException:java.lang.NullPointerException] with root cause
Java.lang.NullPointerException
At Org.apache.jsp.tag.web.partyRoleId_tag.doTag (partyroleid_tag.java:125)
At Org.apache.jsp.web_002dinf.views.admin.channelmanage_jsp._jspx_meth_app_005fpartyroleid_005f0 (ChannelManage_ jsp.java:1287)
At Org.apache.jsp.web_002dinf.views.admin.channelmanage_jsp._jspx_meth_c_005fforeach_005f1 (ChannelManage_ JSP.JAVA:1100)
At Org.apache.jsp.web_002dinf.views.admin.channelmanage_jsp._jspx_meth_c_005fif_005f0 (ChannelManage_jsp.java : 1037)
At Org.apache.jsp.web_002dinf.views.admin.channelmanage_jsp._jspservice (channelmanage_jsp.java:299)
At Org.apache.jasper.runtime.HttpJspBase.service (httpjspbase.java:70)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:742)
At Org.apache.jasper.servlet.JspServletWrapper.service (jspservletwrapper.java:443)
At Org.apache.jasper.servlet.JspServlet.serviceJspFile (jspservlet.java:386)
At Org.apache.jasper.servlet.JspServlet.service (jspservlet.java:330)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:742)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:231)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:166)
At Org.apache.tomcat.websocket.server.WsFilter.doFilter (wsfilter.java:52)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:193)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:166)
At Org.apache.catalina.core.ApplicationDispatcher.invoke (applicationdispatcher.java:728)
At Org.apache.catalina.core.ApplicationDispatcher.processRequest (applicationdispatcher.java:470)
At Org.apache.catalina.core.ApplicationDispatcher.doForward (applicationdispatcher.java:395)
At Org.apache.catalina.core.ApplicationDispatcher.forward (applicationdispatcher.java:316)
At Org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel (Internalresourceview.java : 238)
At Org.springframework.web.servlet.view.AbstractView.render (abstractview.java:262)
At Org.springframework.web.servlet.DispatcherServlet.render (dispatcherservlet.java:1180)
At Org.springframework.web.servlet.DispatcherServlet.doDispatch (dispatcherservlet.java:950)
At Org.springframework.web.servlet.DispatcherServlet.doService (dispatcherservlet.java:852)
At Org.springframework.web.servlet.FrameworkServlet.processRequest (frameworkservlet.java:882)
At Org.springframework.web.servlet.FrameworkServlet.doPost (frameworkservlet.java:789)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:661)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:742)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:231)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:166)
At Org.apache.tomcat.websocket.server.WsFilter.doFilter (wsfilter.java:52)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:193)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:166)
At Org.sitemesh.webapp.contentfilter.ContentBufferingFilter.bufferAndPostProcess (Contentbufferingfilter.java : 169)
At Org.sitemesh.webapp.contentfilter.ContentBufferingFilter.doFilter (contentbufferingfilter.java:126)
At Org.sitemesh.webapp.SiteMeshFilter.doFilter (sitemeshfilter.java:120)
At Org.sitemesh.config.ConfigurableSiteMeshFilter.doFilter (configurablesitemeshfilter.java:163)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:193)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:166)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:330)
At Org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke ( filtersecurityinterceptor.java:118)
At Org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter ( filtersecurityinterceptor.java:84)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.access.ExceptionTranslationFilter.doFilter (Exceptiontranslationfilter.java : 113)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.session.SessionManagementFilter.doFilter (sessionmanagementfilter.java:103)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter ( anonymousauthenticationfilter.java:113)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter ( SECURITYCONTEXTHOLDERAWAREREQUESTFILTER.JAVA:54)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter (Requestcacheawarefilter.java : 45)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter ( BASICAUTHENTICATIONFILTER.JAVA:150)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter ( abstractauthenticationprocessingfilter.java:183)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.authentication.logout.LogoutFilter.doFilter (logoutfilter.java:105)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter ( securitycontextpersistencefilter.java:87)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.session.ConcurrentSessionFilter.doFilter (concurrentsessionfilter.java:125)
At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:342)
At Org.springframework.security.web.FilterChainProxy.doFilterInternal (filterchainproxy.java:192)
At Org.springframework.security.web.FilterChainProxy.doFilter (filterchainproxy.java:160)
At Org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate (delegatingfilterproxy.java:346)
At Org.springframework.web.filter.DelegatingFilterProxy.doFilter (delegatingfilterproxy.java:259)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:193)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:166)
At Org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal (characterencodingfilter.java:88)
At Org.springframework.web.filter.OncePerRequestFilter.doFilter (onceperrequestfilter.java:76)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:193)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:166)
At Org.apache.catalina.core.StandardWrapperValve.invoke (standardwrappervalve.java:198)
At Org.apache.catalina.core.StandardContextValve.invoke (standardcontextvalve.java:96)
At Org.apache.catalina.authenticator.AuthenticatorBase.invoke (authenticatorbase.java:496)
At Org.apache.catalina.core.StandardHostValve.invoke (standardhostvalve.java:140)
At Org.apache.catalina.valves.ErrorReportValve.invoke (errorreportvalve.java:81)
At Org.apache.catalina.valves.AbstractAccessLogValve.invoke (abstractaccesslogvalve.java:650)
At Org.apache.catalina.core.StandardEngineValve.invoke (standardenginevalve.java:87)
At Org.apache.catalina.connector.CoyoteAdapter.service (coyoteadapter.java:342)
At Org.apache.coyote.http11.Http11Processor.service (http11processor.java:803)
At Org.apache.coyote.AbstractProcessorLight.process (abstractprocessorlight.java:66)
At Org.apache.coyote.abstractprotocol$connectionhandler.process (abstractprotocol.java:790)
At Org.apache.tomcat.util.net.nioendpoint$socketprocessor.dorun (nioendpoint.java:1459)
At Org.apache.tomcat.util.net.SocketProcessorBase.run (socketprocessorbase.java:49)
At Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1145)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:615)
At Org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run (taskthread.java:61)
At Java.lang.Thread.run (thread.java:745)
Solution:
This error is due to the JSP page obtained a null pointer, that is, the servlet passed parameters when a parameter did not pass through or pass parameters and the parameters of the acceptance of the result, check the parameters can be resolved
Critical: Servlet.service () for Servlet [JSP] threw exception java.lang.NullPointerException