org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 0): Property or field 'timestamp' cannot be found on object of type 'java.util.HashMap' - maybe not public?

Stack Overflow | Ian Jones | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    SpelEvaluationException in whitelabel error when trying to upgrade Spring Boot + Jersey

    Stack Overflow | 5 months ago | Ian Jones
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 0): Property or field 'timestamp' cannot be found on object of type 'java.util.HashMap' - maybe not public?
  2. 0

    Error while redirecting to custom error page in Spring boot application

    Stack Overflow | 12 months ago | anything
    org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 0): Property or field 'timestamp' cannot be found on object of type 'java.util.HashMap' - maybe not public?
  3. 0

    Reversed if condition

    GitHub | 1 year ago | evelan
    org.springframework.expression.spel.SpelEvaluationException: EL1007E:(pos 0): Property or field 'username' cannot be found on null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I am trying to use a result of method call to a spring bean as a part of the cache key, but that doesn't seem to work. @Inject private KeyCreatorBean keyCreatorBean; @Cacheable(value = "cacheName", key = "{@keyCreatorBean.createKey, #p0}") @Override public List<Examples> getExamples(ExampleId exampleId) { Results in this kind of stack trace: org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 1): Field or property 'keyCreatorBean' cannot be found on object of type 'org.springframework.cache.interceptor.CacheExpressionRootObject' at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:208) at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:72) at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:52) at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:93) at org.springframework.expression.spel.ast.InlineList.getValueInternal(InlineList.java:86) at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:93) at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:88) at org.springframework.cache.interceptor.ExpressionEvaluator.key(ExpressionEvaluator.java:80) at org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.generateKey(CacheAspectSupport.java:464)

    Spring JIRA | 5 years ago | Juha Syrjälä
    org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 1): Field or property 'keyCreatorBean' cannot be found on object of type 'org.springframework.cache.interceptor.CacheExpressionRootObject'
  6. 0

    Pass parameter to Spring soap interceptor

    Stack Overflow | 6 months ago | ViratKohli
    org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 0): Property or field 'headers' cannot be found on object of type 'org.spri ngframework.beans.factory.config.BeanExpressionContext' - maybe not public?
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.expression.spel.SpelEvaluationException

    EL1008E:(pos 0): Property or field 'timestamp' cannot be found on object of type 'java.util.HashMap' - maybe not public?

    at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty()
  2. Spring Expression Language (SpEL)
    SpelExpression.getValue
    1. org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:224)[spring-expression-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    2. org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:94)[spring-expression-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    3. org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:81)[spring-expression-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    4. org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:120)[spring-expression-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    5. org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:242)[spring-expression-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    5 frames
  3. Spring Boot AutoConfigure
    NonRecursivePropertyPlaceholderHelper$NonRecursivePlaceholderResolver.resolvePlaceholder
    1. org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$ExpressionResolver.resolvePlaceholder(ErrorMvcAutoConfiguration.java:275)[spring-boot-autoconfigure-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    2. org.springframework.boot.autoconfigure.web.NonRecursivePropertyPlaceholderHelper$NonRecursivePlaceholderResolver.resolvePlaceholder(NonRecursivePropertyPlaceholderHelper.java:56)[spring-boot-autoconfigure-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    2 frames
  4. Spring Core
    PropertyPlaceholderHelper.parseStringValue
    1. org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:147)[spring-core-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    1 frame
  5. Spring Boot AutoConfigure
    NonRecursivePropertyPlaceholderHelper.parseStringValue
    1. org.springframework.boot.autoconfigure.web.NonRecursivePropertyPlaceholderHelper.parseStringValue(NonRecursivePropertyPlaceholderHelper.java:38)[spring-boot-autoconfigure-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    1 frame
  6. Spring Core
    PropertyPlaceholderHelper.replacePlaceholders
    1. org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)[spring-core-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    1 frame
  7. Spring Boot AutoConfigure
    ErrorMvcAutoConfiguration$SpelView.render
    1. org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$SpelView.render(ErrorMvcAutoConfiguration.java:213)[spring-boot-autoconfigure-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    1 frame
  8. Spring MVC
    FrameworkServlet.doPost
    1. org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1257)[spring-webmvc-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    2. org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1037)[spring-webmvc-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:980)[spring-webmvc-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)[spring-webmvc-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)[spring-webmvc-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    6. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)[spring-webmvc-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    6 frames
  9. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)[javax.servlet-api-3.1.0.jar:3.1.0]
    1 frame
  10. Spring MVC
    FrameworkServlet.service
    1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)[spring-webmvc-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    1 frame
  11. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[javax.servlet-api-3.1.0.jar:3.1.0]
    1 frame
  12. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)[tomcat-embed-core-8.5.4.jar:8.5.4]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.4.jar:8.5.4]
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:726)[tomcat-embed-core-8.5.4.jar:8.5.4]
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)[tomcat-embed-core-8.5.4.jar:8.5.4]
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:394)[tomcat-embed-core-8.5.4.jar:8.5.4]
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)[tomcat-embed-core-8.5.4.jar:8.5.4]
    7. org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:395)[tomcat-embed-core-8.5.4.jar:8.5.4]
    8. org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:254)[tomcat-embed-core-8.5.4.jar:8.5.4]
    9. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:177)[tomcat-embed-core-8.5.4.jar:8.5.4]
    10. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[tomcat-embed-core-8.5.4.jar:8.5.4]
    11. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)[tomcat-embed-core-8.5.4.jar:8.5.4]
    12. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)[tomcat-embed-core-8.5.4.jar:8.5.4]
    12 frames
  13. Grizzly HTTP
    SocketProcessorBase.run
    1. org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110)[tomcat-embed-core-8.5.4.jar:8.5.4]
    2. org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)[tomcat-embed-core-8.5.4.jar:8.5.4]
    3. org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785)[tomcat-embed-core-8.5.4.jar:8.5.4]
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)[tomcat-embed-core-8.5.4.jar:8.5.4]
    5. org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)[tomcat-embed-core-8.5.4.jar:8.5.4]
    5 frames
  14. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_40]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_40]
    2 frames
  15. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-embed-core-8.5.4.jar:8.5.4]
    1 frame
  16. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_40]
    1 frame