Anonymous | Login | Signup for a new account | 12-17-2024 08:43 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002439 | [Resin] | major | always | 02-14-08 16:20 | 02-19-08 11:00 | ||||
Reporter | ckchris | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.5 | ||||||
Summary | 0002439: com.caucho.sql.UserStatement.clearWarnings throwing NPE | ||||||||
Description |
Trying to install JForum and testing it out. After configuring and starting up JForum, I encountered the attached exception error. jforum's DbUtils.close() method code is as follows: public static void close(Statement st) { if (st != null) { try { st.clearWarnings(); st.close(); } catch (SQLException e) { } } } Resin is somehow not playing nice. |
||||||||
Additional Information |
java.lang.NullPointerException at com.caucho.sql.UserStatement.clearWarnings(UserStatement.java:107) at net.jforum.util.DbUtils.close(DbUtils.java:89) at net.jforum.dao.generic.GenericUserDAO.getTotalUsers(GenericUserDAO.java:638) at net.jforum.repository.ForumRepository.loadUsersInfo(ForumRepository.java:789) at net.jforum.repository.ForumRepository.start(ForumRepository.java:131) at net.jforum.ForumStartup.startForumRepository(ForumStartup.java:100) at net.jforum.JForum.init(JForum.java:111) at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:814) at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:716) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:94) at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:181) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266) at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:435) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:603) at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643) at java.lang.Thread.run(Thread.java:595) [2008/02/14 16:05:13.228] javax.servlet.ServletException: net.jforum.exceptions.ForumStartupException: Error while starting jforum [2008/02/14 16:05:13.228] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:752) [2008/02/14 16:05:13.228] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:94) [2008/02/14 16:05:13.228] at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59) [2008/02/14 16:05:13.228] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87) [2008/02/14 16:05:13.228] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:181) [2008/02/14 16:05:13.228] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266) [2008/02/14 16:05:13.228] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:435) [2008/02/14 16:05:13.228] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:603) [2008/02/14 16:05:13.228] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721) [2008/02/14 16:05:13.228] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643) [2008/02/14 16:05:13.228] at java.lang.Thread.run(Thread.java:595) [2008/02/14 16:05:13.228] Caused by: net.jforum.exceptions.ForumStartupException: Error while starting jforum [2008/02/14 16:05:13.228] at com.caucho.sql.UserStatement.clearWarnings(UserStatement.java:107) [2008/02/14 16:05:13.228] at net.jforum.util.DbUtils.close(DbUtils.java:89) [2008/02/14 16:05:13.228] at net.jforum.dao.generic.GenericUserDAO.getTotalUsers(GenericUserDAO.java:638) [2008/02/14 16:05:13.228] at net.jforum.repository.ForumRepository.loadUsersInfo(ForumRepository.java:789) [2008/02/14 16:05:13.228] at net.jforum.repository.ForumRepository.start(ForumRepository.java:131) [2008/02/14 16:05:13.228] at net.jforum.ForumStartup.startForumRepository(ForumStartup.java:100) [2008/02/14 16:05:13.228] at net.jforum.JForum.init(JForum.java:111) [2008/02/14 16:05:13.228] at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:814) [2008/02/14 16:05:13.228] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:716) [2008/02/14 16:05:13.228] ... 10 more [2008/02/14 16:05:13.228] Caused by: net.jforum.exceptions.RepositoryStartupException: Error while trying to start ForumRepository: java.lang.NullPointerException [2008/02/14 16:05:13.228] ... 19 more [2008/02/14 16:05:13.228] Caused by: java.lang.NullPointerException [2008/02/14 16:05:13.228] ... 19 more |
||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed. 25 unique queries executed. |