当前位置:首页 > 服务端 > End of Life check fails with NullPointerException

End of Life check fails with NullPointerException

End of Life check fails with NullPointerException _ JavaClub全栈架构师技术笔记

End of Life check fails with NullPointerException _ JavaClub全栈架构师技术笔记

Checks if the running version of JIRA is approaching, or has reached End of Life.

Details

  • Type:

Bug

Low

  • Support reference count:
    21
  • Symptom Severity:
    Minor
  • UIS:
    20

Description

Summary

End of Life check (under Atlassian Support tool) fails with NullPointerException

Checks if the running version of Jira is approaching, or has reached End of Life.

Result
Exception during health check invocation java.lang.NullPointerException

In the log, it shows:

2017-12-25 16:31:53,659 HealthCheck:thread-4 ERROR admin 991x205x1 j95j6i 0:0:0:0:0:0:0:1 /rest/troubleshooting/1.0/check/process/ [c.a.t.j.healthcheck.support.AbstractSupportHealthCheck] Unhandled error during healthcheck
java.lang.NullPointerException
        at com.atlassian.troubleshooting.jira.healthcheck.util.SupportEolCheckUtil.getVersionJson(SupportEolCheckUtil.java:40)
        at com.atlassian.troubleshooting.jira.healthcheck.support.EolSupportHealthCheck.doCheck(EolSupportHealthCheck.java:88)

...
2017-12-25 16:31:53,660 HealthCheckWatchdog:thread-6 WARN admin 991x205x1 j95j6i 0:0:0:0:0:0:0:1 /rest/troubleshooting/1.0/check/process/ [c.a.t.healthcheck.concurrent.SupportHealthCheckTask] Unable to complete execution of health check End of Life due to an exception
java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)

Steps to reproduce

  1. Setup JIRA 7.6.2
  2. Go to System > Troubleshooting & Support Tools
  3. Refer to Supported Platform > End of Life

Expected Result:

Show green tick 

End of Life check fails with NullPointerException _ JavaClub全栈架构师技术笔记

Actual Result

Show the warning message

Checks if the running version of Jira is approaching, or has reached End of Life.

Result
Exception during health check invocation java.lang.NullPointerException

Workaround 1 (for Jira >= 7.4.3)

Upgrade Atlassian Troubleshooting and Support Tools plugin to 1.8.4

End of Life check fails with NullPointerException _ JavaClub全栈架构师技术笔记

Workaround 1 (for Jira < 7.4.3)

Upgrade Jira Instance Health Plugin to 2.5.5

Workaround 2

Create jira-healthcheck-eol.json in $JIRA_HOME and add

{"name":"7.6.0","releaseDate":"2017-11-16"}

<<jira-healthcheck-eol.json>>

{"versions":[{"name":"7.6.0","releaseDate":"2017-11-16"},{"name":"7.3.0","releaseDate":"2017-01-03"},{"name":"7.2.0","releaseDate":"2016-08-24"},{"name":"7.1.0","releaseDate":"2016-02-10"},{"name":"7.0.0","releaseDate":"2015-10-06"}]}

End of Life check fails with NullPointerException _ JavaClub全栈架构师技术笔记

Then restart JIRA

来自 <https://jira.atlassian.com/browse/JRASERVER-66558>

作者:全威儒
来源链接:https://www.cnblogs.com/quanweiru/p/8258262.html

版权声明:
1、Java侠(https://www.javaxia.com)以学习交流为目的,由作者投稿、网友推荐和小编整理收藏优秀的IT技术及相关内容,包括但不限于文字、图片、音频、视频、软件、程序等,其均来自互联网,本站不享有版权,版权归原作者所有。

2、本站提供的内容仅用于个人学习、研究或欣赏,以及其他非商业性或非盈利性用途,但同时应遵守著作权法及其他相关法律的规定,不得侵犯相关权利人及本网站的合法权利。
3、本网站内容原作者如不愿意在本网站刊登内容,请及时通知本站(javaclubcn@163.com),我们将第一时间核实后及时予以删除。





本文链接:https://www.javaxia.com/server/124543.html

分享给朋友:

“End of Life check fails with NullPointerException” 的相关文章

实习第一周(Golang)2022年05月14日 16:18:05
【python】函数用法详解(一)2022年05月16日 21:27:53
划分子网和构造超网的学习2022年05月17日 13:57:19
[C#]richtextbox实现行号2022年05月17日 20:27:54
配置 yum 源的两种方法2022年05月19日 19:54:29
Logback日志框架2022年05月19日 20:04:05
ubuntu 20.04修改数据源配置2022年05月20日 10:09:56
Python 树表查找2022年05月20日 21:28:27
Python 图2022年05月20日 21:30:06