JIRA fails to send analytics events

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

症状

The following errors appear in the atlassian-jira.log ($JIRA_HOME/log/)


 2018-08-20 11:34:19,014 analyticsEventProcessor:thread-1 ERROR ... [c.a.a.client.listener.ProductEventListener] Failed to send analytics event com.atlassian.analytics.api.events.MauEvent@3d2105f7
 com.atlassian.cache.CacheException: com.atlassian.util.concurrent.LazyReference$InitializationException: javax.xml.stream.FactoryConfigurationError: Provider for class javax.xml.stream.XMLInputFactory cannot be created
 at com.atlassian.cache.memory.DelegatingCache.get(DelegatingCache.java:211)
 at com.atlassian.cache.memory.DelegatingCache.get(DelegatingCache.java:162)
...
Caused by: java.lang.RuntimeException: Provider for class javax.xml.stream.XMLInputFactory cannot be created
	at javax.xml.stream.FactoryFinder.findServiceProvider(FactoryFinder.java:367)
	... 45 more
Caused by: java.util.ServiceConfigurationError: javax.xml.stream.XMLInputFactory: Provider com.ctc.wstx.stax.WstxInputFactory not found
	at java.util.ServiceLoader.fail(ServiceLoader.java:239)

原因

  1. Forward proxy settings in JIRA are incorrect
  2. JIRA is affected by this bug: JRASERVER-47580 - JIRA Analytics events fail with a NullPointerException
    Please notice, for Cause 2, the "caused by"  statement in the Atlassian-jira.log will be different from the one quoted above. Please reference the bug report (i.e. JRASERVER-47580 - JIRA Analytics events fail with a NullPointerException) for details.
  3. Jira analytics is mainly associated with reports that are generated with respect to the JSM module . If you do not have the JSM module enabled, You may see this stack trace if Jira Administration > System > Analytics option is enabled 

Resolution for Cause 1

Fix the forward proxy settings as per this article:
https://confluence.atlassian.com/jirakb/how-to-configure-an-outbound-http-and-https-proxy-for-jira-applications-247857187.html

Resolution for Cause 2

Check if JIRA is affected by the bug report JRASERVER-47580 - JIRA Analytics events fail with a NullPointerException and apply either Workaround 2 from the bug report or upgrade JIRA to a version where the issue is fixed.

Resolution for Cause 3

If you are not using the Jira service Management module, Jira's analytics can be turned off as a system setting:
> System > Advanced > Analytics, select Disabled, and Save your changes.

最終更新日: 2025 年 1 月 29 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.