Uploaded image for project: 'Insight Core - Server'
  1. Insight Core - Server
  2. ICS-1052

Critical Bug when generating label templates

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Lowest
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Affected Version:
      INSIGHT 5.7.2
    • Resolved Version:
      INSIGHT 5.7.5

      Description

      Hi,
      I have a critical bug in my Insight instance when trying to create label templates.
      After a lot of investigation, I found that everytime a template is created without description, Insight templates crashes. It does not matter which schemes is used, it bugs on each one of them.
      This is the log error:
      ERROR invite1827 559x329515x1 kvzh1n 132.211.166.77,10.10.16.11 /rest/insight/1.0/label/template/objectSchemaId/47 [c.r.j.p.i.c.w.a.r.exception.mapper.DefaultMapper] Unexpected exception was thrown while processing the request
      java.lang.NullPointerException: description
      at java.util.Objects.requireNonNull(Objects.java:228)
      at com.riadalabs.jira.plugins.insight.services.model.ImmutableLabelTemplateBean$Builder.setDescription(ImmutableLabelTemplateBean.java:526)
      at com.riadalabs.jira.plugins.insight.services.core.dal.transformation.ActiveObjectsAssemblerImpl.assembleLabelTemplate(ActiveObjectsAssemblerImpl.java:839)
      at com.riadalabs.jira.plugins.insight.services.core.dal.transformation.ActiveObjectsAssemblerImpl.assembleLabelTemplates(ActiveObjectsAssemblerImpl.java:853)
      at com.riadalabs.jira.plugins.insight.services.core.dal.impl.LabelTemplateDalImpl.findLabelTemplates(LabelTemplateDalImpl.java:41)
      at com.riadalabs.jira.plugins.insight.services.core.impl.LabelTemplateServiceImpl.findLabelTemplates(LabelTemplateServiceImpl.java:36)
      ... 2 filtered

      And the screenshot correspond to the error i have when clicking on label templates.
      As I was saying, when I create a template with description it works but as soon as I create one without, the whole system is messed up.

      This is critical as I use labels in production and this affects our work.
      Thanks guys

        Attachments

          Activity

            People

            • Assignee:
              ola Ola Melin [Riada]
              Reporter:
              maxime.haddad@valiantys.com Maxime Haddad
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: