org.apache.jasper.JasperException: org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0

smedi.com | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    smedi.com | 5 months ago
    org.apache.jasper.JasperException: org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
  2. 0

    How to deal with EmptyResultDataAccessException when using JdbcTemplate to retrieve data from database? - codeotel.com

    codeotel.com | 2 years ago
    org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
  3. 0

    How to deal with EmptyResultDataAccessException when using JdbcTemplate to retrieve data from database?

    Stack Overflow | 2 years ago | Nisman
    org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception at first run

    infiniteautomation.com | 2 years ago
    org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
  6. 0

    How can EmptyResultDataAccessException be thrown?

    Stack Overflow | 4 years ago | aviad
    org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
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.dao.EmptyResultDataAccessException

    Incorrect result size: expected 1, actual 0

    at org.springframework.dao.support.DataAccessUtils.requiredSingleResult()
  2. Spring Tx
    DataAccessUtils.requiredSingleResult
    1. org.springframework.dao.support.DataAccessUtils.requiredSingleResult(DataAccessUtils.java:71)
    1 frame
  3. Spring Framework
    JdbcTemplate.queryForMap
    1. org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:422)
    2. org.springframework.jdbc.core.JdbcTemplate.queryForMap(JdbcTemplate.java:417)
    2 frames
  4. com.sh.ma
    BaseJdbcDao.executeForMap
    1. com.sh.ma.base.BaseJdbcDao.executeForMap(BaseJdbcDao.java:20)
    1 frame
  5. org.apache.jsp
    design_jsp._jspService
    1. org.apache.jsp.engineering.design_jsp._jspService(design_jsp.java:170)
    1 frame
  6. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    1 frame
  7. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  8. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    3 frames
  9. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  10. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  11. com.sh.ma
    CommonFilter.doFilter
    1. com.sh.ma.util.CommonFilter.doFilter(CommonFilter.java:32)
    1 frame
  12. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  13. weaver.filter
    XssFilter.doFilter
    1. weaver.filter.XssFilter.doFilter(XssFilter.java:311)
    1 frame
  14. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    8 frames
  15. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    3 frames
  16. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame