Null pointer exception in findFileResources( URL url)
Status: Beta
Brought to you by:
jdomain
Null pointer exception when running source from local disk. It appears that the url resouce string needs to be decoded before calling File.listFiles.
change:
private void findFileResources( URL url ) {
findFilesInDirectory( new File( url.toString().substring( FILE.length()) ) );
}
to:
private void findFileResources( URL url ) {
findFilesInDirectory( new File( convert( url.toString().substring( FILE.length())) ) );
}