Troubleshooting global null pointer exception

Thanks micuat. On running the program it fails immediately with this error message, and the canvas window does not appear.

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at processing.core.PApplet.runSketch(PApplet.java:10852)
	at processing.core.PApplet.main(PApplet.java:10620)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at processing.core.PApplet.runSketch(PApplet.java:10846)
	... 1 more
Caused by: java.lang.NullPointerException
	at mugen2.<init>(mugen2.java: 2381)
	... 6 more
RuntimeException: java.lang.reflect.InvocationTargetException

I tried using processing-java (and reinstalled it now as github suggests. I am on macOS 10.15.7) but while it can run the program (and get the same error) the --output DIR option results in no files being written in DIR :slight_smile:

Toby