org.apache.velocity.exception.MethodInvocationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 2358#246798198
    via GitHub by ducdhm
    ,
    • org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getAllFunnels' in class com.fuselms.apps.leadman.LeadPage threw exception java.lang.NullPointerException at locallead.loopbackdns.com:/theme/apps/leadman/viewLead.html[line 317, column 88] at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:318) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.Block.render(Block.java:82) at org.apache.velocity.runtime.directive.Block$Reference.render(Block.java:161) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:414) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) at org.apache.velocity.runtime.directive.BlockMacro.render(BlockMacro.java:121) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.apache.velocity.Template.merge(Template.java:356) at org.apache.velocity.Template.merge(Template.java:260) at io.milton.cloud.server.web.templating.TextTemplater.writePage(TextTemplater.java:159) at io.milton.cloud.server.web.templating.TextTemplater.writePage(TextTemplater.java:128) at io.milton.cloud.server.web.templating.SimpleHtmlTemplater.writePage(SimpleHtmlTemplater.java:149) at io.milton.cloud.server.web.templating.SimpleHtmlTemplater.writePage(SimpleHtmlTemplater.java:101) at io.milton.cloud.server.web.templating.ThemeDependentHtmlTemplater.writePage(ThemeDependentHtmlTemplater.java:42) at com.fuselms.apps.leadman.LeadPage.sendContent(LeadPage.java:498) at io.milton.http.CompressingResponseHandler.respondContent(CompressingResponseHandler.java:116) at io.milton.http.AbstractWrappingResponseHandler.respondContent(AbstractWrappingResponseHandler.java:89) at io.milton.http.http11.GetHandler.sendContent(GetHandler.java:220) at io.milton.http.http11.GetHandler.processExistingResource(GetHandler.java:84) at io.milton.http.ResourceHandlerHelper.processResource(ResourceHandlerHelper.java:187) at io.milton.http.http11.GetHandler.processResource(GetHandler.java:66) at io.milton.http.ResourceHandlerHelper.process(ResourceHandlerHelper.java:118) at io.milton.http.http11.GetHandler.process(GetHandler.java:60) at io.milton.http.StandardFilter.process(StandardFilter.java:50) at io.milton.http.FilterChain.process(FilterChain.java:40) at io.milton.cloud.server.db.utils.MiltonOpenSessionInViewFilter$1.execute(MiltonOpenSessionInViewFilter.java:41) at io.milton.context.RootContext.execute(RootContext.java:83) at io.milton.cloud.server.db.utils.MiltonOpenSessionInViewFilter.process(MiltonOpenSessionInViewFilter.java:34) at io.milton.http.FilterChain.process(FilterChain.java:40) at io.milton.http.HttpManager.process(HttpManager.java:158) at co.kademi.server.Kademi$1.service(Kademi.java:196) at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at com.fuselms.apps.leadman.LeadPage.getAllFunnels(LeadPage.java:803) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:142) at org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:539) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:198) ... 42 more
    No Bugmate found.