Struts Problem Report

Struts has detected an unhandled exception:

Messages:
  • Cannot invoke "Object.toString()" because the return value of "java.util.Map.get(Object)" is null
  • File: com/coordn8/common/menu/MenuInterceptor.java
    Line number: 56

    Stacktraces

    java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "java.util.Map.get(Object)" is null
        com.coordn8.common.menu.MenuInterceptor.intercept(MenuInterceptor.java:56)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:256)
        com.coordn8.common.header.HeaderInterceptor.intercept(HeaderInterceptor.java:182)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:256)
        com.coordn8.conf.InitializeInterceptor.intercept(InitializeInterceptor.java:322)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:256)
        org.apache.struts2.factory.StrutsActionProxy.execute(StrutsActionProxy.java:48)
        org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:703)
        org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79)
        org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.handleRequest(StrutsPrepareAndExecuteFilter.java:157)
        org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.tryHandleRequest(StrutsPrepareAndExecuteFilter.java:140)
        org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:128)
        org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
        org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
        org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168)
        org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
        org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:597)
        org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
        org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
        org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
        org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
        org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:383)
        org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
        org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:937)
        org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791)
        org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
        org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
        org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
        org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
        java.base/java.lang.Thread.run(Thread.java:1575)