Hello, I'm using jforum 2.18
I installed the forum database connection my
tomcat container for carrying the data source
However, the installation of a visit to this page
http://charlman851.jspkj.com/forums/list.page all normal
But the visit
http://charlman851.jspkj.com/forums/show/1.page
He put forward the following abnormal
<! - BEGIN ERROR STACK TRACE
<br /> net.jforum.exceptions.ForumException: java.lang.reflect.InvocationTargetException
<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
<br /> at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java: 39)
<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
<br /> at java.lang.reflect.Method.invoke (Method.java: 597)
<br /> At net.jforum.Command.process (Command.java: 114)
<br /> at net.jforum.JForum.processCommand (JForum.java: 217)
<br /> At net.jforum.JForum.service (JForum.java: 200)
<br /> at javax.servlet.http.HttpServlet.service (HttpServlet.java: 717)
<br /> at sun.reflect.GeneratedMethodAccessor19.invoke (Unknown Source)
<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
<br /> at java.lang.reflect.Method.invoke (Method.java: 597)
<br /> at org.apache.catalina.security.SecurityUtil $ 1.run (SecurityUtil.java: 244)
<br /> at java.security.AccessController.doPrivileged (Native Method)
<br /> at javax.security.auth.Subject.doAsPrivileged (Subject.java: 517)
<br /> at org.apache.catalina.security.SecurityUtil.execute (SecurityUtil.java: 276)
<br /> at org.apache.catalina.security.SecurityUtil.doAsPrivilege (SecurityUtil.java: 162)
<br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java: 283)
<br /> at org.apache.catalina.core.ApplicationFilterChain.access $ 000 (ApplicationFilterChain.java: 56)
<br /> at org.apache.catalina.core.ApplicationFilterChain $ 1.run (ApplicationFilterChain.java: 189)
<br /> at java.security.AccessController.doPrivileged (Native Method)
<br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java: 185)
<br /> at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter (ClickstreamFilter.java: 59)
<br /> at sun.reflect.GeneratedMethodAccessor25.invoke (Unknown Source)
<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
<br /> at java.lang.reflect.Method.invoke (Method.java: 597)
<br /> at org.apache.catalina.security.SecurityUtil $ 1.run (SecurityUtil.java: 244)
<br /> at java.security.AccessController.doPrivileged (Native Method)
<br /> at javax.security.auth.Subject.doAsPrivileged (Subject.java: 517)
<br /> at org.apache.catalina.security.SecurityUtil.execute (SecurityUtil.java: 276)
<br /> at org.apache.catalina.security.SecurityUtil.doAsPrivilege (SecurityUtil.java: 218)
<br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java: 230)
<br /> at org.apache.catalina.core.ApplicationFilterChain.access $ 000 (ApplicationFilterChain.java: 56)
<br /> at org.apache.catalina.core.ApplicationFilterChain $ 1.run (ApplicationFilterChain.java: 189)
<br /> at java.security.AccessController.doPrivileged (Native Method)
<br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java: 185)
<br /> at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java: 233)
<br /> at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java: 191)
<br /> at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java: 128)
<br /> at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java: 102)
<br /> at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java: 109)
<br /> at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java: 286)
<br /> at org.apache.jk.server.JkCoyoteHandler.invoke (JkCoyoteHandler.java: 190)
<br /> at org.apache.jk.common.HandlerRequest.invoke (HandlerRequest.java: 283)
<br /> at org.apache.jk.common.ChannelSocket.invoke (ChannelSocket.java: 767)
<br /> at org.apache.jk.common.ChannelSocket.processConnection (ChannelSocket.java: 697)
<br /> at org.apache.jk.common.ChannelSocket $ SocketConnection.runIt (ChannelSocket.java: 889)
<br /> at org.apache.tomcat.util.threads.ThreadPool $ ControlRunnable.run (ThreadPool.java: 690)
<br /> At java.lang.Thread.run (Thread.java: 619)
<br /> Caused by: java.lang.reflect.InvocationTargetException
<br /> ... 48 more
<br /> Caused by: java.lang.NullPointerException
<br /> at com.mysql.jdbc.PreparedStatement.asSql (PreparedStatement.java: 1798)
<br /> at com.mysql.jdbc.PreparedStatement.toString (PreparedStatement.java: 1753)
<br /> at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.toString (DelegatingPreparedStatement.java: 211)
<br /> at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.checkOpen (DelegatingStatement.java: 137)
<br /> at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.clearWarnings (DelegatingStatement.java: 258)
<br /> at net.jforum.util.DbUtils.close (DbUtils.java: 89)
<br /> at net.jforum.dao.generic.GenericTopicDAO.selectAllByForumByLimit (GenericTopicDAO.java: 476)
<br /> at net.jforum.view.forum.common.TopicsCommon.topicsByForum (TopicsCommon.java: 105)
<br /> at net.jforum.view.forum.ForumAction.show (ForumAction.java: 177)
<br /> ... 48 more
<br />
<br /> URL is: / forums/show/1.page? Null
<br /> END ERROR STACK TRACE -> ask, what is the reason for this is usually caused by the Arab-Israeli?
[originally posted on jforum.net by mmxcq]