Jdon发帖子出错:

03-05-07 zxczf

点"发新贴"出现错误:

下面有错误发生,请将错误报告到: Jdon

java.lang.NullPointerException

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

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)

在post.jsp页面中:

User pageUser = null;

if (!isGuest) {

System.out.println("1 myEnv.getForumFactory():" + myEnv.getForumFactory());//== null

pageUser = myEnv.getForumFactory().getUserManager().getUser(authToken.getUserID());

}

请问这是怎么回事