JavaDoc link causes http-500 error when no javadoc was built

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      If I configure a hudson project to publish javadoc at the end of a build, Hudson
      then provides a view javadoc link. If I never generated javadoc clicking on the
      javadoc link will cause a stack trace. IMO the software should do one of the
      following:

      1. Declare the build a failure if the publish javadoc step can't find javadoc.
      2. Supress the view javadoc link if none was published.
      3. Replace the stack trace with a simple message that no javadoc was found.

            Assignee:
            Unassigned
            Reporter:
            pmendelson
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: