agentdid127 / ResourcePackConverter

A utility that allows Minecraft: Java Edition resource packs to work in other versions accurately and effectively.
https://agentdid127.com/ResourcePackConverter/
MIT License
83 stars 13 forks source link

Failed to convert! #134

Closed herobrinein closed 1 month ago

herobrinein commented 8 months ago

Failed to convert! Exception in thread "main" java.lang.RuntimeException: java.lang.NullPointerException: Cannot read the array length because "" is null at com.agentdid127.resourcepack.library.Util.propagate(Util.java:233) at com.agentdid127.resourcepack.backwards.BackwardsPackConverter.runPack(BackwardsPackConverter.java:83) at com.agentdid127.resourcepack.backwards.BackwardsPackConverter.lambda$runDir$0(BackwardsPackConverter.java:92) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) at com.agentdid127.resourcepack.backwards.BackwardsPackConverter.runDir(BackwardsPackConverter.java:91) at com.agentdid127.resourcepack.Main.main(Main.java:38) Caused by: java.lang.NullPointerException: Cannot read the array length because "" is null at com.agentdid127.resourcepack.backwards.impl.DeleteFileConverter.findFiles(DeleteFileConverter.java:48) at com.agentdid127.resourcepack.backwards.impl.DeleteFileConverter.convert(DeleteFileConverter.java:39) at com.agentdid127.resourcepack.backwards.BackwardsPackConverter.runPack(BackwardsPackConverter.java:77) ... 14 more

CoryBorek commented 8 months ago

Can you send a full log of the conversion? Generally if you’re using the Console version, you’d add > log.txt to the end of your command. If you’re using the gui, it’s everything in the box. That tells me where it failed in the conversion

CoryBorek commented 1 month ago

As there has been no further update in 7 months, I'm going to mark this as stale and close it.