org.springframework.beans.InvalidPropertyException: Invalid property 'applicationInfoList[0]' of bean class [org.test.model.ApplicationForm]: Illegal attempt to get property 'applicationInfoList' threw exception; nested exception is org.springframework.beans.NullValueInNestedPathException: Invalid property 'applicationInfoList[0]' of bean class [org.test.model.ApplicationForm]: Cannot access indexed value of property referenced in indexed property path 'applicationInfoList[0]': returned null

Spring JIRA | Parthiban Samykutti | 5 years ago
  1. 0

    {code:java} org.springframework.beans.InvalidPropertyException: Invalid property 'applicationInfoList[0]' of bean class [org.test.model.ApplicationForm]: Illegal attempt to get property 'applicationInfoList' threw exception; nested exception is org.springframework.beans.NullValueInNestedPathException: Invalid property 'applicationInfoList[0]' of bean class [org.test.model.ApplicationForm]: Cannot access indexed value of property referenced in indexed property path 'applicationInfoList[0]': returned null at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:826) at org.springframework.beans.BeanWrapperImpl.getNestedBeanWrapper(BeanWrapperImpl.java:555) at org.springframework.beans.BeanWrapperImpl.getBeanWrapperForPropertyPath(BeanWrapperImpl.java:532) at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:904) at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:76) at org.springframework.validation.DataBinder.applyPropertyValues(DataBinder.java:673) at org.springframework.validation.DataBinder.doBind(DataBinder.java:569) at org.springframework.web.bind.WebDataBinder.doBind(WebDataBinder.java:191) at org.springframework.web.bind.ServletRequestDataBinder.bind(ServletRequestDataBinder.java:110) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter$ServletHandlerMethodInvoker.doBind(AnnotationMethodHandlerAdapter.java:734) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doBind(HandlerMethodInvoker.java:815) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.resolveHandlerArguments(HandlerMethodInvoker.java:359) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:171) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:427) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:415) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:788) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:717) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: org.springframework.beans.NullValueInNestedPathException: Invalid property 'applicationInfoList[0]' of bean class [org.test.model.ApplicationForm]: Cannot access indexed value of property referenced in indexed property path 'applicationInfoList[0]': returned null at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:744) ... 32 more {code}

    Spring JIRA | 5 years ago | Parthiban Samykutti
    org.springframework.beans.InvalidPropertyException: Invalid property 'applicationInfoList[0]' of bean class [org.test.model.ApplicationForm]: Illegal attempt to get property 'applicationInfoList' threw exception; nested exception is org.springframework.beans.NullValueInNestedPathException: Invalid property 'applicationInfoList[0]' of bean class [org.test.model.ApplicationForm]: Cannot access indexed value of property referenced in indexed property path 'applicationInfoList[0]': returned null
  2. 0

    {code:java} org.springframework.beans.InvalidPropertyException: Invalid property 'applicationInfoList[0]' of bean class [org.test.model.ApplicationForm]: Illegal attempt to get property 'applicationInfoList' threw exception; nested exception is org.springframework.beans.NullValueInNestedPathException: Invalid property 'applicationInfoList[0]' of bean class [org.test.model.ApplicationForm]: Cannot access indexed value of property referenced in indexed property path 'applicationInfoList[0]': returned null at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:826) at org.springframework.beans.BeanWrapperImpl.getNestedBeanWrapper(BeanWrapperImpl.java:555) at org.springframework.beans.BeanWrapperImpl.getBeanWrapperForPropertyPath(BeanWrapperImpl.java:532) at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:904) at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:76) at org.springframework.validation.DataBinder.applyPropertyValues(DataBinder.java:673) at org.springframework.validation.DataBinder.doBind(DataBinder.java:569) at org.springframework.web.bind.WebDataBinder.doBind(WebDataBinder.java:191) at org.springframework.web.bind.ServletRequestDataBinder.bind(ServletRequestDataBinder.java:110) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter$ServletHandlerMethodInvoker.doBind(AnnotationMethodHandlerAdapter.java:734) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doBind(HandlerMethodInvoker.java:815) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.resolveHandlerArguments(HandlerMethodInvoker.java:359) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:171) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:427) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:415) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:788) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:717) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: org.springframework.beans.NullValueInNestedPathException: Invalid property 'applicationInfoList[0]' of bean class [org.test.model.ApplicationForm]: Cannot access indexed value of property referenced in indexed property path 'applicationInfoList[0]': returned null at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:744) ... 32 more {code}

    Spring JIRA | 5 years ago | Parthiban Samykutti
    org.springframework.beans.InvalidPropertyException: Invalid property 'applicationInfoList[0]' of bean class [org.test.model.ApplicationForm]: Illegal attempt to get property 'applicationInfoList' threw exception; nested exception is org.springframework.beans.NullValueInNestedPathException: Invalid property 'applicationInfoList[0]' of bean class [org.test.model.ApplicationForm]: Cannot access indexed value of property referenced in indexed property path 'applicationInfoList[0]': returned null
  3. 0

    Handle Data table request parameters in spring request

    Stack Overflow | 2 years ago
    org.springframework.beans.InvalidPropertyException: Invalid property 'columns[0][search][regex]' of bean class [demo.objects.DataTableRequestDTO]: Property referenced in indexed property path 'columns[0][search][regex]' is neither an array nor a List nor a Map; returned value was [false]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    visual-studio-2012: avril 2015

    blogspot.com | 1 year ago
    org.springframework.beans.InvalidPropertyException: Invalid property 'columns[0][search][regex]' of bean class [demo.objects.DataTableRequestDTO]: Property referenced in indexed property path 'columns[0][search][regex]' is neither an array nor a List nor a Map; returned value was [false]
  6. 0

    MustacheEnvironmentCollector, InvalidPropertyException when JMustache is in the classpath

    GitHub | 2 years ago | lfridael
    org.springframework.beans.InvalidPropertyException: Invalid property 'map[shell][auth][simple][user][password]' of bean class [org.springframework.boot.bind.RelaxedDataBinder$MapHolder]: Illegal attempt to get property 'map' threw exception; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'map[shell][auth][simple][user][password]' of bean class [org.springframework.boot.bind.RelaxedDataBinder$MapHolder]: Property referenced in indexed property path 'map[shell][auth][simple][user][password]' is neither an array nor a List nor a Set nor a Map; returned value was [simple]

  1. linxiaolong 16 times, last 4 months ago
  2. qavid 1 times, last 5 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.beans.NullValueInNestedPathException

    Invalid property 'applicationInfoList[0]' of bean class [org.test.model.ApplicationForm]: Cannot access indexed value of property referenced in indexed property path 'applicationInfoList[0]': returned null

    at org.springframework.beans.BeanWrapperImpl.getPropertyValue()
  2. Spring Beans
    AbstractPropertyAccessor.setPropertyValues
    1. org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:744)
    2. org.springframework.beans.BeanWrapperImpl.getNestedBeanWrapper(BeanWrapperImpl.java:555)
    3. org.springframework.beans.BeanWrapperImpl.getBeanWrapperForPropertyPath(BeanWrapperImpl.java:532)
    4. org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:904)
    5. org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:76)
    5 frames
  3. Spring Context
    DataBinder.doBind
    1. org.springframework.validation.DataBinder.applyPropertyValues(DataBinder.java:673)
    2. org.springframework.validation.DataBinder.doBind(DataBinder.java:569)
    2 frames
  4. Spring
    ServletRequestDataBinder.bind
    1. org.springframework.web.bind.WebDataBinder.doBind(WebDataBinder.java:191)
    2. org.springframework.web.bind.ServletRequestDataBinder.bind(ServletRequestDataBinder.java:110)
    2 frames
  5. Spring MVC
    AnnotationMethodHandlerAdapter$ServletHandlerMethodInvoker.doBind
    1. org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter$ServletHandlerMethodInvoker.doBind(AnnotationMethodHandlerAdapter.java:734)
    1 frame
  6. Spring
    HandlerMethodInvoker.invokeHandlerMethod
    1. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doBind(HandlerMethodInvoker.java:815)
    2. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.resolveHandlerArguments(HandlerMethodInvoker.java:359)
    3. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:171)
    3 frames
  7. Spring MVC
    FrameworkServlet.doPost
    1. org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:427)
    2. org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:415)
    3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:788)
    4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:717)
    5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
    6. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
    6 frames
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    2 frames
  9. Atmosphere weblogic
    WebAppServletContext$ServletInvocationAction.run
    1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    4. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
    5 frames
  10. weblogic.security.acl
    AuthenticatedSubject.doAs
    1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    1 frame
  11. weblogic.security.service
    SecurityManager.runAs
    1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    1 frame
  12. Atmosphere weblogic
    ServletRequestImpl.run
    1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    3 frames
  13. weblogic.work
    ExecuteThread.run
    1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    2. weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    2 frames