[jboss-user] [JBoss Seam] - Re: How to use conversationPropagation=

tazo do-not-reply at jboss.com
Wed Aug 30 18:46:06 EDT 2006


Came here as soon as i checked cvs log :)

Looks like conversationPropagation="none" works fine now. Just one note! My original code (look at my first post) didn't work: 'entity' is conversational component and it was unavailable in postback because of disabled propagation. <s:link> works fine in this situation.

And, Gavin, your recent changes in Manager.java broke workspace management:


  | 	<h:dataTable value="#{conversationList}" var="entry">
  | 	    <h:column>
  | 	        <h:commandLink action="#{entry.select}" value="#{entry.description}"/>
  | 	         
  | 	        <h:outputText value="[current]" rendered="#{entry.current}"/>
  | 	    </h:column>
  | 	</h:dataTable>
  | 


  | ERROR 31-08 02:17:08,875 (Log4JLogger.java:error:119)  -Servlet.service() for servlet Faces Servlet threw exception
  | javax.faces.FacesException: #{entry.select}: javax.faces.el.EvaluationException: /template.xhtml @46,80 action="#{entry.select}": java.lang.NullPointerException
  | 	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
  | 	at javax.faces.component.UICommand.broadcast(UICommand.java:332)
  | 	at javax.faces.component.UIData.broadcast(UIData.java:677)
  | 	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
  | 	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
  | 	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
  | 	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
  | 	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
  | 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:59)
  | 	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.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | 	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.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
  | 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
  | 	at java.lang.Thread.run(Unknown Source)
  | Caused by: javax.faces.el.EvaluationException: /template.xhtml @46,80 action="#{entry.select}": java.lang.NullPointerException
  | 	at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
  | 	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
  | 	... 28 more
  | Caused by: java.lang.NullPointerException
  | 	at org.jboss.seam.core.Manager.encodeParameters(Manager.java:864)
  | 	at org.jboss.seam.core.Manager.redirect(Manager.java:912)
  | 	at org.jboss.seam.core.Manager.redirect(Manager.java:841)
  | 	at org.jboss.seam.core.ConversationEntry.select(ConversationEntry.java:175)
  | 	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 com.sun.el.parser.AstValue.invoke(AstValue.java:151)
  | 	at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
  | 	at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | 	at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
  | 	... 29 more
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968499#3968499

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968499



More information about the jboss-user mailing list