java.lang.NullPointerException

Icesoft | kosl | 10 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Rendering facelet without container (with or without Seam)

    Stack Overflow | 3 years ago | fonkap
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.jboss.seam.mail.ui.MailComponent.encode()
    2. org.jboss.seam
      FaceletsRenderer.render
      1. org.jboss.seam.mail.ui.MailComponent.encode(MailComponent.java:52)
      2. org.jboss.seam.mail.ui.MailComponent.encode(MailComponent.java:42)
      3. org.jboss.seam.mail.ui.AddressComponent.getInternetAddress(AddressComponent.java:28)
      4. org.jboss.seam.mail.ui.RecipientAddressComponent.encodeBegin(RecipientAddressComponent.java:25)
      5. org.jboss.seam.ui.JSF.renderChild(JSF.java:171)
      6. org.jboss.seam.ui.JSF.renderChildren(JSF.java:162)
      7. org.jboss.seam.mail.ui.UIMessage.encodeChildren(UIMessage.java:159)
      8. org.jboss.seam.ui.JSF.renderChild(JSF.java:174)
      9. org.jboss.seam.ui.JSF.renderChildren(JSF.java:162)
      10. org.jboss.seam.ui.facelet.FaceletsRenderer.renderFacelet(FaceletsRenderer.java:150)
      11. org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:112)
      11 frames
    3. com.levia.youdo
      MailExample.send
      1. com.levia.youdo.tests.MailExample.send(MailExample.java:41)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. org.jboss.seam
      JavaBeanInterceptor.invoke
      1. org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
      2. org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
      3. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
      4. org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
      5. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
      6. org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:37)
      7. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
      8. org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34)
      9. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
      10. org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
      11. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
      12. org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
      13. org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
      14. org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87)
      14 frames
    6. com.levia.youdo
      MailExample_$$_javassist_105.send
      1. com.levia.youdo.tests.MailExample_$$_javassist_105.send(MailExample_$$_javassist_105.java)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    8. EL
      MethodExpressionImpl.invoke
      1. com.sun.el.parser.AstValue.invoke(AstValue.java:174)
      2. com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:286)
      2 frames
    9. Facelets
      LegacyMethodBinding.invoke
      1. com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
      2. com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
      2 frames
    10. Impl
      ActionListenerImpl.processAction
      1. org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
      1 frame
    11. JavaEE 7
      UIViewRoot.processApplication
      1. javax.faces.component.UICommand.broadcast(UICommand.java:109)
      2. javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
      3. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
      3 frames
    12. Impl
      LifecycleImpl.execute
      1. org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
      2. org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
      3. org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
      3 frames
    13. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:57)
      2. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:45)
      3. com.icesoft.faces.webapp.http.core.IDVerifier.service(IDVerifier.java:25)
      4. com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
      5. com.icesoft.faces.webapp.http.servlet.ViewBoundAdaptingServlet.service(ViewBoundAdaptingServlet.java:44)
      6. com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
      7. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
      8. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:97)
      9. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)
      10. com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
      11. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
      12. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:85)
      12 frames
    14. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    15. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:359)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      6 frames
    16. com.icesoft.faces
      BlockingServlet.service
      1. com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:54)
      1 frame
    17. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    18. org.jboss.seam
      ExceptionFilter.doFilter
      1. org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
      1 frame
    19. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    20. JBoss Application Server Tomcat
      ReplyHeaderFilter.doFilter
      1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      1 frame
    21. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      4 frames
    22. JBoss Application Server Tomcat
      JaccContextValve.invoke
      1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      2. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      2 frames
    23. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      2 frames
    24. org.jboss.web
      CachedConnectionValve.invoke
      1. org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      1 frame
    25. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      2. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      2 frames
    26. Grizzly HTTP
      MasterSlaveWorkerThread.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      4 frames
    27. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame