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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by sandeepsharat
, 5 months ago
#{itemModificationBean.saveData('0','IM')}: org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
via Stack Overflow by ShaunK
, 2 years ago
#{usuariosGruposBean.finishAddUsuariosGrupos}: java.lang.IndexOutOfBoundsException: Index: 125, Size: 3
via com.br by Unknown author, 2 years ago
#{menuController.doInformacoes}: org.hibernate.exception.GenericJDBCException: could not initialize a collection: [br.com.dsc.entity.Informacoes.tag_infos#1]
via com.br by Unknown author, 1 year ago
#{cadastroUsuarioBean.salvar}: javax.persistence.NonUniqueResultException: result returns more than one elements
via Stack Overflow by KOFFEE
, 1 year ago
#{employee.addEmployee}: org.hibernate.exception.SQLGrammarException: could not load an entity: [com.hibCollection.bean.Department#0]
javax.faces.FacesException: #{userForm.save}: org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)

Users with the same issue

10 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.