Healthcheck reports thread limit description is too long

XMLWordPrintable

    • 7.05
    • 1
    • Severity 3 - Minor

      Summary

      Healthcheck reports thread limit description is too long

      Steps to Reproduce

      1. Update JIRA to 7.5.1
      2. Set German as a default language

      Expected Results

      There should be no error shown.

      Actual Results

      Instance health check shows Problems detected => Thread Limit description

      Log contains:

       the logs contains: 
      2017-11-07 07:52:11,397 HealthCheckWatchdog:thread-2 WARN [c.a.t.healthcheck.concurrent.SupportHealthCheckTask] Health check Ende der Lebensdauer was unable to complete within the timeout of 20000.
      2017-11-07 07:52:11,404 Caesium-1-2 ERROR ServiceRunner [c.a.t.h.persistence.service.HealthStatusPersistenceServiceImpl] There's a problem persisting new health status, Threadgrenzwert, into the database
      2017-11-07 07:52:11,404 Caesium-1-2 ERROR ServiceRunner [c.a.t.h.persistence.service.HealthStatusPersistenceServiceImpl] Stacktrace for failure:
      com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:
      Database:
      - name:PostgreSQL
      - version:9.5.9
      - minor version:5
      - major version:9
      Driver:
      - name:PostgreSQL Native Driver
      - version:PostgreSQL 9.4.1212
      org.postgresql.util.PSQLException: ERROR: value too long for type character varying(255)
      at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.create(EntityManagedActiveObjects.java:94)
      at com.atlassian.activeobjects.osgi.TenantAwareActiveObjects.create(TenantAwareActiveObjects.java:266)
      ... 2 filtered
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
      at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
      at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
      at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
      at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLI

      Workaround

      1. Change the default language to english
      2. Fix the properties (see attached jar): change the property healthcheck.threadlimit.description within jira-core-language-pack-de_DE-.../i18n/healthchecks_de_DE.properties

            Assignee:
            Unassigned
            Reporter:
            Marko Filipan (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: