Hey,
I just downloaded and installed jForum on resin 3.0.8, JDK 1.5. I was very impressed at how simple it was to install. Except for one thing... there's a bug in it somewhere that renders it unuseable.
My installation worked. I can get the list.page. I can use the admin mostly. I created a new forum and category. When I try to actually click into a forum, I get the following error:
It appears that the code is trying to turn a
string into a number, but the string it is working on is not a number: $%7Bforum.id%7D
Looks like a variable name is not getting dereferenced or something..
Problem with install or bug?
15:09:07,781 ERROR [ForumException ] java.lang.reflect.InvocationTargetExce
ption
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at net.jforum.Command.process(Command.java:88)
at net.jforum.JForum.service(JForum.java:262)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterC
hain.java:113)
at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.ja
va:177)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain
.java:177)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocatio
n.java:221)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263
)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:331)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
at com.caucho.util.ThreadPool.run(ThreadPool.java:408)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NumberFormatException: For input string: "$%7Bforum.id%7D"
at java.lang.NumberFormatException.forInputString(NumberFormatException.
java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at net.jforum.view.forum.ForumAction.show(ForumAction.java:243)
... 16 more
[originally posted on jforum.net by Anonymous]