Indeed for NetBeans this codepath should not be hit. If permissions were somehow messed with though, the file might indeed be unreadable and thus explain why the "load from classpath" route is taken.
advanced asynchronous programming and multithreading (most async code in the world is ticking timebombs of missing access locks. I try to be better than most about avoiding that) data processing and ...