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

Spring JIRA | Stefan Rinke | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 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
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  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. 0

    Exception at first run

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

  1. Andreas Häber 1 times, last 2 weeks ago
  2. marcbouvierdav 4 times, last 4 months ago
  3. eilonreshef 1 times, last 11 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