1 Reply Latest reply on Apr 8, 2017 10:20 AM by Pedro Reis

    WildFly + PrimeFaces Page Render problem

    Vincenzo Tresoldi Newbie

      Hi,

      using WildFly 8.2.1 with Mojarra 2.2.8-jbossorg-1 20140822-1131  I had a strange error.

      This error happens only on Linux server and not on Windows.

      Sometimes the page is not completly rendered and I see a page that seems without css applied.

      On server log I found this error

       

      [0m [31m17:51:11,916 ERROR [stderr] (default task-24) java.lang.NullPointerException

      [0m [31m17:51:11,916 ERROR [stderr] (default task-24) at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.close(ResourceHelper.java:856)

      [0m [31m17:51:11,916 ERROR [stderr] (default task-24) at java.io.BufferedInputStream.close(BufferedInputStream.java:483)

      [0m [31m17:51:11,916 ERROR [stderr] (default task-24) at java.nio.channels.Channels$ReadableByteChannelImpl.implCloseChannel(Channels.java:403)

      [0m [31m17:51:11,916 ERROR [stderr] (default task-24) at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at com.sun.faces.application.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:368)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at org.primefaces.application.resource.PrimeResourceHandler.handleResourceRequest(PrimeResourceHandler.java:87)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:643)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at it.onit.metrica.util.AuthorizationFilter.doFilter(AuthorizationFilter.java:42)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      [0m [31m17:51:11,917 ERROR [stderr] (default task-24) at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

       

      Any suggestion?