zoukankan      html  css  js  c++  java
  • End of Life check fails with NullPointerException

    clip_image001

    clip_image002

    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 

    clip_image003

    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

    image

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

    image

    Then restart JIRA

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

  • 相关阅读:
    JVM字节码-字节码进阶
    JVM字节码-Class文件结构
    CT03 Contest#10 equation 大力打表+讨论
    2021CT03 Contest#9 降智场
    妙妙题 noi.ac 2323 Connecting
    洛谷 P4774 [NOI2018] 屠龙勇士
    [模板] 扩展中国剩余定理
    洛谷 P1082 [NOIP2012 提高组] 同余方程
    洛谷 P1516 青蛙的约会
    2021牛客暑期多校训练营3 Kuriyama Mirai and Exclusive Or
  • 原文地址:https://www.cnblogs.com/quanweiru/p/8258262.html
Copyright © 2011-2022 走看看