[
https://jira.jboss.org/jira/browse/JBPM-1455?page=com.atlassian.jira.plug...
]
Thomas Diesler updated JBPM-1455:
---------------------------------
Fix Version/s: jBPM 3.3.2 GA
Revisit open bugs
configuration-property does not work if the method is declared in a
super class
-------------------------------------------------------------------------------
Key: JBPM-1455
URL:
https://jira.jboss.org/jira/browse/JBPM-1455
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Core Engine
Environment: all
Reporter: Alejandro Abdelnur
Fix For: jBPM 3.3.2 GA
If an ActionHandler is used with config-type set to configuration-property it throws an
exception if the setConfiguration(String s) method is declared in a super class of the
instanciated class. The log reports:
----------
Caused by: java.lang.NoSuchMethodException:
*****.TestWorkflowEngine$MyTAsyncActionHandler.setConfiguration(java.lang.String)
at java.lang.Class.getDeclaredMethod(Class.java:1909)
at
org.jbpm.instantiation.ConfigurationPropertyInstantiator.instantiate(ConfigurationPropertyInstantiator.java:41)
... 46 more
---------
The code it should use the getMethod() instead of the getDeclaredMethod()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira