Error: Unable to filter notification - AttachmentNotificationFilter Issue

Sergej Kalva June 12, 2024

 

I encountered an error in my Jira instance and would appreciate some guidance on resolving it. Here's the error message I received:

2024-06-12 14:10:26,734+0300 https-jsse-nio-443-exec-3 ERROR aut_klax 850x121651x1 1ph0wmn 172.21.13.253 /secure/CommentAssignIssue.jspa [c.s.j.attachcategory.filter.AttachmentNotificationFilter] Unable to filter notification org.ofbiz.core.entity.GenericModelException: Could not find relation for relationName: ChildChangeItem for value [GenericEntity:CoordinationHistoryChangeGroup][issue,4060282][created,2024-06-12 14:10:26.522][author,aut_klax][id,1190756]

 

It seems related to the AttachmentNotificationFilter. Can anyone help me understand what might be causing this issue and how I can fix it? Thank you in advance for your assistance!

Stack trace:

 

 

2024-06-12 14:10:26,734+0300 https-jsse-nio-443-exec-3 ERROR aut_klax 850x121651x1 1ph0wmn 172.21.13.253 /secure/CommentAssignIssue.jspa [c.s.j.attachcategory.filter.AttachmentNotificationFilter] Unable to filter notification org.ofbiz.core.entity.GenericModelException: Could not find relation for relationName: ChildChangeItem for value [GenericEntity:CoordinationHistoryChangeGroup][issue,4060282][created,2024-06-12 14:10:26.522][author,aut_klax][id,1190756] at org.ofbiz.core.entity.GenericDelegator.getRelated(GenericDelegator.java:1496) at org.ofbiz.core.entity.GenericDelegator.getRelated(GenericDelegator.java:1439) at org.ofbiz.core.entity.GenericValue.getRelated(GenericValue.java:156) at com.stiltsoft.jira.attachcategory.filter.AttachmentNotificationFilter.getChangeItems(AttachmentNotificationFilter.java:80) at com.stiltsoft.jira.attachcategory.filter.AttachmentNotificationFilter.removeRecipient(AttachmentNotificationFilter.java:57) at com.atlassian.jira.notification.NotificationFilterManagerImpl.removeRecipient(NotificationFilterManagerImpl.java:108) at com.atlassian.jira.notification.NotificationFilterManagerImpl.access$000(NotificationFilterManagerImpl.java:24) at com.atlassian.jira.notification.NotificationFilterManagerImpl$1.apply(NotificationFilterManagerImpl.java:52) at com.atlassian.jira.notification.NotificationFilterManagerImpl$1.apply(NotificationFilterManagerImpl.java:48) at com.google.common.collect.Iterators$5.computeNext(Iterators.java:670) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:146) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:141) at com.google.common.collect.Iterators.addAll(Iterators.java:366) at com.google.common.collect.Sets.newHashSet(Sets.java:241) at com.google.common.collect.Sets.newHashSet(Sets.java:224) at com.atlassian.jira.event.listeners.mail.IssueEventMailNotifierImpl.getRecipientsToNotify(IssueEventMailNotifierImpl.java:89) at com.atlassian.jira.event.listeners.mail.IssueEventMailNotifierImpl.createMailItemsForSchemeEntity(IssueEventMailNotifierImpl.java:70) at com.atlassian.jira.event.listeners.mail.IssueEventMailNotifierImpl.generateNotifications(IssueEventMailNotifierImpl.java:56) at com.atlassian.jira.event.listeners.mail.IssueEventBundleMailHandlerImpl.sendIssueEventMails(IssueEventBundleMailHandlerImpl.java:72) at com.atlassian.jira.event.listeners.mail.IssueEventBundleMailHandlerImpl.handle(IssueEventBundleMailHandlerImpl.java:60) at com.atlassian.jira.event.listeners.mail.MailListener.handleIssueEventBundle(MailListener.java:122) at jdk.internal.reflect.GeneratedMethodAccessor1114.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:42) at com.atlassian.diagnostics.internal.platform.monitor.event.EventSystemMonitor.invokeMonitored(EventSystemMonitor.java:105) at com.atlassian.diagnostics.internal.platform.monitor.event.MonitoredListenerInvoker.invoke(MonitoredListenerInvoker.java:38) at com.atlassian.event.internal.ComparableListenerInvoker.invoke(ComparableListenerInvoker.java:48) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.lambda$null$0(AsynchronousAbleEventDispatcher.java:37) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:85) at com.atlassian.diagnostics.internal.platform.monitor.event.MonitoredEventDispatcher.dispatch(MonitoredEventDispatcher.java:36) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:114) at com.atlassian.event.internal.LockFreeEventPublisher.publish(LockFreeEventPublisher.java:40) at com.atlassian.jira.event.issue.DefaultIssueEventManager.publishEventIfNotificationsAreEnabled(DefaultIssueEventManager.java:180) at com.atlassian.jira.event.issue.DefaultIssueEventManager.publishEvent(DefaultIssueEventManager.java:175) at com.atlassian.jira.event.issue.DefaultIssueEventManager.dispatchIssueEventBundle(DefaultIssueEventManager.java:129) at com.atlassian.jira.workflow.function.event.FireIssueEventFunction.execute(FireIssueEventFunction.java:73) at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1014) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1407) at com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:557) at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowActionInsideTxn(OSWorkflowManager.java:842) at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowAction(OSWorkflowManager.java:799) at com.atlassian.jira.bc.issue.DefaultIssueService.transition(DefaultIssueService.java:544) at com.atlassian.jira.web.action.issue.CommentAssignIssue.doExecute(CommentAssignIssue.java:173)

0 answers

Suggest an answer

Log in or Sign up to answer