0 Replies Latest reply on Feb 28, 2007 4:36 AM by Mariusz Smykula

    NPE in ConversationEntry with exceptions

    Mariusz Smykula Newbie

      Seam 1.2.0, ICEFaces 1.5.3, JBoss 4.0.5

      I have:

      <exception class="javax.persistence.EntityNotFoundException">
       <redirect view-id="/error.jspx">
       <message>Not found</message>
       </redirect>
       </exception>


      When exception happend I have error:

      Caused by: javax.persistence.EntityNotFoundException:...

      ...

      10:33:29,921 ERROR [[Blocking Servlet]] Servlet.service() for servlet Blocking Servlet threw exception
      java.lang.NullPointerException
      at org.jboss.seam.core.ConversationEntry.(ConversationEntry.java:44)
      at org.jboss.seam.core.ConversationEntries.createConversationEntry(ConversationEntries.java:50)
      at org.jboss.seam.core.Manager.createConversationEntry(Manager.java:649)
      at org.jboss.seam.core.Manager.beforeRedirect(Manager.java:796)
      at org.jboss.seam.core.Manager.redirect(Manager.java:982)
      at org.jboss.seam.core.Navigator.redirect(Navigator.java:45)
      at org.jboss.seam.exceptions.RedirectHandler.handle(RedirectHandler.java:45)
      at org.jboss.seam.core.Exceptions.handle(Exceptions.java:70)
      at org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:91)
      at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:73)
      at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
      at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
      at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
      at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Unknown Source)