Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Bugs in forum and registration?

2007-10-24
2013-04-08
  • ambientwebs
    ambientwebs
    2007-10-24

    May I mention some points and questions.

    1- We are running the wiki on tomcat container, as this is the one on our server. We needed to make a change to the web.xml file as follows

    /WEB-INF/web.xml" by changing the <url-pattern>*</url-pattern> line to <url-pattern>/*</url-pattern>

    The wiki would not run otherwise.

    We notice there are some bugs in forum conponant, although we have not modified any other files.

    1- We have allowed user registration in admin, but there is no register link. How does a user register?
    2- When clicking the discussion link on a wiki page we sometimes get an error as follows: PLEASE NOTE: this also happens when using the standalone version pf yawiki.

    Error:Invocation of method 'getLastPost' in class org.jzonic.yawiki.model.dao.Threads threw exception class java.lang.NullPointerException : null

    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLastPost' in  class org.jzonic.yawiki.model.dao.Threads threw exception class java.lang.NullPointerException : null
        at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:193)
        at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
        at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:307)
        at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:45)
        at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:68)
        at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
        at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
        at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
        at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
        at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
        at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
        at org.apache.velocity.Template.merge(Template.java:256)
        at org.jzonic.web.MainServlet.render(MainServlet.java:397)
        at org.jzonic.web.MainServlet.executeMethod(MainServlet.java:358)
        at org.jzonic.web.MainServlet.processRequest(MainServlet.java:219)
        at org.jzonic.web.MainServlet.doGet(MainServlet.java:385)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050)
        at org.jzonic.yawiki.filter.PrettyUrlFilter.doFilter(PrettyUrlFilter.java:43)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
        at org.mortbay.jetty.Server.handle(Server.java:269)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:687)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
        at org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    --------------------------

    Can you offer any answers or advice on these problems? We are very keen to use this wiki and forum
    and will be happy to promote your product if they prove reliable