org.apache.jasper.JasperException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web668

  • via smedi.com by Unknown author, 9 months ago
    org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
  • via infoglue by bholtz
    , 1 year ago
    Index: 0, Size: 0
  • via Coderanch by Ashish Kirpan, 8 months ago
    Index: 0, Size: 0
  • Stack trace

    • org.apache.jasper.JasperException: org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0 at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:500) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:428) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.sh.ma.util.CommonFilter.doFilter(CommonFilter.java:32) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at weaver.filter.XssFilter.doFilter(XssFilter.java:311) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0 at org.springframework.dao.support.DataAccessUtils.requiredSingleResult(DataAccessUtils.java:71) at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:422) at org.springframework.jdbc.core.JdbcTemplate.queryForMap(JdbcTemplate.java:417) at com.sh.ma.base.BaseJdbcDao.executeForMap(BaseJdbcDao.java:20) at org.apache.jsp.engineering.design_jsp._jspService(design_jsp.java:170) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386) ... 21 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 3 months ago
    9 times, 3 months ago
    4 times, 9 months ago
    Unknown user
    Once, 9 months ago
    Once, 1 year ago
    3 more bugmates