Liferay 回复留言板portlet中的线程后出错

Liferay 回复留言板portlet中的线程后出错,liferay,liferay-6,messageboard,Liferay,Liferay 6,Messageboard,在liferay portal 6.2 CE-GA2中,我使用了MessageBoards portlet。在这个portlet中,我创建了一个线程,然后回复该线程。每次回复后,我都会在catalina.out日志文件中看到这些消息: 17:18:01,520 ERROR [http-bio-80-exec-575][IncludeTag:129] Current URL /web/knowledge-management/wiki/-/message_boards/message/10900

在liferay portal 6.2 CE-GA2中,我使用了MessageBoards portlet。在这个portlet中,我创建了一个线程,然后回复该线程。每次回复后,我都会在
catalina.out
日志文件中看到这些消息:

 17:18:01,520 ERROR [http-bio-80-exec-575][IncludeTag:129] Current URL /web/knowledge-management/wiki/-/message_boards/message/109006 generates exception: null
    java.lang.NullPointerException
    at org.apache.jsp.html.portlet.message_005fboards.view_005fthread_005fmessage_jsp._jspService(view_005fthread_005fmessage_jsp.java:726)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
    at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
    at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
    at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
    at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
    at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
    at org.apache.jsp.html.portlet.message_005fboards.view_005fmessage_005fcontent_jsp._jspx_meth_liferay_002dutil_005finclude_005f0(view_005fmessage_005fcontent_jsp.java:2972)
    at org.apache.jsp.html.portlet.message_005fboards.view_005fmessage_005fcontent_jsp._jspService(view_005fmessage_005fcontent_jsp.java:2322)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
    at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
    at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
    at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
    at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
    at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
    at org.apache.jsp.html.portlet.message_005fboards.view_005fmessage_005fdefault_jsp._jspx_meth_liferay_002dutil_005finclude_005f0(view_005fmessage_005fdefault_jsp.java:1997)

我如何解决这个问题?

这取决于您想深入到什么程度:您可以分析NullpointerException发生的位置,并查看是否存在易于修复的问题。您还可以检查issuetracker,以及此后对门户网站所做的提交,并将在更高版本中所做的任何修复(如果已经修复)返回


这就引出了我的实际建议:我建议升级到最近发布的GA6,并检查它是否仍然存在。很可能这个问题已经解决很久了,一个简单的更新可以帮助你摆脱这个消息。如果它是固定的:党。如果没有:至少您使用的是最新版本,并且可能已经解决了一些安全问题(当然还有一些其他问题)

除了我的回答:请阅读本文并添加建议的信息: