My professor gave us an example application to compare with our own work. When I try to run on the console I get the following errors.
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.lang.NullPointerException
at java.desktop/javax.swing.ImageIcon.<init>(Unknown Source)
at Craps.CrapsGameFrame.<init>(CrapsGameFrame.java:150)
at Craps.CrapsGameFrame.<clinit>(CrapsGameFrame.java:74)
I've had similar errors in previous assignments involving javafx and I was able to fix them by making changes to resource pathways or the controller, however I do not have access to the src files for this application. Is it a bad application or am I doing something wrong? Any help is appreciated, thanks