Try/Catch not working inside a custom class, NPE
问题 Fairly simple. I have a BIG class for my main project, and it became "unwieldy". SO today I decided to try making my own class , so I could simplify some of the code in the big class . So this is my "little" class , I used for the Data storage . The TRY/CATCH statement works when floating by itself in the BIG class. In the little class though, it throws an NPE. It seems the Try/Catch system isn't working when I make my own class . Any thoughts on why? file_in = openFileInput("array_saved");