ftl-profile-editor
ftl-profile-editor copied to clipboard
Exception while creating FTLFrame
Compiled in IntelliJ. Editor refused to start. Here is the exception:
06:54:53.879 [AWT-EventQueue-0] ERROR net.blerf.ftl.FTLProfileEditor - Exception while creating FTLFrame.
java.lang.NullPointerException: null
at javax.swing.ImageIcon.
Process finished with exit code 1
For me it is working fine in IntelliJ.
How did you import the project?
I'm not familiar with IntelliJ, but that's a weird place to glitch.
at net.blerf.ftl.ui.FTLFrame.(FTLFrame.java:112)
. Source: FTLFrame.java (circa 2017-11-27)
110: private ImageIcon openIcon = new ImageIcon( ClassLoader.getSystemResource( "open.gif" ) );
111: private ImageIcon saveIcon = new ImageIcon( ClassLoader.getSystemResource( "save.gif" ) );
112: private ImageIcon unlockIcon = new ImageIcon( ClassLoader.getSystemResource( "unlock.png" ) );
113: private ImageIcon aboutIcon = new ImageIcon( ClassLoader.getSystemResource( "about.gif" ) );
114: private ImageIcon updateIcon = new ImageIcon( ClassLoader.getSystemResource( "update.gif" ) );
It had to have found two images already.