Uploaded image for project: 'Maven Changes Plugin'
  1. Maven Changes Plugin
  2. MCHANGES-12

NPE in Doxia/Printwriter caused by Jira report

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Probably the NPE should also be handled by doxia, but the jira report is probably trying to call the rawText() method with a null argument.

      [INFO] Downloading http://jira.codehaus.org/secure/IssueNavigator.jspa?view=rss&pid=10800&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=100&reset=true&decorato
      r=none
      java.lang.NullPointerException
      at java.io.PrintWriter.write(PrintWriter.java:401)
      at org.codehaus.doxia.module.xhtml.XhtmlSink.write(XhtmlSink.java:837)
      at org.codehaus.doxia.module.xhtml.XhtmlSink.rawText(XhtmlSink.java:817)
      at org.apache.maven.jira.JiraReportGenerator.sinkCell(JiraReportGenerator.java:158)
      at org.apache.maven.jira.JiraReportGenerator.constructDetailRows(JiraReportGenerator.java:103)
      at org.apache.maven.jira.JiraReportGenerator.doGenerateReport(JiraReportGenerator.java:30)
      at org.apache.maven.jira.JiraMojo.executeReport(JiraMojo.java:170)
      at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:117)
      at org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
      at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:482)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:452)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

      Attachments

        Activity

          People

            jruiz Johnny R. Ruiz III
            fgiust Fabrizio Giustina
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 3h
                3h
                Remaining:
                Remaining Estimate - 3h
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified