Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-758

IOException --> NullPointerException in JavadocUtil.copyResource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.6.0
    • None
    • None

    Description

      These are not IOExceptions. They are null pointers

      {{
      protected static void copyResource(URL url, File file) throws IOException {
      if (file == null)

      { throw new IOException("The file can't be null."); }

      if (url == null)

      { throw new IOException("The url could not be null."); }

      FileUtils.copyURLToFile(url, file);
      }}}

      Attachments

        Issue Links

          Activity

            People

              henning Henning Schmiedehausen
              elharo Elliotte Rusty Harold
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: