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

NPE when you have your IQL cached

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Resolved Version:
      INSIGHT 5.7.1

      Description

      Steps to reproduce : N/A
      Problem definition : sometimes when you have a cached IQL, navigate away from the object screen and back you are greeted with the following NPE

      2018-10-08 09:50:04,857 http-nio-8080-exec-11 ERROR i00171 590x242144x1 y9me8d 83.251.125.152:50475,10.65.8.7 /rest/insight/1.0/object/navlist [c.r.j.p.i.c.w.a.r.exception.mapper.DefaultMapper] Unexpected exception was thrown while processing the request
      java.lang.NullPointerException
      at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
      at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
      at com.riadalabs.jira.plugins.insight.channel.web.api.rest.services.ObjectResource.lambda$findObjectsByIQL$2(ObjectResource.java:626)
      at java.util.ArrayList.forEach(ArrayList.java:1249)
      at com.riadalabs.jira.plugins.insight.channel.web.api.rest.services.ObjectResource.findObjectsByIQL(ObjectResource.java:620)
      at com.riadalabs.jira.plugins.insight.channel.web.api.rest.services.ObjectResource.findObject(ObjectResource.java:547)
      ... 3 filtered
      

      Workaround : clearing the browser's cache seems to solve the issue

        Attachments

          Activity

            People

            • Assignee:
              olga Olga Ehrenstal [Riada]
              Reporter:
              nader.nassif Nader Nassif
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: