[jbpm-issues] [JBoss JIRA] Created: (JBPM-1455) configuration-property does not work if the method is declared in a super class
Alejandro Abdelnur (JIRA)
jira-events at lists.jboss.org
Tue Aug 5 07:41:57 EDT 2008
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
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
More information about the jbpm-issues
mailing list