Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via liferay.com by Unknown author, 1 year ago
via liferay.com by Unknown author, 1 year ago
via Icesoft by zzzz8, 10 months ago
java.lang.NullPointerException: 	at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:805)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)	at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:611)	at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99)	at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)	at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760)	at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892)	at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)	at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1873)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)	at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:2884)	at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:897)	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:170)	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:103)	at com.liferay.portlet.layoutconfiguration.util.velocity.PortletColumnLogic.processContent(PortletColumnLogic.java:133)	at com.liferay.portlet.layoutconfiguration.util.velocity.TemplateProcessor.processColumn(TemplateProcessor.java:68)	at sun.reflect.GeneratedMethodAccessor481.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)	at org.apache.velocity.Template.merge(Template.java:328)	at org.apache.velocity.Template.merge(Template.java:235)	at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381)	at com.liferay.portal.velocity.VelocityEngineImpl.mergeTemplate(VelocityEngineImpl.java:179)	at com.liferay.portal.kernel.velocity.VelocityEngineUtil.mergeTemplate(VelocityEngineUtil.java:84)	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:237)	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:190)	at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:831)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)	at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:294)	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:471)	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:195)	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:157)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:608)	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:846)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:143)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:142)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:140)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:282)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:425)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:257)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.sso.opensso.OpenSSOFilter.processFilter(OpenSSOFilter.java:73)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:193)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:191)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.threadlocalcache.ThreadLocalCacheFilter.processFilter(ThreadLocalCacheFilter.java:55)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)	at java.lang.Thread.run(Thread.java:619)