Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Done
-
Release 6.0.0, Release 6.0.1, Release 6.0.2, Release 6.0.4
-
None
Description
Problem
After upgrading to Xporter 6, the manage templates page has no content.
[11:44 AM] Paulo Pereira 2019-06-03 10:01:42,629 http-nio-8080-exec-13 ERROR weismantelf 601x10199x1 1m6d38f 10.10.3.41:60809,10.10.12.10 /rest/jiraxporter/1.0/templates/admin/ [c.x.j.rest.services.TemplatesRESTService] A sql exception has occured. java.lang.NullPointerException at java.util.ArrayList.<init>(ArrayList.java:178) at com.xpandit.jiraxporter.rest.entities.TemplateBean.<init>(TemplateBean.java:167) at com.xpandit.jiraxporter.rest.services.TemplatesRESTService.mapToTemplateResource(TemplatesRESTService.java:784) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) 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.xpandit.jiraxporter.rest.services.TemplatesRESTService.mapToTemplateResourceList(TemplatesRESTService.java:731) at com.xpandit.jiraxporter.rest.services.TemplatesRESTService.getXporterTemplates(TemplatesRESTService.java:624) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:498)
Diagnosis
Environment
- All database and Jira environments.
Cause
Something wrong has happened during the upgrade process.