Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teste de Inclusão de Erro #1

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments
Open

Teste de Inclusão de Erro #1

GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Acessei o sistema, e fui no menu acesso usuário, inseri meu email e cep
e cliquei no botãoo cadastrar, onde ocorreu o erro abaixo:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

javax.servlet.ServletException: #{defaultBean.adicionarCarrinho}: 
java.lang.NullPointerException
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
    org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
    org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
    org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
    org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
root cause

javax.faces.FacesException: #{defaultBean.adicionarCarrinho}: 
java.lang.NullPointerException
    com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
    org.primefaces.application.CleanupActionListener.processAction(CleanupActionListener.java:42)
    javax.faces.component.UICommand.broadcast(UICommand.java:387)
    org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:55)
    org.ajax4jsf.component.UIDataAdaptorBase.broadcast(UIDataAdaptorBase.java:1387)
    org.richfaces.component.UIExtendedDataTable.broadcast(UIExtendedDataTable.java:92)
    org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:329)
    org.ajax4jsf.component.AjaxViewRoot.broadcastEventsForPhase(AjaxViewRoot.java:304)
    org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:261)
    org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:474)
    com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
    com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
    org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
    org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
    org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
root cause

javax.faces.el.EvaluationException: java.lang.NullPointerException
    javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
    com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    org.primefaces.application.CleanupActionListener.processAction(CleanupActionListener.java:42)
    javax.faces.component.UICommand.broadcast(UICommand.java:387)
    org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:55)
    org.ajax4jsf.component.UIDataAdaptorBase.broadcast(UIDataAdaptorBase.java:1387)
    org.richfaces.component.UIExtendedDataTable.broadcast(UIExtendedDataTable.java:92)
    org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:329)
    org.ajax4jsf.component.AjaxViewRoot.broadcastEventsForPhase(AjaxViewRoot.java:304)
    org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:261)
    org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:474)
    com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
    com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
    org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
    org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
    org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
root cause

java.lang.NullPointerException
    br.iteratorsystems.cps.beans.DefaultBean.adicionarCarrinho(DefaultBean.java:56)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    java.lang.reflect.Method.invoke(Unknown Source)
    org.apache.el.parser.AstValue.invoke(AstValue.java:172)
    org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
    com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
    javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
    com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    org.primefaces.application.CleanupActionListener.processAction(CleanupActionListener.java:42)
    javax.faces.component.UICommand.broadcast(UICommand.java:387)
    org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:55)
    org.ajax4jsf.component.UIDataAdaptorBase.broadcast(UIDataAdaptorBase.java:1387)
    org.richfaces.component.UIExtendedDataTable.broadcast(UIExtendedDataTable.java:92)
    org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:329)
    org.ajax4jsf.component.AjaxViewRoot.broadcastEventsForPhase(AjaxViewRoot.java:304)
    org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:261)
    org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:474)
    com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
    com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
    org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
    org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
    org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
note The full stack trace of the root cause is available in the Apache 
Tomcat/6.0.20 logs.

Apache Tomcat/6.0.20

Original issue reported on code.google.com by [email protected] on 3 Jul 2010 at 10:54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant