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

When evaluating JavaScript without return an exception is being written to log files

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release 3.4.7, Release 4.0.3
    • 5.0.0, 5.0.0-j6
    • Document Engine
    • None
    • R5.0.0 Sprint 3
    • UNCOVERED

    Description

      When evaluating JavaScript without return an exception is being written to log files

      java.lang.NullPointerException
      	at com.xpandit.jiraxporter.utils.XporterUtils.executeJavascript(Unknown Source)
      	at com.xpandit.jiraxporter.exporter.callbacks.k.replacing(Unknown Source)
      	at com.aspose.words.ëL6.ë97(Unknown Source)
      	at com.aspose.words.Range.ëZ(Unknown Source)
      	at com.aspose.words.Range.replace(Unknown Source)
      	at com.xpandit.jiraxporter.exporter.d.a(Unknown Source)
      	at com.xpandit.jiraxporter.exporter.c.convert(Unknown Source)
      	at com.xpandit.jiraxporter.component.service.XporterServiceImpl.exportIssue(Unknown Source)
      	at com.xpandit.jiraxporter.component.service.XporterServiceImpl.generateReport(Unknown Source)
      	at com.xpandit.jiraxporter.servlet.IssueExportServlet.doPost(Unknown Source)
      	at com.xpandit.jiraxporter.servlet.IssueExportServlet.doGet(Unknown Source)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      	at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:37)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      	at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:45)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      	... 52 filtered
      	at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
      	... 58 filtered
      	at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:76)
      	... 1 filtered
      	at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:74)
      	... 37 filtered
      	at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)
      	... 10 filtered
      	at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
      	... 4 filtered
      	at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36)
      	... 29 filtered
      	at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
      	... 27 filtered
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.lang.Thread.run(Thread.java:745)
      
      

      Attachments

        Activity

          People

            sdrg sdrg
            fcma fcma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Time Spent - 50 minutes Remaining Estimate - 7 hours, 10 minutes
                7h 10m
                Logged:
                Time Spent - 50 minutes Remaining Estimate - 7 hours, 10 minutes
                50m