[ https://issues.apache.org/jira/browse/MJAVADOC-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Slawomir Jaranowski closed MJAVADOC-758. ---------------------------------------- Assignee: Henning Schmiedehausen > IOException --> NullPointerException in JavadocUtil.copyResource > ---------------------------------------------------------------- > > Key: MJAVADOC-758 > URL: https://issues.apache.org/jira/browse/MJAVADOC-758 > Project: Maven Javadoc Plugin > Issue Type: Bug > Reporter: Elliotte Rusty Harold > Assignee: Henning Schmiedehausen > Priority: Minor > Fix For: 3.6.0 > > > 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); > }}} -- This message was sent by Atlassian Jira (v8.20.10#820010)