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

Spring JIRA | Kishore | 8 years ago
  1. 0

    [SPR-5294] SimpleJdbcTemplate not able retrieve data from Iseries DB2 data base. - Spring JIRA

    spring.io | 1 year ago
    org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Incorrect result size: expected 1, actual 0 - Spring Forum

    spring.io | 11 months ago
    org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0

  1. marcbouvierdav 4 times, last 1 month ago
  2. eilonreshef 1 times, last 8 months ago
4 unregistered visitors
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
    SimpleJdbcTemplate.queryForObject
    1. org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:722)
    2. org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:732)
    3. org.springframework.jdbc.core.simple.SimpleJdbcTemplate.queryForObject(SimpleJdbcTemplate.java:151)
    3 frames
  4. com.twc.ivr
    AccountProfileDaoImpl.findAccount
    1. com.twc.ivr.dao.AccountProfileDaoImpl.findAccount(AccountProfileDaoImpl.java:107)
    1 frame