Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12020

Doxgen Plugin crashes with java.lang.NullPointerException

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: doxygen-plugin
    • Labels:
    • Environment:
      Windows, Jenkins 1.442, Doxygen Plugin 0.9,
      Ubuntu 11.04, Jenkins 1.443, Doxygen Plugin 0.9
    • Similar Issues:

      Description

      Dear all,

      when enabling "Publish Doxygen" option in the project settings the Doxygen Plugin crashes with java.lang.NullPointerException. The following backtrace is generated:

      --snip--
      Publishing Doxygen HTML results.
      FATAL: error
      java.lang.NullPointerException
      at hudson.plugins.doxygen.DoxygenDirectoryParser$2.invoke(DoxygenDirectoryParser.java:154)
      at hudson.plugins.doxygen.DoxygenDirectoryParser$2.invoke(DoxygenDirectoryParser.java:152)
      at hudson.FilePath.act(FilePath.java:783)
      at hudson.FilePath.act(FilePath.java:765)
      at hudson.plugins.doxygen.DoxygenDirectoryParser.getDoxygenGeneratedDir(DoxygenDirectoryParser.java:152)
      at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:325)
      at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:54)
      at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:14)
      at hudson.FilePath.act(FilePath.java:783)
      at hudson.FilePath.act(FilePath.java:765)
      at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:219)
      at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176)
      at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645)
      at hudson.model.Build$RunnerImpl.post2(Build.java:162)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:614)
      at hudson.model.Run.run(Run.java:1429)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)
      Build step 'Publish Doxygen' changed build result to FAILURE
      --snap--

      It seems to me that the DoxygenDirectoryParser is fairly broken as there have been reported quiet a lot of NullPointerExceptions in the past. However, I think this is a new problem.

      Please do not hesitate to contact me in case any further information regarding this issue is required.

        Attachments

          Activity

          Show
          rschulz Roland Schulz added a comment - https://issues.jenkins-ci.org/browse/JENKINS-10372

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              _markusfranke_ Markus Franke
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: