Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-2464

Some Templates don't have default output format, output formats and default page break

    XporterXMLWordPrintable

Details

    • OK

    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.

      Attachments

        Activity

          People

            rmbr Rui Rodrigues
            rmbr Rui Rodrigues
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 30 minutes
                1d 30m