[ 
https://issues.apache.org/jira/browse/MJAVADOC-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17958141#comment-17958141
 ] 

Olivier Lamy commented on MJAVADOC-758:
---------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-javadoc-plugin#1138|https://github.com/apache/maven-javadoc-plugin/issues/1138].
 

> IOException --> NullPointerException in JavadocUtil.copyResource
> ----------------------------------------------------------------
>
>                 Key: MJAVADOC-758
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-758
>             Project: Maven Javadoc Plugin (Moved to GitHub Issues)
>          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)

Reply via email to