添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
帅气的弓箭  ·  linevent_book.md·  6 天前    · 
狂野的伤疤  ·  webContents | Electron·  1 周前    · 
喝醉的烤面包  ·  webContents | FAQ·  1 周前    · 
成熟的遥控器  ·  Learn @click event ...·  1 周前    · 
严肃的跑步鞋  ·  Xcode 16 Release ...·  3 周前    · 

When JIRA is sending a custom notification event upon transitioning a workflow transition, the following exceptions will be thrown in the logs file:

2012-12-05 16:47:38,005 http-bio-8082-exec-24 WARN admin 1007x663x1 81e19m 0:0:0:0:0:0:0:1 /secure/WorkflowUIDispatcher.jspa [jira.plugins.webhooks.WebHookRegistrationManager] Failed to publish web-hooks for event com.atlassian.jira.event.issue.IssueEvent
java.lang.NullPointerException: null value
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204)
	at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:139)
	at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:178)
	at com.atlassian.jira.plugins.webhooks.mapper.EventTypeInfoDecorator.toMap(EventTypeInfoDecorator.java:28)
	at com.atlassian.jira.plugins.webhooks.impl.JiraEventSerializerFactory.create(JiraEventSerializerFactory.java:52)
	at com.atlassian.jira.plugins.webhooks.impl.JiraEventSerializerFactory.create(JiraEventSerializerFactory.java:27)
	at com.atlassian.jira.plugins.webhooks.WebHookRegistration.getEventSerializer(WebHookRegistration.java:39)
	at com.atlassian.jira.plugins.webhooks.WebHookRegistrationManager.onEvent(WebHookRegistrationManager.java:136)  <+2> (DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
[.....]

Tested the same behavior on JIRA 5.1.7, and the same problem is not reproducible.

Steps to reproduce this:

  • Create a new event in JIRA: Administration > Events > Add New Events
  • Configure JIRA workflow to use the event in one of the transition
  • Configure the notification scheme to send notifications to the intended recipient(s)
  • Configre a project to use the related workflow scheme and notification scheme
  • Create a test issue in JIRA, and transition the issue that is using the created custom event
  •