[
http://jira.jboss.com/jira/browse/JBSEAM-2152?page=comments#action_12389637 ]
Pete Muir commented on JBSEAM-2152:
-----------------------------------
To summarize, Tom says this can't be supported in jBPM 3, but will be 4. I will write
a workaround that takes a best guess at which exception to throw and logs any possible
exceptions.
Exception thrown from method expression causing re-evaluation as
value expression
---------------------------------------------------------------------------------
Key: JBSEAM-2152
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2152
Project: JBoss Seam
Issue Type: Bug
Components: BPM, EL
Affects Versions: 2.0.0.CR2
Reporter: Matthew Lieder
Assigned To: Pete Muir
Fix For: 2.0.1.GA
To reproduce:
In a Seam component called "bean":
public void method() {
throw new RuntimeException("my error");
}
In a jPDL pageflow, inside a transition element:
<action expression="#{bean.method}" />
When the action is executed, an exception about "method" not being a property
of the "bean" class is thrown (the real exception is never shown). See the forum
thread for analysis of the underlying cause.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira