jmc2obj / j-mc-2-obj

Java-based Minecraft-to-OBJ exporter.
http://www.jmc2obj.net
359 stars 59 forks source link

loading extra block configs => NullPointerException #194

Closed Cron3x closed 2 years ago

Cron3x commented 2 years ago

If I open jmc2obj it opens and I can use it, but i get a message and the an error in the console:

ERROR: Error loading extra block configs!
java.lang.NullPointerException: Cannot read the array length because "<local1>" is null
    at org.jmc.BlockTypes.initialize(BlockTypes.java:463)
    at org.jmc.Main.runGUI(Main.java:69)
    at org.jmc.Main.main(Main.java:46)

I don't know if this is important but maybe its a bit helpful


My system:

mmdanggg2 commented 2 years ago

This is probably happening when jmc can't read the conf folder (in working dir), you can safely ignore it as it is only looking for extra custom .conf files. Next version won't pop this up as an error (9391e57cd071b947ef6de3cb2d0cf336c7bee74d).