Error when I try to add a new post

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error when I try to add a new post

octagonacres
I got a 500 error and the following message:


Error 500

url=http://sharing-the-fire.4687402.n2.nabble.com/template/NodeServlet.jtp?tpl=new_topic&node=4687402&cid=1281380467683-159  method=GET user-agent=Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 referer=http://sharing-the-fire.4687402.n2.nabble.com/;cid=1281380467683-159 remote=174.124.79.135

RequestURI=/template/NodeServlet.jtp
Caused by:

fschmidt.util.servlet.JtpContextServlet$JtpRuntimeException: url=http://sharing-the-fire.4687402.n2.nabble.com/template/NodeServlet.jtp?tpl=new_topic&node=4687402&cid=1281380467683-159  method=GET user-agent=Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 referer=http://sharing-the-fire.4687402.n2.nabble.com/;cid=1281380467683-159 remote=174.124.79.135
        at fschmidt.util.servlet.JtpContextServlet.handleException(JtpContextServlet.java:559)
        at fschmidt.util.servlet.JtpContextServlet.service2(JtpContextServlet.java:469)
        at fschmidt.util.servlet.JtpContextServlet.service(JtpContextServlet.java:278)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
        at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
        at fschmidt.util.servlet.GzipFilter.doFilter(GzipFilter.java:137)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
        at cachingfilter.CachingFilter.doFilter(CachingFilter.java:133)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
        at fschmidt.util.servlet.BadBotFilter.doFilter(BadBotFilter.java:74)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: nabble.template.TemplateRuntimeException: nabble.model.UserImpl
        in check_permission - <n.check_permission/> (reply.template.tpl:310) {public void nabble.view.web.forum.NodeCreatorNamespace._check_permission(nabble.template.IPrintWriter,nabble.template.Interpreter) throws nabble.model.ModelException,javax.servlet.ServletException}
        in catch_exception - <n.catch_exception. id="check-permission"> (reply.template.tpl:309) {public void nabble.template.BasicNamespace._catch_exception(nabble.template.IPrintWriter,nabble.template.Interpreter)}
        in node_creator - <n.node_creator.> (reply.template.tpl:44) {public void nabble.view.web.template.NodeServletNamespace._node_creator(nabble.template.IPrintWriter,nabble.template.ScopedInterpreter)}
        in <macro name="new_topic" requires="node-servlet"> (new_topic.template.tpl:1)
        at nabble.template.Compiler.interpFix(Compiler.java:1166)
        at nabble.template.Compiler$Simple.run(Compiler.java:1060)
        at nabble.template.BlockWrapper.printTo(BlockWrapper.java:24)
        at nabble.template.TemplatePrintWriter.print(TemplatePrintWriter.java:31)
        at nabble.template.BasicNamespace._catch_exception(BasicNamespace.java:455)
        at sun.reflect.GeneratedMethodAccessor174.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at nabble.template.JavaMethod.invoke(JavaMethod.java:22)
        at nabble.template.Compiler$Block.run(Compiler.java:1114)
        at nabble.template.Compiler$Chunks.run(Compiler.java:828)
        at nabble.template.BlockWrapper.printTo(BlockWrapper.java:24)
        at nabble.template.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:22)
        at nabble.template.TemplatePrintWriter.print(TemplatePrintWriter.java:31)
        at nabble.view.web.template.NodeServletNamespace._node_creator(NodeServletNamespace.java:117)
        at sun.reflect.GeneratedMethodAccessor177.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at nabble.template.JavaMethod.invoke(JavaMethod.java:22)
        at nabble.template.Compiler$Block.run(Compiler.java:1114)
        at nabble.template.Compiler$Chunks.run(Compiler.java:828)
        at nabble.template.Template.run(Template.java:85)
        at nabble.view.web.template.TemplateManager.run(TemplateManager.java:135)
        at nabble.view.web.template.TemplateManager.run(TemplateManager.java:127)
        at nabble.view.web.template.NodeServlet.service(NodeServlet.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at fschmidt.util.servlet.JtpContextServlet.service2(JtpContextServlet.java:467)
        ... 25 more
Caused by: java.lang.ClassCastException: nabble.model.UserImpl
        at nabble.view.lib.Jtp.getUser(Jtp.java:111)
        at nabble.view.lib.Jtp.getVisitor(Jtp.java:54)
        at nabble.view.web.template.ServletNamespace.visitorNamespace(ServletNamespace.java:62)
        at nabble.view.web.template.ServletNamespace.getVisitor(ServletNamespace.java:71)
        at nabble.view.web.forum.NodeCreatorNamespace._check_permission(NodeCreatorNamespace.java:55)
        at sun.reflect.GeneratedMethodAccessor178.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at nabble.template.JavaMethod.invoke(JavaMethod.java:22)
        at nabble.template.Compiler$Simple.run(Compiler.java:1054)
        ... 50 more

Reply | Threaded
Open this post in threaded view
|

Re: Error when I try to add a new post

Hugo <Nabble>
That bug is fixed. Please try again and let me know if you still have issues. Sorry for the inconvenience.