Why would this line return Null?
FileInputStream fin = new FileInputStream(new File(getClass().getResource("data/levellocks.lv").toURI()));
Why would this line return Null?
FileInputStream fin = new FileInputStream(new File(getClass().getResource("data/levellocks.lv").toURI()));
Uh, that can’t happen.
You sure you’re not doing something wrong in the surrounding code? Is this in a try/catch and you’re looking outside the block?
Yeah, it was just looking in the wrong area.