Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-548

ActionInterceptor BVTs failing when logging is set to "warn"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • V1Beta
    • v1m1
    • NetUI
    • None
    • Tomcat, with logging set to "warn" for org.apache.beehive.netui.*

    Description

      The following coreWeb ActionInterceptor tests fail when logging is set to "warn" for org.apache.beehive.netui.*:

      miniTests/ActionInterceptorsGlobal
      miniTests/ActionInterceptorsOverrideForwards
      miniTests/ActionInterceptorsSimple

      All three are producing the same stack trace:

      java.lang.UnsupportedOperationException: The getKeys() method is not supported on the MessageResources type.
      at org.apache.beehive.netui.script.common.bundle.StrutsBundleNode.getKeys(StrutsBundleNode.java:48)
      at org.apache.beehive.netui.script.common.BundleMap$BundleNodeMap.entrySet(BundleMap.java:359)
      at java.util.AbstractMap.toString(AbstractMap.java:584)
      at java.lang.String.valueOf(String.java:2577)
      at java.lang.StringBuffer.append(StringBuffer.java:220)
      at java.util.AbstractMap.toString(AbstractMap.java:598)
      at java.lang.String.valueOf(String.java:2577)
      at java.lang.StringBuffer.append(StringBuffer.java:220)
      at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptorContext$OriginalForward.saveRequestAttrs(ActionInterceptorContext.java:166)
      at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptorContext$OriginalForward.(ActionInterceptorContext.java:146)
      at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptorContext.setOverrideForward(ActionInterceptorContext.java:106)
      at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.setOverrideForward(ActionInterceptor.java:86)
      at org.apache.beehive.netui.pageflow.interceptor.action.SimpleActionInterceptor.doit(SimpleActionInterceptor.java:52)
      at org.apache.beehive.netui.pageflow.interceptor.action.SimpleActionInterceptor.preAction(SimpleActionInterceptor.java:37)
      at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.preInvoke(ActionInterceptor.java:70)
      at org.apache.beehive.netui.pageflow.interceptor.Interceptors$PreInvokeInterceptorChain.invoke(Interceptors.java:56)
      at org.apache.beehive.netui.pageflow.interceptor.InterceptorChain.continueChain(InterceptorChain.java:39)
      at miniTests.actionInterceptors.GlobalInterceptor.preAction(GlobalInterceptor.java:39)
      at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.preInvoke(ActionInterceptor.java:70)
      at org.apache.beehive.netui.pageflow.interceptor.Interceptors$PreInvokeInterceptorChain.invoke(Interceptors.java:56)
      at org.apache.beehive.netui.pageflow.interceptor.InterceptorChain.continueChain(InterceptorChain.java:39)
      at org.apache.beehive.netui.pageflow.interceptor.Interceptors.doPreIntercept(Interceptors.java:31)
      at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2009)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
      at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:593)
      at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:854)
      at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:606)
      at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:162)
      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
      at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.forward(DefaultForwardRedirectHandler.java:127)
      at pageFlowCore.forwards.Controller$FakeRedirector.forward(Controller.java:39)
      at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1752)
      at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processPageFlowRequest(PageFlowRequestProcessor.java:759)
      at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:518)
      at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:854)
      at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:606)
      at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:162)
      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

      Attachments

        Activity

          People

            njantz Nathan Jantz
            njantz Nathan Jantz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: