javax.faces.FacesException: #{userForm.save}: org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0

AppFuse JIRA | Matt Raible | 4 years 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

    NPE when running entityManager.createQuery

    Coderanch | 3 years ago | Diomar Rockenbach
    javax.faces.FacesException: #{loginController.entrar}: javax.ejb.EJBTransactionRolledbackException: EJB Exception: ; nested exception is: java.lang.NullPointerException
  2. 0

    Dataset Permissions for Dataset - Exception removing assigned role

    GitHub | 2 years ago | esotiri
    javax.faces.FacesException: #{managePermissionsPage.removeRoleAssignment(roleAssignment.id)}: java.lang.ClassCastException: edu.harvard.iq.dataverse.Dataset cannot be cast to edu.harvard.iq.dataverse.Dataverse
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    InstantiationException: (Object Relational Mapping forum at JavaRanch)

    coderanch.com | 2 years ago
    javax.faces.FacesException: #{controller.control}: javax.faces.el.EvaluationException: java.lang.ExceptionInInitializerError
  5. 0

    javax.el.PropertyNotFoundException: Target Unreachable, identifier bean resolved to null

    Stack Overflow | 1 year ago | Sancao
    javax.faces.FacesException: #{productUI.resetTelaConsulta}: javax.el.PropertyNotFoundException:web/src/main/webapp/WEB-INF/template/menu.xhtml @31,127 action="#{productUI.resetTelaConsulta}": Target Unreachable, identifier 'productUI' resolved to null

  1. thiago.santos 10 times, last 9 months ago
6 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. javax.faces.FacesException

    #{userForm.save}: org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0

    at com.sun.faces.application.ActionListenerImpl.processAction()
  2. JSF
    ActionListenerImpl.processAction
    1. com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
    1 frame
  3. JavaEE 7
    UIViewRoot.processApplication
    1. javax.faces.component.UICommand.broadcast(UICommand.java:315)
    2. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
    3. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
    3 frames
  4. JSF
    InvokeApplicationPhase.execute
    1. com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
    1 frame