经常出现这样一个错误?
melin
2008-06-24
我通过插件写的portlet。开始环境,运行时间一长,就会出现下面这样的错误。
10:28:17,031 ERROR [jsp:52] java.lang.NullPointerException at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:371) at com.liferay.portlet.CachePortlet.render(CachePortlet.java:218) at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1318) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 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:654) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481) at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1644) at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:165) at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:102) at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:270) at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:189) at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:768) 10:28:17,125 ERROR [jsp:52] java.lang.NullPointerException at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:371) at com.liferay.portlet.CachePortlet.render(CachePortlet.java:218) at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1318) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 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:654) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481) at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1644) at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:165) at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:102) at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:270) at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:189) at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:768) |
|
enjoyxiao
2008-06-27
应该是JSP页面有错误。
|
|
kumoon
2010-11-11
表layout的typesetting字段插入了错误的内容,多了一个或者多个逗号。可以通过修改 页面预防此错误
|
相关讨论
相关资源推荐
- clui:命令行用户界面(受TurboVision启发的控制台UI)
- TC20下的内联汇编 (转)
- 从Turbo Vision源码看事件驱动
- AI绘画:stable difussion 神器之拒绝脸崩的 ADetailer插件
- 汇编语言代码编写c 语言代码,通过内联汇编实现字符串的复制,TC20下的内联汇编...
- 仅献给70年代的程序员
- Borland [Turbo Vision][Turbo Debugger][Turbo Tutor]
- Turbo Vision 2.0的现代版本,这是基于文本的用户界面的经典框架。-C/C++开发
- DOS下用的TC2.0工具C语言编程
- DOS下GUI程序开发