Buggy code:
public class RamDiskTools { private static final String ROBOVM_RAM_DISK_PATH = "//Volumes//RoboVM<seq2seq4repair_space>RAM<seq2seq4repair_space>Disk" ; private static final long MIN_FREE_SPACE = ( 1024 * 1024 ) * 200 ; public void setupRamDisk ( Config . Builder builder , Config config ) { if ( ( OS . getDefaultOS ( ) ) != ( OS . macosx ) ) { return ; } File volume = new File ( RamDiskTools . ROBOVM_RAM_DISK_PATH ) ; if ( ! ( volume . exists ( ) ) ) { try { <START_BUG> FileStore store = Files . getFileStore ( new File ( System . getProperty ( "user.home" ) , ".robovm//cache" ) . toPath ( ) ) ; <END_BUG> String plist = new org . robovm . compiler . util . Executor ( org . robovm . compiler . log . Logger . NULL_LOGGER , "diskutil" ) . args ( "info" , "-plist" , store . name ( ) ) . execCapture ( ) ; if ( ! ( plist . contains ( "<key>SolidState<//key>" ) ) ) { config . getLogger ( ) . warn ( ( "RoboVM<seq2seq4repair_space>has<seq2seq4repair_space>detected<seq2seq4repair_space>that<seq2seq4repair_space>you<seq2seq4repair_space>are<seq2seq4repair_space>running<seq2seq4repair_space>on<seq2seq4repair_space>a<seq2seq4repair_space>slow<seq2seq4repair_space>HDD.<seq2seq4repair_space>Please<seq2seq4repair_space>consider<seq2seq4repair_space>mounting<seq2seq4repair_space>a<seq2seq4repair_space>RAM<seq2seq4repair_space>disk.\n" + ( ( "To<seq2seq4repair_space>create<seq2seq4repair_space>a<seq2seq4repair_space>2GB<seq2seq4repair_space>RAM<seq2seq4repair_space>disk,<seq2seq4repair_space>run<seq2seq4repair_space>this<seq2seq4repair_space>in<seq2seq4repair_space>your<seq2seq4repair_space>terminal:\n" + "SIZE=2048<seq2seq4repair_space>;<seq2seq4repair_space>diskutil<seq2seq4repair_space>erasevolume<seq2seq4repair_space>HFS+<seq2seq4repair_space>\'RoboVM<seq2seq4repair_space>RAM<seq2seq4repair_space>Disk\'<seq2seq4repair_space>`hdiutil<seq2seq4repair_space>attach<seq2seq4repair_space>-nomount<seq2seq4repair_space>ram:////$((SIZE<seq2seq4repair_space>*<seq2seq4repair_space>2048))`\n" ) + "See<seq2seq4repair_space>http:////docs.robovm.com//<seq2seq4repair_space>for<seq2seq4repair_space>more<seq2seq4repair_space>info" ) ) ) ; } } catch ( Throwable t ) { t . printStackTrace ( ) ; } return ; } File cacheDir = config . getCacheDir ( ) ; File tmpDir = config . getTmpDir ( ) ; try { FileStore store = Files . getFileStore ( volume . toPath ( ) ) ; if ( ( store . getUsableSpace ( ) ) < ( RamDiskTools . MIN_FREE_SPACE ) ) { cleanRamDisk ( store , volume ) ; if ( ( store . getUsableSpace ( ) ) < ( RamDiskTools . MIN_FREE_SPACE ) ) { config . getLogger ( ) . debug ( "Couldn't<seq2seq4repair_space>free<seq2seq4repair_space>enough<seq2seq4repair_space>space<seq2seq4repair_space>on<seq2seq4repair_space>RAM<seq2seq4repair_space>disk,<seq2seq4repair_space>using<seq2seq4repair_space>hard<seq2seq4repair_space>drive" ) ; return ; } } File newCacheDir = new File ( volume , "cache" ) ; if ( ( ! ( newCacheDir . exists ( ) ) ) && ( ! ( newCacheDir . mkdirs ( ) ) ) ) { config . getLogger ( ) . debug ( "Couldn't<seq2seq4repair_space>create<seq2seq4repair_space>cache<seq2seq4repair_space>directory<seq2seq4repair_space>on<seq2seq4repair_space>RAM<seq2seq4repair_space>disk,<seq2seq4repair_space>using<seq2seq4repair_space>hard<seq2seq4repair_space>drive" ) ; return ; } File newTmpDir = new File ( volume , "tmp" ) ; if ( ( ! ( newTmpDir . exists ( ) ) ) && ( ! ( newTmpDir . mkdirs ( ) ) ) ) { config . getLogger ( ) . debug ( "Couldn't<seq2seq4repair_space>create<seq2seq4repair_space>tmp<seq2seq4repair_space>directory<seq2seq4repair_space>on<seq2seq4repair_space>RAM<seq2seq4repair_space>disk,<seq2seq4repair_space>using<seq2seq4repair_space>hard<seq2seq4repair_space>drive" ) ; return ; } newTmpDir = new File ( newTmpDir , tmpDir . getAbsolutePath ( ) ) ; config . getLogger ( ) . debug ( "Using<seq2seq4repair_space>RAM<seq2seq4repair_space>disk<seq2seq4repair_space>at<seq2seq4repair_space>%s<seq2seq4repair_space>for<seq2seq4repair_space>cache<seq2seq4repair_space>and<seq2seq4repair_space>tmp<seq2seq4repair_space>directory" , RamDiskTools . ROBOVM_RAM_DISK_PATH ) ; builder . cacheDir ( newCacheDir ) ; builder . tmpDir ( newTmpDir ) ; } catch ( Throwable t ) { config . getLogger ( ) . error ( "Couldn't<seq2seq4repair_space>setup<seq2seq4repair_space>RAM<seq2seq4repair_space>disk,<seq2seq4repair_space>using<seq2seq4repair_space>hard<seq2seq4repair_space>drive,<seq2seq4repair_space>%s" , t . getMessage ( ) ) ; builder . cacheDir ( cacheDir ) ; builder . tmpDir ( tmpDir ) ; } } private void cleanRamDisk ( FileStore store , File volume ) { } }

Fix:
FileStore store = Files . getFileStore ( new File ( System . getProperty ( "user.home" ) ) . toPath ( ) ) ;