I was trying to post to r-help form and I got the following error when
I pressed the "post" button. I was asked to report it. =============== Error 500 url=http://r.789695.n4.nabble.com/template/NamlServlet.jtp?message= Thanks for the code and required result. How about this? firststep = DT[,cbind(expand.grid(B,B),v=1/length(B)),by=C][Var1!=Var2] setkey(firststep,Var1,Var2,C) firststep = firststep[,transform(.SD,cv=cumsum(v)),by=list(Var1,Var2)] setkey(firststep,Var1,Var2,C) DT[, {x=data.table(expand.grid(B,B),C[1]-1L) firststep[x,roll=TRUE,nomatch=0][,sum(cv)] # prior familiarity },by=C] C V1 [1,] 1999 0.0 [2,] 2001 0.5 [3,] 2004 2.5 HTH Matthew &node=3312140¯o=reply&subject=Re: Transforming relational data&email-to=mathijsdevaan@gmail.com&original= OK, for the last step I have tried this (among other things): library(data.table) DT = data.table(read.table(textConnection(" A B C 1 1 a 1999 2 1 b 1999 3 1 c 1999 4 1 d 1999 5 2 c 2001 6 2 d 2001 7 3 a 2004 8 3 b 2004 9 3 d 2004"),head=TRUE,stringsAsFactors=FALSE)) firststep = DT[,cbind(expand.grid(B,B),v=1/length(B),C),by=A][Var1!=Var2] setkey(firststep,Var1,Var2) list<-firststep[J(expand.grid(DT$B,DT$B),v=1/length(DT$B)),nomatch=0][,sum(v)] list #27 What I would like to get: list 1 0 2 0.5 3 2.5 Thanks! method=POST user-agent=Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 referer=http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=reply&node=3312140 remote=82.8.66.161 RequestURI=/template/NamlServlet.jtp Caused by: fschmidt.util.servlet.JtpContextServlet$JtpRuntimeException: url=http://r.789695.n4.nabble.com/template/NamlServlet.jtp?message= Thanks for the code and required result. How about this? firststep = DT[,cbind(expand.grid(B,B),v=1/length(B)),by=C][Var1!=Var2] setkey(firststep,Var1,Var2,C) firststep = firststep[,transform(.SD,cv=cumsum(v)),by=list(Var1,Var2)] setkey(firststep,Var1,Var2,C) DT[, {x=data.table(expand.grid(B,B),C[1]-1L) firststep[x,roll=TRUE,nomatch=0][,sum(cv)] # prior familiarity },by=C] C V1 [1,] 1999 0.0 [2,] 2001 0.5 [3,] 2004 2.5 HTH Matthew &node=3312140¯o=reply&subject=Re: Transforming relational data&email-to=mathijsdevaan@gmail.com&original= method=POST user-agent=Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 referer=http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=reply&node=3312140 remote=82.8.66.161 at fschmidt.util.servlet.JtpContextServlet.handleException(JtpContextServlet.java:568) at fschmidt.util.servlet.JtpContextServlet.service2(JtpContextServlet.java:473) at fschmidt.util.servlet.JtpContextServlet.service(JtpContextServlet.java:325) 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:156) 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.content(HttpConnection.java:938) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) 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.naml.compiler.TemplateRuntimeException: in get_node(nabble:utilities.naml:900) - <n.get_node node="[n.uplevel_get var='local_node'/]" do="[n.do/]" /> - public void nabble.view.web.template.NabbleNamespace.get_node(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) in send_email(nabble:email.naml:51) - <n.send_email> - public void nabble.view.web.template.NabbleNamespace.send_email(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) throws nabble.model.ModelException$EmailFormat in block(nabble:email.naml:50) - <n.block.> - public void nabble.naml.namespaces.BasicNamespace.block(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) in subscription_for(nabble:reply.naml:587) - <n.subscription_for. email="[n.get var='email'/]"> - public void nabble.view.web.template.NodeNamespace.subscription_for(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) in topic_node(nabble:permissions.naml:137) - <n.topic_node.do/> - public void nabble.view.web.template.NodeNamespace.topic_node(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) in get_node(nabble:utilities.naml:900) - <n.get_node node="[n.uplevel_get var='local_node'/]" do="[n.do/]" /> - public void nabble.view.web.template.NabbleNamespace.get_node(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) in if(nabble:permissions.naml:136) - <n.if.local_node.is_post> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) in block(nabble:permissions.naml:135) - <n.block.> - public void nabble.naml.namespaces.BasicNamespace.block(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) in get_node(nabble:utilities.naml:900) - <n.get_node node="[n.uplevel_get var='local_node'/]" do="[n.do/]" /> - public void nabble.view.web.template.NabbleNamespace.get_node(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) in if(nabble:reply.naml:586) - <n.if.not.is_null.get var="email"> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) in while(nabble:utilities.naml:663) - <n.while.next_element inc="[n.by/]"> - public void nabble.naml.namespaces.BasicNamespace._while(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) in get_parameter_values(nabble:reply.naml:583) - <then.get_parameter_values. name="email-to"> - public void nabble.view.web.template.RequestNamespace.get_parameter_values(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) throws java.io.IOException,javax.servlet.ServletException in if(nabble:reply.naml:582) - <n.if.visitor.is_registered> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) in block(nabble:reply.naml:581) - <n.block.> - public void nabble.naml.namespaces.BasicNamespace.block(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) in get_node(nabble:reply.naml:167) - <n.get_node node="[n.global_get var='new_node'/]" do="[n.do/]" /> - public void nabble.view.web.template.NabbleNamespace.get_node(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) in if(nabble:reply.naml:67) - <n.if.not.is_preview> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) in create_child_of_page_node(nabble:reply.naml:59) - <n.create_child_of_page_node commit="[n.not.is_preview/]"> - public void nabble.view.web.template.NodePageNamespace.create_child_of_page_node(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) throws nabble.model.ModelException,javax.servlet.ServletException in catch_exception(nabble:reply.naml:57) - <n.catch_exception. id="save-block"> - public void nabble.naml.namespaces.BasicNamespace.catch_exception(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) in if(nabble:reply.naml:51) - <n.if.not.is_submitted_form> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) in as_node_page(nabble:utilities.naml:750) - <n.get_node_from_parameter.as_node_page.do/> - public void nabble.view.web.template.NodeNamespace.as_node_page(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) in get_node_from_parameter(nabble:utilities.naml:750) - <n.get_node_from_parameter.as_node_page.do/> - public void nabble.view.web.template.ServletNamespace.get_node_from_parameter(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) throws java.io.IOException,javax.servlet.ServletException in (nabble:reply.naml:1) - <macro name="reply" requires="servlet"> at nabble.naml.compiler.Compiler.interpFix(Compiler.java:1604) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1347) at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1022) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.BlockWrapper.toString(BlockWrapper.java:52) at nabble.naml.compiler.Template.stringValue(Template.java:131) at nabble.naml.compiler.InterpreterImpl.getAttrString(InterpreterImpl.java:26) at nabble.view.web.template.NabbleNamespace.send_email(NabbleNamespace.java:419) at sun.reflect.GeneratedMethodAccessor275.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1342) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:23) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.naml.namespaces.BasicNamespace.block(BasicNamespace.java:812) at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1336) at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1022) at nabble.naml.compiler.Compiler$VarScope.run(Compiler.java:1066) at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1022) at nabble.naml.compiler.Compiler$VarScope.run(Compiler.java:1066) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:23) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.view.web.template.NodeNamespace.subscription_for(NodeNamespace.java:811) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1342) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:23) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.view.web.template.NodeNamespace.topic_node(NodeNamespace.java:92) at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1336) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:23) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.view.web.template.NabbleNamespace.get_node(NabbleNamespace.java:569) at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1342) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.naml.namespaces.BasicNamespace._if(BasicNamespace.java:118) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1342) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:23) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.naml.namespaces.BasicNamespace.block(BasicNamespace.java:812) at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1336) at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1022) at nabble.naml.compiler.Compiler$VarScope.run(Compiler.java:1066) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:23) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.view.web.template.NabbleNamespace.get_node(NabbleNamespace.java:569) at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1342) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.naml.namespaces.BasicNamespace._if(BasicNamespace.java:118) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1342) at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1022) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.naml.namespaces.BasicNamespace._while(BasicNamespace.java:470) at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1342) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:23) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.view.web.template.RequestNamespace.get_parameter_values(RequestNamespace.java:88) at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1336) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.naml.namespaces.BasicNamespace._if(BasicNamespace.java:118) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1342) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:23) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.naml.namespaces.BasicNamespace.block(BasicNamespace.java:812) at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1336) at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1022) at nabble.naml.compiler.Compiler$VarScope.run(Compiler.java:1066) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:23) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.view.web.template.NabbleNamespace.get_node(NabbleNamespace.java:569) at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1342) at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1022) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.naml.namespaces.BasicNamespace._if(BasicNamespace.java:118) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1342) at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1022) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:23) at nabble.naml.compiler.BlockWrapper.toString(BlockWrapper.java:52) at nabble.naml.compiler.ScopedInterpreterImpl.getAttrString(ScopedInterpreterImpl.java:40) at nabble.view.web.template.NodePageNamespace.create_child_of_page_node(NodePageNamespace.java:145) at sun.reflect.GeneratedMethodAccessor312.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1342) at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1022) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.namespaces.BasicNamespace.catch_exception(BasicNamespace.java:506) at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1342) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.namespaces.BasicNamespace._if(BasicNamespace.java:118) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1342) at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1022) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:23) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.view.web.template.NodeNamespace.as_node_page(NodeNamespace.java:911) at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1336) at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58) at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:23) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.view.web.template.ServletNamespace.get_node_from_parameter(ServletNamespace.java:306) at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1336) at nabble.naml.compiler.Template.run(Template.java:90) at nabble.naml.compiler.Template.run(Template.java:62) at nabble.view.web.template.TemplateManager.run(TemplateManager.java:84) at nabble.view.web.template.NamlServlet.service(NamlServlet.java:127) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at fschmidt.util.servlet.JtpContextServlet.service2(JtpContextServlet.java:471) ... 25 more Caused by: java.lang.NullPointerException at nabble.naml.compiler.RunStateImpl.push(RunStateImpl.java:66) at nabble.naml.compiler.RunStateImpl.push(RunStateImpl.java:60) at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:21) at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31) at nabble.naml.compiler.BlockWrapper$BlockWriter.print(BlockWrapper.java:29) at nabble.view.web.template.NabbleNamespace.get_node(NabbleNamespace.java:569) at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20) at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1342) ... 235 more |
Thanks for reporting this issue. The next release will fix it.
|
Free forum by Nabble | Edit this page |