1 Reply Latest reply on Dec 21, 2016 7:56 AM by Mukta Jindal

    WildFly 9.0.2.Final - Exceptions UT010019 and UT005023

    Mukta Jindal Newbie

      Hi All,

       

      My application is live since last 6 months, I got this issue for the first time just on a single day. I have attached detailed log file - exception_UT010019_UT005023.txt with this discussion.

       

      Technology Stack:

      - WildFly 9.0.2.Final

      - Java 1.8

      - Spring Framework 4.2.1.RELEASE

      - Spring Security 4.0.1.RELEASE (for Active Directory authentication of users using LDAP)

       

      Data sent from client side:

      - An object of class "FormInput" containing a list (member variable name "trips") of objects of class "Trip", Object "Trip" has many member variables, one of which is "serviceDay" of type java.util.Date

       

      Resolutions Tried:

      - User logged out and tried after a fresh login but it didn't help.

      - Even tried doing the same operation from different workstations but to no use.

       

      My Interpretation:

      As far as I could understand this error message, it seems that Object "FormInput" sent from client side has a list of 63 "Trip" objects out of which there is an object with "serviceDay" as null.

      This is not possible as this is a non-nullable field in my data.

      I am not sure whether it could be a bug with WildFly. I found a few bugs (marked as resolved though) related to these error codes - UT010019, UT005023.

       

      I would really appreciate if someone could please look into this and share their views.

       

      =====================================================================================================================

      [08-Dec-2016 15:08:30] [WARN ] [org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver]  - Handling of [org.springframework.http.converter.HttpMessageNotReadableException] resulted in Exception

      java.lang.IllegalStateException: UT010019: Response already commited

                     at io.undertow.servlet.spec.HttpServletResponseImpl.sendError(HttpServletResponseImpl.java:124)

                     at io.undertow.servlet.spec.HttpServletResponseImpl.sendError(HttpServletResponseImpl.java:167)

                     at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:167)

                     at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:167)

                     at org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper.sendError(SaveContextOnUpdateOrErrorResponseWrapper.java:92)

                     at org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver.handleHttpMessageNotReadable(DefaultHandlerExceptionResolver.java:379)

                     .

                     .

                     .

                     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)

                     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-Dec-2016 15:08:30] [ERROR] [io.undertow.request]  - UT005023: Exception handling request to /submit-trips/

      org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.http.converter.HttpMessageNotReadableException: Could not read document: (was java.lang.NullPointerException) (through reference chain: com.lily.object.FormInput["trips"]->java.util.ArrayList[63]->com.lily.object.Trip["serviceDay"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: com.lily.object.FormInput["trips"]->java.util.ArrayList[63]->com.lily.object.Trip["serviceDay"])

                     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)

                     at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)

                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

                     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)

                     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 org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)

                     .

                     .

                     .

                     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)

                     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)

      =====================================================================================================================

       

      Regards,

      Mukta

       

      [08-Dec-2016 15:08:30] [WARN ] [org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver]  - Handling of [org.springframework.http.converter.HttpMessageNotReadableException] resulted in Exceptionjava.lang.IllegalStateException: UT010019: Response already commited               at io.undertow.servlet.spec.HttpServletResponseImpl.sendError(HttpServletResponseImpl.java:124)               at io.undertow.servlet.spec.HttpServletResponseImpl.sendError(HttpServletResponseImpl.java:167)               at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:167)               at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:167)               at org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper.sendError(SaveContextOnUpdateOrErrorResponseWrapper.java:92)               at org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver.handleHttpMessageNotReadable(DefaultHandlerExceptionResolver.java:379)               at org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver.doResolveException(DefaultHandlerExceptionResolver.java:143)               at org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:134)               at org.springframework.web.servlet.handler.HandlerExceptionResolverComposite.resolveException(HandlerExceptionResolverComposite.java:74)               at org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:1183)               at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1020)               at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:971)               at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)               at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)               at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)               at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)               at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)               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 org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)               at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)               at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:122)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:168)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:48)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)               at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:120)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)               at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:53)               at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:152)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)               at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)               at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)               at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)               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:58)               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.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)               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:282)               at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)               at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)               at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)               at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)               at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)               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-Dec-2016 15:08:30] [ERROR] [io.undertow.request]  - UT005023: Exception handling request to /mtv/submit-trips/org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.http.converter.HttpMessageNotReadableException: Could not read document: (was java.lang.NullPointerException) (through reference chain: com.lily.mtv.object.FormInput["trips"]->java.util.ArrayList[63]->com.lily.mtv.object.Trip["serviceDay"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: com.lily.mtv.object.FormInput["trips"]->java.util.ArrayList[63]->com.lily.mtv.object.Trip["serviceDay"])               at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)               at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)               at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)               at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)               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 org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)               at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)               at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:122)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:168)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:48)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)               at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:120)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)               at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:53)               at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:152)               at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)               at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)               at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)               at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)               at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)               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:58)               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.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)               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:282)               at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)               at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)               at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)               at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)               at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)               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)Caused by: org.springframework.http.converter.HttpMessageNotReadableException: Could not read document: (was java.lang.NullPointerException) (through reference chain: com.lily.mtv.object.FormInput["trips"]->java.util.ArrayList[63]->com.lily.mtv.object.Trip["serviceDay"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: com.lily.mtv.object.FormInput["trips"]->java.util.ArrayList[63]->com.lily.mtv.object.Trip["serviceDay"])               at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:224)               at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.read(AbstractJackson2HttpMessageConverter.java:208)               at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(AbstractMessageConverterMethodArgumentResolver.java:193)               at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.readWithMessageConverters(RequestResponseBodyMethodProcessor.java:148)               at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.resolveArgument(RequestResponseBodyMethodProcessor.java:125)               at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:78)               at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:162)               at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:129)               at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:111)               at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:806)               at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:729)               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:970)               ... 68 moreCaused by: com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: com.lily.mtv.object.FormInput["trips"]->java.util.ArrayList[63]->com.lily.mtv.object.Trip["serviceDay"])               at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:210)               at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:177)               at com.fasterxml.jackson.databind.deser.impl.BeanPropertyMap.wrapAndThrow(BeanPropertyMap.java:439)               at com.fasterxml.jackson.databind.deser.impl.BeanPropertyMap.findDeserializeAndSet(BeanPropertyMap.java:287)               at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:335)               at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:142)               at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:240)               at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:212)               at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:25)               at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:523)               at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)               at com.fasterxml.jackson.databind.deser.impl.BeanPropertyMap._findDeserializeAndSet2(BeanPropertyMap.java:313)               at com.fasterxml.jackson.databind.deser.impl.BeanPropertyMap.findDeserializeAndSet(BeanPropertyMap.java:291)               at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:335)               at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:142)               at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3562)               at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2662)               at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:221)               ... 82 moreCaused by: java.lang.NullPointerException               at java.lang.System.arraycopy(Native Method)               at com.sun.crypto.provider.GCTR.reset(GCTR.java:125)               at com.sun.crypto.provider.GCTR.doFinal(GCTR.java:116)               at com.sun.crypto.provider.GaloisCounterMode.doLastBlock(GaloisCounterMode.java:343)               at com.sun.crypto.provider.GaloisCounterMode.decryptFinal(GaloisCounterMode.java:511)               at com.sun.crypto.provider.CipherCore.finalNoPadding(CipherCore.java:1023)               at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:960)               at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:479)               at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:830)               at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)               at javax.crypto.Cipher.doFinal(Cipher.java:2460)               at sun.security.ssl.CipherBox.decrypt(CipherBox.java:535)               at sun.security.ssl.EngineInputRecord.decrypt(EngineInputRecord.java:200)               at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:974)               at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:907)               at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781)               at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)               at org.xnio.ssl.JsseSslConduitEngine.engineUnwrap(JsseSslConduitEngine.java:688)               at org.xnio.ssl.JsseSslConduitEngine.unwrap(JsseSslConduitEngine.java:620)               at org.xnio.ssl.JsseSslConduitEngine.unwrap(JsseSslConduitEngine.java:574)               at org.xnio.ssl.JsseSslStreamSourceConduit.read(JsseSslStreamSourceConduit.java:89)               at org.xnio.conduits.AbstractStreamSourceConduit.read(AbstractStreamSourceConduit.java:51)               at io.undertow.conduits.ReadDataStreamSourceConduit.read(ReadDataStreamSourceConduit.java:67)               at io.undertow.conduits.FixedLengthStreamSourceConduit.read(FixedLengthStreamSourceConduit.java:244)               at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)               at io.undertow.channels.DetachableStreamSourceChannel.read(DetachableStreamSourceChannel.java:209)               at io.undertow.server.HttpServerExchange$ReadDispatchChannel.read(HttpServerExchange.java:2136)               at org.xnio.channels.Channels.readBlocking(Channels.java:294)               at io.undertow.servlet.spec.ServletInputStreamImpl.readIntoBuffer(ServletInputStreamImpl.java:170)               at io.undertow.servlet.spec.ServletInputStreamImpl.read(ServletInputStreamImpl.java:146)               at java.io.FilterInputStream.read(FilterInputStream.java:133)               at java.io.PushbackInputStream.read(PushbackInputStream.java:186)               at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.loadMore(UTF8StreamJsonParser.java:180)               at com.fasterxml.jackson.core.base.ParserBase.loadMoreGuaranteed(ParserBase.java:460)               at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishString2(UTF8StreamJsonParser.java:2306)               at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishString(UTF8StreamJsonParser.java:2287)               at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.getText(UTF8StreamJsonParser.java:286)               at com.fasterxml.jackson.databind.deser.std.StdDeserializer._parseDate(StdDeserializer.java:741)               at com.fasterxml.jackson.databind.deser.std.DateDeserializers$DateBasedDeserializer._parseDate(DateDeserializers.java:176)               at com.fasterxml.jackson.databind.deser.std.DateDeserializers$DateDeserializer.deserialize(DateDeserializers.java:262)               at com.fasterxml.jackson.databind.deser.std.DateDeserializers$DateDeserializer.deserialize(DateDeserializers.java:246)               at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:523)               at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)               at com.fasterxml.jackson.databind.deser.impl.BeanPropertyMap.findDeserializeAndSet(BeanPropertyMap.java:285)               ... 96 more

        • 1. Re: WildFly 9.0.2.Final - Exceptions UT010019 and UT005023
          Mukta Jindal Newbie

          I have again got this exception, this time while deserializing a java.util.List object within an object:

           

          ============

                         at java.io.FilterInputStream.read(FilterInputStream.java:133)

                         at java.io.PushbackInputStream.read(PushbackInputStream.java:186)

                         at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.loadMore(UTF8StreamJsonParser.java:180)

                         at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.parseEscapedName(UTF8StreamJsonParser.java:1885)

                         at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.slowParseName(UTF8StreamJsonParser.java:1793)

                         at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._parseName(UTF8StreamJsonParser.java:1621)

                         at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:700)

                         at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:138)

                         at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:240)

                         ... 93 more

          =============

           

          I am using com.fasterxml.jackson.core-jackson-databind version 2.4.1, which is quite old.

           

          Could it be somehow similar to an issue raised for Scala - Support jackson-databind 2.7 · Issue #233 · FasterXML/jackson-module-scala · GitHub

           

          Any help would be highly appreciated.

           

          Thanks !!