org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 5): Property or field 'username' cannot be found on object of type 'scala.collection.convert.Wrappers$JIterableWrapper' - maybe not public?

GitHub | www1350 | 4 months ago
  1. 0

    error in springboot with scala

    GitHub | 4 months ago | www1350
    org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 5): Property or field 'username' cannot be found on object of type 'scala.collection.convert.Wrappers$JIterableWrapper' - maybe not public?
  2. 0

    GitHub comment 61#200486013

    GitHub | 8 months ago | cberger8
    org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 16): Property or field 'tokens' cannot be found on object of type 'org.springframework.security.oauth2.provider.OAuth2Authentication' - maybe not public?
  3. 0

    oauth token authentication overriding user authentication

    GitHub | 8 months ago | wikkim
    org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 16): Property or field 'tokens' cannot be found on object of type 'org.springframework.security.oauth2.provider.OAuth2Authentication' - maybe not public?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can not transfer object on view using Spring and Thymeleaf

    Stack Overflow | 6 months ago | Konrad
    org.springframework.expression.spel.SpelEvaluationException: EL1007E:(pos 0): Property or field 'firstName' cannot be found on null
  6. 0

    Iterate through Hashmap [Springboot, MVC, Java, Thymeleaf ]

    Stack Overflow | 3 weeks ago | Donald Hoegerl
    org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 6): Property or field 'key' cannot be found on object of type 'kickstart.model.Stock' - 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 5): Property or field 'username' cannot be found on object of type 'scala.collection.convert.Wrappers$JIterableWrapper' - 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.2.7.RELEASE.jar:4.2.7.RELEASE]
    2. org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:94)[spring-expression-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    3. org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:46)[spring-expression-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    4. org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:374)[spring-expression-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    5. org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:88)[spring-expression-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    6. org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:120)[spring-expression-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    7. org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:267)[spring-expression-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    7 frames
  3. thymeleaf-spring4
    SpelVariableExpressionEvaluator.evaluate
    1. org.thymeleaf.spring4.expression.SpelVariableExpressionEvaluator.evaluate(SpelVariableExpressionEvaluator.java:139)[thymeleaf-spring4-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    1 frame
  4. thymeleaf
    TemplateEngine.process
    1. org.thymeleaf.standard.expression.VariableExpression.executeVariable(VariableExpression.java:154)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    2. org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:59)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    3. org.thymeleaf.standard.expression.Expression.execute(Expression.java:103)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    4. org.thymeleaf.standard.expression.Expression.execute(Expression.java:133)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    5. org.thymeleaf.standard.expression.Expression.execute(Expression.java:120)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    6. org.thymeleaf.standard.processor.attr.AbstractStandardTextChildModifierAttrProcessor.getText(AbstractStandardTextChildModifierAttrProcessor.java:68)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    7. org.thymeleaf.processor.attr.AbstractTextChildModifierAttrProcessor.getModifiedChildren(AbstractTextChildModifierAttrProcessor.java:59)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    8. org.thymeleaf.processor.attr.AbstractChildrenModifierAttrProcessor.processAttribute(AbstractChildrenModifierAttrProcessor.java:59)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    9. org.thymeleaf.processor.attr.AbstractAttrProcessor.doProcess(AbstractAttrProcessor.java:87)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    10. org.thymeleaf.processor.AbstractProcessor.process(AbstractProcessor.java:212)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    11. org.thymeleaf.dom.Node.applyNextProcessor(Node.java:1017)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    12. org.thymeleaf.dom.Node.processNode(Node.java:972)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    13. org.thymeleaf.dom.NestableNode.computeNextChild(NestableNode.java:695)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    14. org.thymeleaf.dom.NestableNode.doAdditionalProcess(NestableNode.java:668)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    15. org.thymeleaf.dom.Node.processNode(Node.java:990)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    16. org.thymeleaf.dom.NestableNode.computeNextChild(NestableNode.java:695)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    17. org.thymeleaf.dom.NestableNode.doAdditionalProcess(NestableNode.java:668)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    18. org.thymeleaf.dom.Node.processNode(Node.java:990)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    19. org.thymeleaf.dom.NestableNode.computeNextChild(NestableNode.java:695)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    20. org.thymeleaf.dom.NestableNode.doAdditionalProcess(NestableNode.java:668)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    21. org.thymeleaf.dom.Node.processNode(Node.java:990)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    22. org.thymeleaf.dom.NestableNode.computeNextChild(NestableNode.java:695)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    23. org.thymeleaf.dom.NestableNode.doAdditionalProcess(NestableNode.java:668)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    24. org.thymeleaf.dom.Node.processNode(Node.java:990)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    25. org.thymeleaf.dom.NestableNode.computeNextChild(NestableNode.java:695)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    26. org.thymeleaf.dom.NestableNode.doAdditionalProcess(NestableNode.java:668)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    27. org.thymeleaf.dom.Node.processNode(Node.java:990)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    28. org.thymeleaf.dom.Document.process(Document.java:93)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    29. org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1155)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    30. org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1060)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    31. org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1011)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    31 frames
  5. thymeleaf-spring4
    ThymeleafView.render
    1. org.thymeleaf.spring4.view.ThymeleafView.renderFragment(ThymeleafView.java:335)[thymeleaf-spring4-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    2. org.thymeleaf.spring4.view.ThymeleafView.render(ThymeleafView.java:190)[thymeleaf-spring4-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    2 frames
  6. Spring MVC
    FrameworkServlet.doGet
    1. org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1246)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2. org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1029)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:973)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:895)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    6. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:858)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    6 frames
  7. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)[tomcat-embed-core-8.0.36.jar:8.0.36]
    1 frame
  8. Spring MVC
    FrameworkServlet.service
    1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)[spring-webmvc-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  9. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[tomcat-embed-core-8.0.36.jar:8.0.36]
    1 frame
  10. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)[tomcat-embed-core-8.0.36.jar:8.0.36]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-embed-core-8.0.36.jar:8.0.36]
    2 frames
  11. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat-embed-websocket-8.0.36.jar:8.0.36]
    1 frame
  12. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-embed-core-8.0.36.jar:8.0.36]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-embed-core-8.0.36.jar:8.0.36]
    2 frames
  13. druid
    WebStatFilter.doFilter
    1. com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123)[druid-1.0.23.jar:1.0.23]
    1 frame
  14. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-embed-core-8.0.36.jar:8.0.36]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-embed-core-8.0.36.jar:8.0.36]
    2 frames
  15. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2 frames
  16. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-embed-core-8.0.36.jar:8.0.36]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-embed-core-8.0.36.jar:8.0.36]
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)[tomcat-embed-core-8.0.36.jar:8.0.36]
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[tomcat-embed-core-8.0.36.jar:8.0.36]
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)[tomcat-embed-core-8.0.36.jar:8.0.36]
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)[tomcat-embed-core-8.0.36.jar:8.0.36]
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[tomcat-embed-core-8.0.36.jar:8.0.36]
    8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[tomcat-embed-core-8.0.36.jar:8.0.36]
    9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)[tomcat-embed-core-8.0.36.jar:8.0.36]
    9 frames
  17. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)[tomcat-embed-core-8.0.36.jar:8.0.36]
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670)[tomcat-embed-core-8.0.36.jar:8.0.36]
    3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)[tomcat-embed-core-8.0.36.jar:8.0.36]
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)[tomcat-embed-core-8.0.36.jar:8.0.36]
    4 frames
  18. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_101]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_101]
    2 frames
  19. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-embed-core-8.0.36.jar:8.0.36]
    1 frame
  20. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_101]
    1 frame