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

Spring JIRA | Stefan Rinke | 4 years ago
  1. 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
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Exception at first run

    infiniteautomation.com | 1 year ago
    org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
  4. 0

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

    codeotel.com | 1 year 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
    JdbcTemplate.queryForObject
    1. org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:730)
    2. org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:745)
    2 frames
  4. com.oneandone.access
    JdbcMessageStore.addMessageToGroup
    1. com.oneandone.access.mobile.spring.integration.JdbcMessageStore.addMessageToGroup(JdbcMessageStore.java:382)
    1 frame