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 com.br by Unknown author, 1 year ago
#{cadastroUsuarioBean.salvar}: javax.persistence.NonUniqueResultException: result returns more than one elements
via Stack Overflow by Tiny
, 1 year ago
#{countryManagedBean.init}: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/answer/14257 t70sm5413631pfi.8 - gsmtp
via Stack Overflow by Fábio Luciano
, 1 year ago
#{cadastroUsuarioBean.salvar}: java.lang.NullPointerException
via Oracle Community by Brenden Anstey, 4 months ago
The scope of the referenced object: '#{bindings}' is shorter than the referring object
via Oracle Community by legolas_w, 3 months ago
#{ButtonActions.userAccept_action}: javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: The scope of the referenced object: '#{bindings}' is shorter than the referring object
javax.persistence.NonUniqueResultException: result returns more than one elements	at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:295)	at br.com.endpoint.repository.Usuarios.porNome(Usuarios.java:31)	at br.com.endpoint.services.CadastroUsuarioService.salvar(CadastroUsuarioService.java:27)	at br.com.endpoint.services.CadastroUsuarioService$Proxy$_$$_WeldSubclass.salvar(CadastroUsuarioService$Proxy$_$$_WeldSubclass.java)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:85)	at org.jboss.weld.interceptor.proxy.InterceptorInvocationContext.proceed(InterceptorInvocationContext.java:127)	at br.com.endpoint.util.jpa.TransactionInterceptor.invoke(TransactionInterceptor.java:38)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.jboss.weld.interceptor.proxy.SimpleMethodInvocation.invoke(SimpleMethodInvocation.java:30)	at org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:69)	at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:112)	at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:88)	at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:55)	at br.com.endpoint.services.CadastroUsuarioService$Proxy$_$$_WeldSubclass.salvar(CadastroUsuarioService$Proxy$_$$_WeldSubclass.java)	at br.com.endpoint.controller.CadastroUsuarioBean.salvar(CadastroUsuarioBean.java:41)	at br.com.endpoint.controller.CadastroUsuarioBean$Proxy$_$$_WeldClientProxy.salvar(CadastroUsuarioBean$Proxy$_$$_WeldClientProxy.java)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.apache.el.parser.AstValue.invoke(AstValue.java:247)	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:267)	at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:39)	at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)	at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)	at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:101)	at javax.faces.component.UICommand.broadcast(UICommand.java:315)	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:786)	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251)	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Unknown Source)