Skip to main content
3 events
when toggle format what by license comment
Aug 27, 2019 at 11:51 comment added eric.m True, you should add a case for that one too. The idea here is that catching NullPointerException is generally a bad idea as you can usually just check if == null
Aug 27, 2019 at 11:49 comment added Karan Khanna NPE can also be there at ErrorResource.classLoader.getResourceAsStream(fileName). ErrorResource.classLoader can be null if loaded by bootstrap classloader.
Aug 27, 2019 at 11:39 history answered eric.m CC BY-SA 4.0