Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12702

JSTL EL Evulation not working properly throwing PropertyNotFoundException

    Details

    • Story Points:
      5
    • Steps to Reproduce:
      Hide

      create a jsp Page
      1. import JSTL core libraray <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
      2. create a bean object com.akash.Person and add
      <jsp:useBean id="Person" class="com.akashPerson" scope="session"/>
      3 . write JSTL evaluation ${Person.name}

      try to lunach the wildlfy server with deployed JSP in windows machine
      it will throw the above error mention in the description

      Probable Fix Required in class
      org.apache.jasper.el.JasperELResolver.java of jastow-2.0.17.final.jar

      the below code add resolvers to resolve the object defined for JSTL evulation

      add(new ImplicitObjectELResolver());
      for (ELResolver appResolver : appResolvers)

      { add(appResolver); }
      add(streamResolver);
      add(new StaticFieldELResolver());
      add(new MapELResolver());
      add(new ResourceBundleELResolver());
      add(new ListELResolver());
      add(new ArrayELResolver());
      add(new BeanELResolver());
      add(new ScopedAttributeELResolver());

      appResolvers - contains ImportedClassELResolver

      added as part of wildfly-undertow-16.0.0.jar

      @Override
      public void contextInitialized(final ServletContextEvent sce) {
      // if the servlet version is 3.1 or higher, setup a ELResolver which allows usage of static fields java.lang.*
      final ServletContext servletContext = sce.getServletContext();
      final JspApplicationContext jspApplicationContext = JspFactory.getDefaultFactory().getJspApplicationContext(servletContext);
      if (servletContext.getEffectiveMajorVersion() > 3
      || (servletContext.getEffectiveMajorVersion() == 3 && servletContext.getEffectiveMinorVersion() >= 1)) { jspApplicationContext.addELResolver(new ImportedClassELResolver()); }
      // setup a wrapped JspApplicationContext if there are any EL expression factory wrappers for this servlet context
      final List<ExpressionFactoryWrapper> expressionFactoryWrappers = (List<ExpressionFactoryWrapper>) sce.getServletContext().getAttribute(CONTEXT_KEY);
      if (expressionFactoryWrappers != null && !expressionFactoryWrappers.isEmpty()) { final JspApplicationContextWrapper jspApplicationContextWrapper = new JspApplicationContextWrapper(JspApplicationContextImpl.getInstance(servletContext), expressionFactoryWrappers, sce.getServletContext()); sce.getServletContext().setAttribute(JspApplicationContextImpl.class.getName(), jspApplicationContextWrapper); }
      }

      it will try to think Person class as a Constant Class instead of bean Class instance beacause ImportedClassELResolver is higher in the order and throws the error "name" is not accessible and it will throw the PropertyNotFoundException
      because a constant class property should be public static

      Fix can be to catch to put ImportedClassELResolver at last so first all objects get resolved then static Constant import class should get resolved

      add(new ImplicitObjectELResolver());
      add(streamResolver);
      add(new StaticFieldELResolver());
      add(new MapELResolver());
      add(new ResourceBundleELResolver());
      add(new ListELResolver());
      add(new ArrayELResolver());
      add(new BeanELResolver());
      add(new ScopedAttributeELResolver());
      for (ELResolver appResolver : appResolvers) { add(appResolver); }
      Show
      create a jsp Page 1. import JSTL core libraray <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 2. create a bean object com.akash.Person and add <jsp:useBean id="Person" class="com.akashPerson" scope="session"/> 3 . write JSTL evaluation ${Person.name} try to lunach the wildlfy server with deployed JSP in windows machine it will throw the above error mention in the description Probable Fix Required in class org.apache.jasper.el.JasperELResolver.java of jastow-2.0.17.final.jar the below code add resolvers to resolve the object defined for JSTL evulation add(new ImplicitObjectELResolver()); for (ELResolver appResolver : appResolvers) { add(appResolver); } add(streamResolver); add(new StaticFieldELResolver()); add(new MapELResolver()); add(new ResourceBundleELResolver()); add(new ListELResolver()); add(new ArrayELResolver()); add(new BeanELResolver()); add(new ScopedAttributeELResolver()); appResolvers - contains ImportedClassELResolver added as part of wildfly-undertow-16.0.0.jar @Override public void contextInitialized(final ServletContextEvent sce) { // if the servlet version is 3.1 or higher, setup a ELResolver which allows usage of static fields java.lang.* final ServletContext servletContext = sce.getServletContext(); final JspApplicationContext jspApplicationContext = JspFactory.getDefaultFactory().getJspApplicationContext(servletContext); if (servletContext.getEffectiveMajorVersion() > 3 || (servletContext.getEffectiveMajorVersion() == 3 && servletContext.getEffectiveMinorVersion() >= 1)) { jspApplicationContext.addELResolver(new ImportedClassELResolver()); } // setup a wrapped JspApplicationContext if there are any EL expression factory wrappers for this servlet context final List<ExpressionFactoryWrapper> expressionFactoryWrappers = (List<ExpressionFactoryWrapper>) sce.getServletContext().getAttribute(CONTEXT_KEY); if (expressionFactoryWrappers != null && !expressionFactoryWrappers.isEmpty()) { final JspApplicationContextWrapper jspApplicationContextWrapper = new JspApplicationContextWrapper(JspApplicationContextImpl.getInstance(servletContext), expressionFactoryWrappers, sce.getServletContext()); sce.getServletContext().setAttribute(JspApplicationContextImpl.class.getName(), jspApplicationContextWrapper); } } it will try to think Person class as a Constant Class instead of bean Class instance beacause ImportedClassELResolver is higher in the order and throws the error "name" is not accessible and it will throw the PropertyNotFoundException because a constant class property should be public static Fix can be to catch to put ImportedClassELResolver at last so first all objects get resolved then static Constant import class should get resolved add(new ImplicitObjectELResolver()); add(streamResolver); add(new StaticFieldELResolver()); add(new MapELResolver()); add(new ResourceBundleELResolver()); add(new ListELResolver()); add(new ArrayELResolver()); add(new BeanELResolver()); add(new ScopedAttributeELResolver()); for (ELResolver appResolver : appResolvers) { add(appResolver); }
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      use ${sessionScope.Person.name} instead of ${Person.name}
      it will go to the first ImplicitObjectELResolver and ImportedClassELRsolver will not take the effect

      Show
      use ${sessionScope.Person.name} instead of ${Person.name} it will go to the first ImplicitObjectELResolver and ImportedClassELRsolver will not take the effect
    • Estimated Difficulty:
      Medium

      Description

      Following is the stacktrace

      2019/10/23 16:43:33 INFO [stdout]

      {webui}

      [default task-24] 75 exception_jsp: Error in web. UUID:41f0fb82-fd7a-42bc-8df6-61f40e3aa989 User: ID:1 UserName:akash - org.apache.jasper.JasperException: javax.el.PropertyNotFoundException: Either 'name' is not a public static field of the class 'com.akash.nas.web.query.Person' or field is inacessable

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:473)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)

      2019/10/23 16:43:33 INFO [stdout] at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:81)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:274)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToServlet(ServletInitialHandler.java:219)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.spec.RequestDispatcherImpl.includeImpl(RequestDispatcherImpl.java:392)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.spec.RequestDispatcherImpl.setupIncludeImpl(RequestDispatcherImpl.java:327)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.spec.RequestDispatcherImpl.include(RequestDispatcherImpl.java:291)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:907)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jsp.query.generic.query_resultpage_jsp._jspService(query_resultpage_jsp.java:96)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

      2019/10/23 16:43:33 INFO [stdout] at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)

      2019/10/23 16:43:33 INFO [stdout] at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:81)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:274)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToServlet(ServletInitialHandler.java:219)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.spec.RequestDispatcherImpl.includeImpl(RequestDispatcherImpl.java:392)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.spec.RequestDispatcherImpl.setupIncludeImpl(RequestDispatcherImpl.java:327)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.spec.RequestDispatcherImpl.include(RequestDispatcherImpl.java:291)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:907)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jsp.policy_list_jsp._jspService(policy_list_jsp.java:188)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

      2019/10/23 16:43:33 INFO [stdout] at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)

      2019/10/23 16:43:33 INFO [stdout] at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:81)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:274)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToServlet(ServletInitialHandler.java:219)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.spec.RequestDispatcherImpl.includeImpl(RequestDispatcherImpl.java:392)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.spec.RequestDispatcherImpl.setupIncludeImpl(RequestDispatcherImpl.java:327)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.spec.RequestDispatcherImpl.include(RequestDispatcherImpl.java:291)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:907)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jsp.index_jsp._jspService(index_jsp.java:402)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

      2019/10/23 16:43:33 INFO [stdout] at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)

      2019/10/23 16:43:33 INFO [stdout] at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:81)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:274)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:209)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:228)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImplSetup(RequestDispatcherImpl.java:150)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:112)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1487)

      2019/10/23 16:43:33 INFO [stdout] at com.rendition.web.SentinelActionServlet.process(SentinelActionServlet.java:39)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:505)

      2019/10/23 16:43:33 INFO [stdout] at javax.servlet.http.HttpServlet.service(HttpServlet.java:686)
      2019/10/23 16:43:33 INFO [stdout] at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)

      2019/10/23 16:43:33 INFO [stdout] at com.rendition.web.ParamFilter.doFilter(ParamFilter.java:47)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

      2019/10/23 16:43:33 INFO [stdout] at com.rendition.web.servlets.ResponseFilter.doFilterInternal(ResponseFilter.java:188)

      2019/10/23 16:43:33 INFO [stdout] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

      2019/10/23 16:43:33 INFO [stdout] at com.rendition.web.PermissionFilter.doFilterInternal(PermissionFilter.java:424)

      2019/10/23 16:43:33 INFO [stdout] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

      2019/10/23 16:43:33 INFO [stdout] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:70)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

      2019/10/23 16:43:33 INFO [stdout] at com.rendition.web.PremiumLicenseGeneralFilter.doFilterInternal(PremiumLicenseGeneralFilter.java:38)

      2019/10/23 16:43:33 INFO [stdout] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

      2019/10/23 16:43:33 INFO [stdout] at com.akash.sw.bto.ast.security.lwsso.LWSSOFilter.doFilter(LWSSOFilter.java:99)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

      2019/10/23 16:43:33 INFO [stdout] at com.rendition.web.CsrfValidatorFilter.doFilter(CsrfValidatorFilter.java:49)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

      2019/10/23 16:43:33 INFO [stdout] at com.rendition.web.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:45)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

      2019/10/23 16:43:33 INFO [stdout] at com.rendition.web.SecurityFilter.doFilterInternal(SecurityFilter.java:280)

      2019/10/23 16:43:33 INFO [stdout] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

      2019/10/23 16:43:33 INFO [stdout] at com.akash.ov.nms.as.owasp.NmsOwaspServletFilter.doFilter(NmsOwaspServletFilter.java:581)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

      2019/10/23 16:43:33 INFO [stdout] at com.rendition.web.CustomSamlFilter.doFilter(CustomSamlFilter.java:42)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

      2019/10/23 16:43:33 INFO [stdout] at com.rendition.web.HTTPSRedirectFilter.doFilterInternal(HTTPSRedirectFilter.java:75)

      2019/10/23 16:43:33 INFO [stdout] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

      2019/10/23 16:43:33 INFO [stdout] at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:404)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

      2019/10/23 16:43:33 INFO [stdout] at io.opentracing.contrib.jaxrs2.server.SpanFinishingFilter.doFilter(SpanFinishingFilter.java:55)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

      2019/10/23 16:43:33 INFO [stdout] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

      2019/10/23 16:43:33 INFO [stdout] at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)

      2019/10/23 16:43:33 INFO [stdout] at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

      2019/10/23 16:43:33 INFO [stdout] at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

      2019/10/23 16:43:33 INFO [stdout] at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

      2019/10/23 16:43:33 INFO [stdout] at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:364)

      2019/10/23 16:43:33 INFO [stdout] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)

      2019/10/23 16:43:33 INFO [stdout] at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)

      2019/10/23 16:43:33 INFO [stdout] at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)

      2019/10/23 16:43:33 INFO [stdout] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)

      2019/10/23 16:43:33 INFO [stdout] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)

      2019/10/23 16:43:33 INFO [stdout] at java.lang.Thread.run(Thread.java:748)

      2019/10/23 16:43:33 INFO [stdout] Caused by: javax.el.PropertyNotFoundException: Either 'name' is not a public static field of the class 'com.akash.nas.web.query.Person' or field is inacessable

      2019/10/23 16:43:33 INFO [stdout] at javax.el.StaticFieldELResolver.getValue(StaticFieldELResolver.java:107)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:110)

      2019/10/23 16:43:33 INFO [stdout] at com.sun.el.parser.AstValue.getValue(AstValue.java:139)

      2019/10/23 16:43:33 INFO [stdout] at com.sun.el.parser.AstValue.getValue(AstValue.java:203)

      2019/10/23 16:43:33 INFO [stdout] at com.sun.el.parser.AstGreaterThan.getValue(AstGreaterThan.java:58)

      2019/10/23 16:43:33 INFO [stdout] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:917)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jsp.query.generic.query_navbar_jsp._jspService(query_navbar_jsp.java:139)

      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

      2019/10/23 16:43:33 INFO [stdout] at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
      2019/10/23 16:43:33 INFO [stdout] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)

      2019/10/23 16:43:33 INFO [stdout] ... 183 more

      2019/10/23 16:43:33 INFO [stdout]

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                flavia.rainone Flavia Rainone
                Reporter:
                akash5551 Akash Gupta
                Tester:
                Akash Gupta
                Involved:
                Akash Gupta
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: