[jboss-user] [JBoss Seam] - Re: Default Exception Handler doesn't work

bonaparte do-not-reply at jboss.com
Wed Oct 10 12:14:13 EDT 2007


Hello,

This seems not to work when associated with jbPM.

I mean the resolution of  #{org.jboss.seam.handledException.message} doesn't work.

pages.xml


  | <!-- Other Errors  -->
  | 	 <exception>
  | 	 	<end-conversation/>
  |         <redirect view-id="/error.jspx">            <message severity="error">#{org.jboss.seam.handledException.message}</message>
  |         </redirect>
  |     </exception>
  | 

pagesflow.xml

  | <start-page name="editClient" view-id="/views/client/editClient.jspx">
  |       <redirect/>
  |       <transition name="save" to="recapClient">
  |           <action expression="#{editClient.saveClient}" />
  |       </transition>        
  |    </start-page>
  | 

When a technical error arises in saveClient method, the redirection to page /error.jpsw works well, but the resolution of the message doesn't work.

By the way, in the console, the following jBPM error is logged:

  | [10/10/07 18:10:35:171 CEST] 00000024 SystemOut     O ERROR - SeamPhaseListener.afterPhase(125) | uncaught exception
  | java.lang.IllegalStateException: pageflow has not yet started
  | 	at org.jboss.seam.core.Pageflow.getNode(Pageflow.java:156)
  | 	at org.jboss.seam.core.Pageflow.getPage(Pageflow.java:189)
  | 	at org.jboss.seam.core.Pageflow.validatePageflow(Pageflow.java:99)
  | 	at org.jboss.seam.jsf.AbstractSeamPhaseListener.afterRestoreView(AbstractSeamPhaseListener.java:61)
  | 	at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:95)
  | 	at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:92)
  | 

For information, i run under JBoss Seam-1.2.1.ga and jbpm-3.1.1

Thanks a lot for any tip on this subject.

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

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



More information about the jboss-user mailing list