我在发帖子的时候出现如下错误,好像是ForumMessageProxy里面一个方法出错,不知道怎么修改?但是帖子是可以预览正常的。

03-06-30 test_1
java.lang.NullPointerException

at com.jivesoftware.forum..isAnonymous(ForumMessageProxy.java:170)

at com.jivesoftware.forum.database.DbForum.addThread(DbForum.java:390)

at com.jivesoftware.forum.ForumProxy.addThread(ForumProxy.java:251)

at org.apache.jsp.post_jsp._jspService(post_jsp.java:343)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

猜你喜欢