Error after trying to customize the NAML macro for my forum

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

Error after trying to customize the NAML macro for my forum

Paolo NPR
I inadvertently created a couple of custom macros, in an attempt to make my forum (PRSS-Test-Mailinglist) auto-refresh.  Now what happens when I click "Usages of this macro" is I get the error below.  Steps to reproduce:

1.  Click "See how NAML generates this page"
2.  Click "Go to Advanced Editor"
3.  Save from the Editor
4. Go back to the forum
5. Click "See how NAML generates this page" again
6. Click "Usages of this macro"

Error message below:

Error 500

macro or method for 'get_email_address_from' not found in [basic, nabble, ad, servlet, ad, string_list]  stack = [basic, nabble, ad, servlet, ad, string_list]
        in get_email_address_from(nabble:manage_users_and_groups.naml:102) - <n.get_email_address_from.current_string/>
        in set_var(nabble:manage_users_and_groups.naml:101) - <n.set_var. name='email'> - public void nabble.naml.namespaces.BasicNamespace.set_var(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in do(nabble:utilities.naml:910) - <n.do/>
        in while(nabble:utilities.naml:908) - <n.while.next_element inc="[n.by/]"> - public void nabble.naml.namespaces.BasicNamespace._while(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in loop(nabble:manage_users_and_groups.naml:100) - <n.loop.>
        in string_list(nabble:manage_users_and_groups.naml:97) - <n.string_list. values="[n.users_field.value/]" separator="\n"> - public void nabble.naml.namespaces.BasicNamespace.string_list(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
        in save_users_and_group(nabble:manage_users_and_groups.naml:9) - <then.save_users_and_group/>
        in if(nabble:manage_users_and_groups.naml:8) - <n.if.is_submitted_form> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in (nabble:manage_users_and_groups.naml:1) - <macro name="manage_users_and_groups" requires="servlet">
        in compile_template(nabble:compile_all.naml:92) - <n.compile_template macro="[n.macro/]" namespaces="[n.namespaces/]" /> - public void nabble.naml.namespaces.BasicNamespace.compile_template(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) throws java.lang.ClassNotFoundException,nabble.naml.compiler.CompileException
        in compile(nabble:compile_all.naml:162) - <n.compile macro="manage_users_and_groups" namespaces="[n.standard_classes/]" />
        in macro(nabble:compile_all.naml:92) - <n.macro/>
        in basic_namespace_class(nabble:compile_all.naml:80) - <n.basic_namespace_class/>
        in nabble_namespace_class(nabble:compile_all.naml:81) - <n.nabble_namespace_class/>
        in base_classes(nabble:compile_all.naml:85) - <n.base_classes/>
        in servlet_namespace_class(nabble:compile_all.naml:86) - <n.servlet_namespace_class/>
        in standard_classes(nabble:compile_all.naml:163) - <n.standard_classes/>
        in namespaces(nabble:compile_all.naml:92) - <n.namespaces/>
        in (ad:ad.naml:1) - <override_macro name="compile_all">
        in run_compile_all(nabble:macro_viewer.naml:1154) - <then.run_compile_all/> - public void nabble.view.web.template.NabbleNamespace.run_compile_all(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) throws nabble.naml.compiler.CompileException
        in if(nabble:macro_viewer.naml:1153) - <n.if.not.is_compiled_all> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in compile_if_needed(nabble:macro_viewer.naml:863) - <n.compile_if_needed/>
        in current_permission_version(nabble:permissions.naml:6) - <n.current_permission_version/>
        in macro_source(nabble:macro_viewer.naml:848) - <n.macro_source.
                                id="[n.current_command_id/]"
                                base="[n.current_base_classes/]"
                                breadcrumbs="[n.current_breadcrumbs/]"
                        > - public void nabble.view.web.template.NabbleNamespace.macro_source(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
        in current_permission_version(nabble:permissions.naml:6) - <n.current_permission_version/>
        in if(nabble:macro_viewer.naml:846) - <n.if.command_exists id="[n.current_command_id/]"> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in (nabble:macro_viewer.naml:845) - <macro name="find_usages_page" requires="servlet">

Message: macro or method for 'get_email_address_from' not found in [basic, nabble, ad, servlet, ad, string_list] stack = [basic, nabble, ad, servlet, ad, string_list]

RequestURI: /template/NamlServlet.jtp

Server: n5.nabble.com
Caused by:

fschmidt.util.servlet.JtpContextServlet$JtpServletException: url=http://prss-test-mailinglist.1065826.n5.nabble.com/template/NamlServlet.jtp?macro=find_usages_page&id=view_standard%21nabble%3Aview_standard.naml&base=nabble.view.web.template.ServletNamespace  method=GET user-agent=Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0 referer=http://prss-test-mailinglist.1065826.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=view_standard%21nabble%3Aview_standard.naml&base=nabble.view.web.template.ServletNamespace remote=205.153.36.170
        at fschmidt.util.servlet.JtpContextServlet.handleException(JtpContextServlet.java:558)
        at fschmidt.util.servlet.JtpContextServlet.service2(JtpContextServlet.java:463)
        at fschmidt.util.servlet.JtpContextServlet.service(JtpContextServlet.java:332)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1360)
        at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
        at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:144)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at cachingfilter.CachingFilter.doFilter(CachingFilter.java:133)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at fschmidt.util.servlet.BadBotFilter.doFilter(BadBotFilter.java:74)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at fschmidt.util.servlet.ConnectionLimitFilter.doFilter(ConnectionLimitFilter.java:94)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at nabble.view.lib.NabbleErrorFilter.doFilter(NabbleErrorFilter.java:21)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
        at org.eclipse.jetty.server.Server.handle(Server.java:349)
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:449)
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:910)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
        at nabble.model.Executors$1$1.run(Executors.java:27)
        at fschmidt.util.executor.ThreadTimer$1.run(ThreadTimer.java:18)
        at fschmidt.util.executor.AbstractThreadPool$1.run(AbstractThreadPool.java:29)
        at java.lang.Thread.run(Thread.java:662)
Caused by: nabble.naml.compiler.TemplateRuntimeException: macro or method for 'get_email_address_from' not found in [basic, nabble, ad, servlet, ad, string_list]  stack = [basic, nabble, ad, servlet, ad, string_list]
        in get_email_address_from(nabble:manage_users_and_groups.naml:102) - <n.get_email_address_from.current_string/>
        in set_var(nabble:manage_users_and_groups.naml:101) - <n.set_var. name='email'> - public void nabble.naml.namespaces.BasicNamespace.set_var(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in do(nabble:utilities.naml:910) - <n.do/>
        in while(nabble:utilities.naml:908) - <n.while.next_element inc="[n.by/]"> - public void nabble.naml.namespaces.BasicNamespace._while(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in loop(nabble:manage_users_and_groups.naml:100) - <n.loop.>
        in string_list(nabble:manage_users_and_groups.naml:97) - <n.string_list. values="[n.users_field.value/]" separator="\n"> - public void nabble.naml.namespaces.BasicNamespace.string_list(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
        in save_users_and_group(nabble:manage_users_and_groups.naml:9) - <then.save_users_and_group/>
        in if(nabble:manage_users_and_groups.naml:8) - <n.if.is_submitted_form> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in (nabble:manage_users_and_groups.naml:1) - <macro name="manage_users_and_groups" requires="servlet">
        in compile_template(nabble:compile_all.naml:92) - <n.compile_template macro="[n.macro/]" namespaces="[n.namespaces/]" /> - public void nabble.naml.namespaces.BasicNamespace.compile_template(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) throws java.lang.ClassNotFoundException,nabble.naml.compiler.CompileException
        in compile(nabble:compile_all.naml:162) - <n.compile macro="manage_users_and_groups" namespaces="[n.standard_classes/]" />
        in macro(nabble:compile_all.naml:92) - <n.macro/>
        in basic_namespace_class(nabble:compile_all.naml:80) - <n.basic_namespace_class/>
        in nabble_namespace_class(nabble:compile_all.naml:81) - <n.nabble_namespace_class/>
        in base_classes(nabble:compile_all.naml:85) - <n.base_classes/>
        in servlet_namespace_class(nabble:compile_all.naml:86) - <n.servlet_namespace_class/>
        in standard_classes(nabble:compile_all.naml:163) - <n.standard_classes/>
        in namespaces(nabble:compile_all.naml:92) - <n.namespaces/>
        in (ad:ad.naml:1) - <override_macro name="compile_all">
        in run_compile_all(nabble:macro_viewer.naml:1154) - <then.run_compile_all/> - public void nabble.view.web.template.NabbleNamespace.run_compile_all(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) throws nabble.naml.compiler.CompileException
        in if(nabble:macro_viewer.naml:1153) - <n.if.not.is_compiled_all> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in compile_if_needed(nabble:macro_viewer.naml:863) - <n.compile_if_needed/>
        in current_permission_version(nabble:permissions.naml:6) - <n.current_permission_version/>
        in macro_source(nabble:macro_viewer.naml:848) - <n.macro_source.
                                id="[n.current_command_id/]"
                                base="[n.current_base_classes/]"
                                breadcrumbs="[n.current_breadcrumbs/]"
                        > - public void nabble.view.web.template.NabbleNamespace.macro_source(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
        in current_permission_version(nabble:permissions.naml:6) - <n.current_permission_version/>
        in if(nabble:macro_viewer.naml:846) - <n.if.command_exists id="[n.current_command_id/]"> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in (nabble:macro_viewer.naml:845) - <macro name="find_usages_page" requires="servlet">
        at nabble.naml.compiler.Compiler.interpFix(Compiler.java:2010)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1639)
        at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1124)
        at nabble.naml.compiler.Template.run(Template.java:60)
        at nabble.naml.compiler.Template.run(Template.java:33)
        at nabble.view.web.template.CompileTest.runCompileAllMacro(CompileTest.java:242)
        at nabble.view.web.template.CompileTest.compileAll(CompileTest.java:51)
        at nabble.view.web.template.NabbleNamespace.run_compile_all(NabbleNamespace.java:1245)
        at sun.reflect.GeneratedMethodAccessor518.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:26)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1560)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1628)
        at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:68)
        at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31)
        at nabble.naml.namespaces.BasicNamespace._if(BasicNamespace.java:140)
        at sun.reflect.GeneratedMethodAccessor5.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:26)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1560)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1634)
        at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1124)
        at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:68)
        at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:25)
        at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31)
        at nabble.view.web.template.NabbleNamespace.macro_source(NabbleNamespace.java:1085)
        at sun.reflect.GeneratedMethodAccessor322.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:26)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1560)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1634)
        at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:68)
        at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31)
        at nabble.naml.namespaces.BasicNamespace._if(BasicNamespace.java:140)
        at sun.reflect.GeneratedMethodAccessor5.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:26)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1560)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1634)
        at nabble.naml.compiler.Template.run(Template.java:60)
        at nabble.naml.compiler.Template.run(Template.java:33)
        at nabble.modules.ModuleManager.run(ModuleManager.java:269)
        at nabble.view.web.template.NamlServlet.service(NamlServlet.java:164)
        at nabble.view.web.template.NamlServlet.service(NamlServlet.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at fschmidt.util.servlet.JtpContextServlet.service2(JtpContextServlet.java:461)
        ... 37 more
Caused by: nabble.naml.compiler.CompileMethodException: macro or method for 'get_email_address_from' not found in [basic, nabble, ad, servlet, ad, string_list]  stack = [basic, nabble, ad, servlet, ad, string_list]
        in get_email_address_from(nabble:manage_users_and_groups.naml:102) - <n.get_email_address_from.current_string/>
        in set_var(nabble:manage_users_and_groups.naml:101) - <n.set_var. name='email'> - public void nabble.naml.namespaces.BasicNamespace.set_var(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in do(nabble:utilities.naml:910) - <n.do/>
        in while(nabble:utilities.naml:908) - <n.while.next_element inc="[n.by/]"> - public void nabble.naml.namespaces.BasicNamespace._while(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in loop(nabble:manage_users_and_groups.naml:100) - <n.loop.>
        in string_list(nabble:manage_users_and_groups.naml:97) - <n.string_list. values="[n.users_field.value/]" separator="\n"> - public void nabble.naml.namespaces.BasicNamespace.string_list(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
        in save_users_and_group(nabble:manage_users_and_groups.naml:9) - <then.save_users_and_group/>
        in if(nabble:manage_users_and_groups.naml:8) - <n.if.is_submitted_form> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in (nabble:manage_users_and_groups.naml:1) - <macro name="manage_users_and_groups" requires="servlet">
        at nabble.naml.compiler.Compiler.getCommandCall(Compiler.java:981)
        at nabble.naml.compiler.Compiler.multiMethodTag(Compiler.java:562)
        at nabble.naml.compiler.Compiler.compileElement(Compiler.java:498)
        at nabble.naml.compiler.Compiler.compile(Compiler.java:306)
        at nabble.naml.compiler.Compiler.getDotArg(Compiler.java:743)
        at nabble.naml.compiler.Compiler.singleMethodTag(Compiler.java:534)
        at nabble.naml.compiler.Compiler.compileElement(Compiler.java:496)
        at nabble.naml.compiler.Compiler.compile(Compiler.java:306)
        at nabble.naml.compiler.Compiler.getMacroArgChunk(Compiler.java:637)
        at nabble.naml.compiler.Compiler.singleMethodTag(Compiler.java:513)
        at nabble.naml.compiler.Compiler.compileElement(Compiler.java:496)
        at nabble.naml.compiler.Compiler.compile(Compiler.java:306)
        at nabble.naml.compiler.Compiler.getTagArgs(Compiler.java:772)
        at nabble.naml.compiler.Compiler.multiMethodTag(Compiler.java:603)
        at nabble.naml.compiler.Compiler.compileElement(Compiler.java:498)
        at nabble.naml.compiler.Compiler.compile(Compiler.java:306)
        at nabble.naml.compiler.Compiler.compileMacro(Compiler.java:243)
        at nabble.naml.compiler.Compiler.getMacroChunk2(Compiler.java:732)
        at nabble.naml.compiler.Compiler.getMacroChunk(Compiler.java:663)
        at nabble.naml.compiler.Compiler.singleMethodTag(Compiler.java:528)
        at nabble.naml.compiler.Compiler.compileElement(Compiler.java:496)
        at nabble.naml.compiler.Compiler.compile(Compiler.java:306)
        at nabble.naml.compiler.Compiler.getDotArg(Compiler.java:743)
        at nabble.naml.compiler.Compiler.singleMethodTag(Compiler.java:534)
        at nabble.naml.compiler.Compiler.compileElement(Compiler.java:496)
        at nabble.naml.compiler.Compiler.compile(Compiler.java:306)
        at nabble.naml.compiler.Compiler.compileMacro(Compiler.java:243)
        at nabble.naml.compiler.Compiler.getMacroChunk2(Compiler.java:732)
        at nabble.naml.compiler.Compiler.getMacroChunk(Compiler.java:663)
        at nabble.naml.compiler.Compiler.singleMethodTag(Compiler.java:528)
        at nabble.naml.compiler.Compiler.compileElement(Compiler.java:496)
        at nabble.naml.compiler.Compiler.getTagArgs(Compiler.java:774)
        at nabble.naml.compiler.Compiler.multiMethodTag(Compiler.java:603)
        at nabble.naml.compiler.Compiler.compileElement(Compiler.java:498)
        at nabble.naml.compiler.Compiler.compile(Compiler.java:306)
        at nabble.naml.compiler.Compiler.compileMacro(Compiler.java:243)
        at nabble.naml.compiler.Compiler.compile(Compiler.java:89)
        at nabble.naml.compiler.Compiler.compile(Compiler.java:61)
        at nabble.naml.compiler.Program$1.get(Program.java:88)
        at nabble.naml.compiler.Program$1.get(Program.java:84)
        at fschmidt.util.java.Memoizer$1.call(Memoizer.java:30)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at fschmidt.util.java.FastFuture.run(FastFuture.java:21)
        at fschmidt.util.java.Memoizer.get(Memoizer.java:37)
        at nabble.naml.compiler.Program.getTemplate(Program.java:280)
        at nabble.naml.compiler.Program.getTemplate(Program.java:262)
        at nabble.naml.namespaces.BasicNamespace.compile_template(BasicNamespace.java:996)
        at sun.reflect.GeneratedMethodAccessor439.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:26)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1560)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1628)
        at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1124)
        at nabble.naml.compiler.Template.run(Template.java:60)
        at nabble.naml.compiler.Template.run(Template.java:33)
        at nabble.view.web.template.CompileTest.runCompileAllMacro(CompileTest.java:242)
        at nabble.view.web.template.CompileTest.compileAll(CompileTest.java:51)
        at nabble.view.web.template.NabbleNamespace.run_compile_all(NabbleNamespace.java:1245)
        at sun.reflect.GeneratedMethodAccessor518.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:26)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1560)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1628)
        at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:68)
        at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31)
        at nabble.naml.namespaces.BasicNamespace._if(BasicNamespace.java:140)
        at sun.reflect.GeneratedMethodAccessor5.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:26)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1560)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1634)
        at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1124)
        at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:68)
        at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:25)
        at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31)
        at nabble.view.web.template.NabbleNamespace.macro_source(NabbleNamespace.java:1085)
        at sun.reflect.GeneratedMethodAccessor322.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:26)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1560)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1634)
        at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:68)
        at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31)
        at nabble.naml.namespaces.BasicNamespace._if(BasicNamespace.java:140)
        at sun.reflect.GeneratedMethodAccessor5.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:26)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1560)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1634)
        at nabble.naml.compiler.Template.run(Template.java:60)
        at nabble.naml.compiler.Template.run(Template.java:33)
        at nabble.modules.ModuleManager.run(ModuleManager.java:269)
        at nabble.view.web.template.NamlServlet.service(NamlServlet.java:164)
        at nabble.view.web.template.NamlServlet.service(NamlServlet.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at fschmidt.util.servlet.JtpContextServlet.service2(JtpContextServlet.java:461)
        at fschmidt.util.servlet.JtpContextServlet.service(JtpContextServlet.java:332)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1360)
        at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
        at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:181)
        ... 31 more
Reply | Threaded
Open this post in threaded view
|

Re: Error after trying to customize the NAML macro for my forum

Paolo NPR
I just created another forum.  This time all I did was click "See how NAML generated this page" and then clicked "Usages of this macro".  I still got the same long error message.
Reply | Threaded
Open this post in threaded view
|

Re: Error after trying to customize the NAML macro for my forum

Pedro
Thanks for reporting. It is everything ok for me but I will investigate what happened.
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Error after trying to customize the NAML macro for my forum

Hugo <Nabble>
In reply to this post by Paolo NPR
This bug has been fixed. Please let us know if you still have issues.