-
Type:
Bug
-
Resolution: Not a bug
-
Priority:
Medium
-
None
-
Affects Version/s: 3.6.4
-
Component/s: Email notifications
-
Environment:
JIRA=Standalone on Windows OS
JDK=1.4.2_10
-
3.06
The class com.atlassian.jira.event.issue.AbstractIssueEventListener requirs a default constructor.
Case:
I have implemented a CustomListener which has the dependency injection for a reference to 'IssueMailQueueItemFactory'
public CustomtListener(IssueMailQueueItemFactory issueMailQueueItemFactory)
The CustomListener also has has several properties. Thus the following line gives a 'ClassNotFoundError' as the EditListener.java cannot instantiate the class
as it does not have a default Constructor
public String[] getAcceptedParams() {
try
catch (Exception e)
{ log.error("Error getting accepted params: " + e.getMessage(), e); return new String[0]; } }
public JiraListener getJiraListener() throws ClassNotFoundException, IllegalAccessException, InstantiationException