com.atlassian.confluence.upgrade.UpgradeException: Upgrade task com.atlassian.confluence.upgrade.upgradetask.UserMappingLowerUsernameSchemaUpgradeTask@148c5775 failed during the UPGRADE phase due to: Incorrect result size: expected 1, actual 0

atlassian.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Upgrading Confluence to 5.3 fails with "Incorrect result size: expected 1, actual 0" - Atlassian Documentation

    atlassian.com | 7 months ago
    com.atlassian.confluence.upgrade.UpgradeException: Upgrade task com.atlassian.confluence.upgrade.upgradetask.UserMappingLowerUsernameSchemaUpgradeTask@148c5775 failed during the UPGRADE phase due to: Incorrect result size: expected 1, actual 0
  2. 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
  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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception at first run

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

    Operator New: April 2013

    operatornew.com | 7 months ago
    org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
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:475)
    2. org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:479)
    2 frames
  4. com.atlassian.confluence
    UserMappingLowerUsernameSchemaUpgradeTask.doUpgrade
    1. com.atlassian.confluence.upgrade.upgradetask.UserMappingLowerUsernameSchemaUpgradeTask.doUpgrade(UserMappingLowerUsernameSchemaUpgradeTask.java:59)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  6. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    3 frames
  7. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    1 frame
  8. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    2 frames
  9. com.sun.proxy
    $Proxy23.doUpgrade
    1. com.sun.proxy.$Proxy23.doUpgrade(Unknown Source)
    1 frame
  10. com.atlassian.confluence
    UpgradeLauncherServletContextListener.contextInitialized
    1. com.atlassian.confluence.upgrade.AbstractUpgradeManager$UpgradeStep$4.execute(AbstractUpgradeManager.java:695)
    2. com.atlassian.confluence.upgrade.AbstractUpgradeManager.executeUpgradeStep(AbstractUpgradeManager.java:254)
    3. com.atlassian.confluence.upgrade.AbstractUpgradeManager.runUpgradeTasks(AbstractUpgradeManager.java:214)
    4. com.atlassian.confluence.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:159)
    5. com.atlassian.confluence.upgrade.UpgradeLauncherServletContextListener.contextInitialized(UpgradeLauncherServletContextListener.java:50)
    5 frames
  11. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
    3. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    4. org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    6. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    7. org.apache.catalina.core.StandardService.start(StandardService.java:525)
    8. org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    9. org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    9 frames
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  13. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    2 frames