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 

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

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"}]}

Then restart JIRA

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

End of Life check fails with NullPointerException的更多相关文章

  1. Check类之duplicate declaration checking/Class name generation/Type Checking

    1.duplicate declaration checking /** Check that variable does not hide variable with same name in * ...

  2. OCJP(1Z0-851) 模拟题分析(九)over

    Exam : 1Z0-851 Java Standard Edition 6 Programmer Certified Professional Exam 以下分析全都是我自己分析或者参考网上的,定有 ...

  3. Effective Java 76 Write readObject methods defensively

    Principle readObject method is effectively another public constructor, and it demands all of the sam ...

  4. DecimalFormat详解

    DecimalFormat继承自NumberFormat,可以使用它将十进制的数以不同形式格式化为字符串形式,可以控制前导和尾随0.前缀.后缀.分组(千).小数分隔符等,如果要更改格式符号(例如小数点 ...

  5. Java考试题之十

    QUESTION 230 Given: 10. class One { 11. public One foo() { return this; } 12. } 13. class Two extend ...

  6. [dpdk] 熟悉SDK与初步使用 (四)(L3 Forwarding源码分析)

    接续前节:[dpdk] 熟悉SDK与初步使用 (三)(IP Fragmentation源码分析) 前文中的最后一个问题,搁置,并没有找到答案.所以继续阅读其他例子的代码,想必定能在其他位置看到答案. ...

  7. OCJP(1Z0-851) 模拟题分析(四)over

    Exam : 1Z0-851 Java Standard Edition 6 Programmer Certified Professional Exam 以下分析全都是我自己分析或者参考网上的,定有 ...

  8. free pascal 错误代码表

    free pascal 错误代码表 为了方便对照检查运行时错误代码,这里把所有的错误代码的含义整理出来.(最大序号为232,中间不一定连续.user.pdf P175) Run-time errors ...

  9. ubuntu apt-get 总结 install xxx -d能下载安装包(含依赖)不安装_和卸载(转载)

    [举例] 目前常用的 ========== *更新本机中的数据库缓存: sudo apt-get update *查找包含部分关键字的软件包: sudo apt-cache search <你要 ...

随机推荐

  1. hdu 4678

    HDU 4768: Flyer 题意: 有N个社团,每个社团三个属性A,B,C,表示会向编号A+k*C的同学发传单(k=0,1,2...  && A+k*C <= B).题目保证 ...

  2. HDU 17111 Number Sequence(KMP裸题)

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1711 题目大意:给你两个数字数组a和b,若b是a的子序列则输出b在a中第一次出现的位置,否则输出-1. ...

  3. restful的设计风格

    网络应用程序,分为前端和后端两个部分.当前的发展趋势,就是前端设备层出不穷(手机.平板.桌面电脑.其他专用设备......). 因此,必须有一种统一的机制,方便不同的前端设备与后端进行通信.这导致AP ...

  4. csu 1749: Soldiers ' Training(贪心)

    1749: Soldiers ' Training Time Limit: 1 Sec  Memory Limit: 512 MBSubmit: 37  Solved: 18[Submit][Stat ...

  5. GDB调试实用命令

    个人感觉从windows平台转到linux平台一个不适应的地方就是调试器的使用.因为windows下调试器基本上都依赖快捷键和图像界面来完成操作,就算是windbg这种伪命令行的工具,命令也很简单比较 ...

  6. 【Mac】Chrome中添加截图扩展插件FireShot方法

    FireShot是一款可以使用谷歌浏览器快速捕捉当前网页中元素的chrome截图插件,在谷歌浏览器中安装FireShot插件以后可以对网页中整个屏幕或者是网页的部分视图进行截图操作,在截图之后用户还可 ...

  7. GUC-3 模拟CAS算法

    /* * 模拟 CAS 算法 */ public class TestCompareAndSwap { public static void main(String[] args) { final C ...

  8. Redis实战(六)

    查询数据 1.使用Linq匹配关键字查询 using (var redisClient = RedisManager.GetClient()) { var user = redisClient.Get ...

  9. cordova 使用WKWebView 适配iphoneX及解决不能拨打电话问题

    先安装插件 cordova-plugin-wkwebview-engine 然后修改插件中CDVWKWebViewEngine.m文件,下面是全部代码,修改部分已经进行注释     /* Licens ...

  10. checkbox 更改样式

    html: <div class="wrap"> <p>1. 勾选</p> <input type="checkbox" ...