Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1615

Exception in server log when running the spring-petclinic functional tests

XMLWordPrintable

      I merged the pull (https://github.com/jboss-developer/jboss-eap-quickstarts/pull/1661) to fix tests of JSON, JDBC, and Spring Data in spring-petclinic #1661

      However, I noticed there is an exception in the server log when the functional tests are run:

      08:05:45,491 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-51) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:45,491 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-50) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:45,491 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-54) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:45,491 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-50) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:45,491 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-51) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:45,491 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-54) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:45,494 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-52) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:45,494 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-52) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:45,613 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-53) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:45,613 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-56) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:45,613 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-53) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:45,613 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-56) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:47,173 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-63) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:47,173 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-63) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:47,267 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-71) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:47,267 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-71) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:47,343 WARN  [warn] (default task-75) Handler execution resulted in exception: java.lang.RuntimeException: Expected: controller used to showcase what happens when an exception is thrown
      	at org.springframework.samples.petclinic.web.CrashController.triggerException(CrashController.java:35)
      	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.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
      	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
      	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
      	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)
      	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)
      	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
      	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
      	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
      	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
      	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:858)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
      	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
      	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
      	at com.github.dandelion.datatables.core.web.filter.DatatablesFilter.doFilter(DatatablesFilter.java:74)
      	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
      	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
      	at com.github.dandelion.core.web.DandelionFilter.doFilter(DandelionFilter.java:128)
      	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
      	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
      	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)
      	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
      	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
      	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
      	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
      	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
      	at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
      	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
      	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
      	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
      	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
      	at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
      	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)
      	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
      	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
      	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)
      	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:198)
      	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:784)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      
      08:05:47,377 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-78) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      08:05:47,377 WARN  [com.github.dandelion.core.web.handler.cache.HttpHeaderUtils] (default task-78) For some unknown reason, the response seems empty. The ETag won't be computed for this response.
      

            sgilda_jira Sande Gilda (Inactive)
            sgilda_jira Sande Gilda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: