public static void load() throws IOException { FileObject ser = getLoaderPoolStorage(false); if (ser != null) { try { ObjectInputStream ois = new NbObjectInputStream(ser.getInputStream()); try { NbObjectInputStream.readSafely(ois); } finally { ois.close(); } } catch (IOException x) { ser.delete(); // #144158: probably not valuable, just kill it throw x; } } } private static final String LOADER_POOL_NAME = "loaders.ser"; // NOI18N