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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via smedi.com by Unknown author, 1 year ago
org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
via Oracle Community by 843844, 1 year ago
Exception in JSP: /getpdf.jsp:4 1: <%@page import="com.kt.gmg.PDFBean"%> 2: <% 3: PDFBean myBean = (PDFBean) session.getAttribute("pdfbean"); 4: myBean.exportFile(); 5: %> Stacktrace:
via Stack Overflow by 5minutsOfBullfight
, 2 years ago
javax.servlet.ServletException: javax.servlet.jsp.JspException: org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: com.tonbeller.jpivot.olap.model.OlapException: 0
via Stack Overflow by developer uday
, 2 years ago
Expression eKey is undefined on line 32, column 23 in template/simple/fielderror.ftl. - Class: freemarker.core.TemplateObject File: TemplateObject.java Method: assertNonNull Line: 125 - freemarker/core/TemplateObject.java:125:-1
org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:422)
at com.sh.ma.base.BaseJdbcDao.executeForMap(BaseJdbcDao.java:20)
at org.apache.jsp.engineering.design_jsp._jspService(design_jsp.java:170)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at com.sh.ma.util.CommonFilter.doFilter(CommonFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
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.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

2 times, 2 months ago
Once, 8 months ago
9 times, 9 months ago
4 times, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.