Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-123756

Trying to load broken resource pack also disables all intact resource packs ("Caught error stitching, removing all assigned resourcepacks")

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • Minecraft 17w50a, Minecraft 1.13-pre3, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13, Minecraft 1.13.1, 1.16.2
    • Windows 10, jre x64 1.8.0_25
    • Confirmed
    • (Unassigned)

      The bug

      I loaded a resource pack containing a json model. This model uses a texture whose name contains uppercase letters (see picture attached). Whether this texture exists or not does not matter, the uppercase letters in the json file resulted in multiple errors (see log above).
      Finally, minecraft did not load the resource pack, but the default assets were not loaded (see pictures attached).

      Workaround

      A simple reload(F3 + T) lets the default assets appear.
      Changing the uppercase letters to lowercase makes the use of the resource pack possible again.

      Steps to reproduce

      Load the attached XtraPack.zip

      [...]
      21:09:45	dfb	Unable to load model: 'minecraft:item/pickaxe' referenced from: minecraft:iron_pickaxe#inventory: java.io.FileNotFoundException: minecraft:models/item/pickaxe.json
      21:09:45	cfs	Caught error stitching, removing all assigned resourcepacks
      i: Non [a-z0-9/._-] character in path of location: minecraft:halb/leggings/item (1)
      	at pc.<init>(SourceFile:38)
      	at pc.<init>(SourceFile:43)
      	at cvb.a(SourceFile:200)
      	at cvb$$Lambda$937/2015935595.accept(Unknown Source)
      	at java.util.ArrayList.forEach(ArrayList.java:1249)
      	at cvb.a(SourceFile:200)
      	at cvb.a(SourceFile:196)
      	at cvb$$Lambda$935/876084303.accept(Unknown Source)
      	at java.util.ArrayList.forEach(ArrayList.java:1249)
      	at cvb.a(SourceFile:191)
      	at dfb.a(SourceFile:336)
      	at dfb$$Lambda$931/1985894997.apply(Unknown Source)
      	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)
      	at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
      	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
      	at dfb.a(SourceFile:336)
      	at dfc.a(SourceFile:24)
      	at vh.c(SourceFile:124)
      	at vh.a(SourceFile:107)
      	at cfs.f(SourceFile:684)
      	at cmo$2.a(SourceFile:65)
      	at cgt.mouseClicked(SourceFile:103)
      	at chp.mouseClicked(SourceFile:46)
      	at cfu.b(SourceFile:83)
      	at cfu$$Lambda$1007/1191848005.run(Unknown Source)
      	at ckc.a(SourceFile:430)
      	at cfu.a(SourceFile:83)
      	at cfu$$Lambda$838/41975027.invoke(Unknown Source)
      	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
      	at org.lwjgl.system.JNI.invokeV(Native Method)
      	at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3108)
      	at cgc.a(SourceFile:321)
      	at cfs.c(SourceFile:875)
      	at cfs.a(SourceFile:395)
      	at net.minecraft.client.main.Main.main(SourceFile:144)
      21:09:45	vh	Reloading ResourceManager: Default
      

      I loaded a resource pack containing a json model. This model uses a texture whose name contains uppercase letters (see picture attached). Whether this texture exists or not does not matter, the uppercase letters in the json file resulted in multiple errors (see log above).
      Finally, minecraft did not load the resource pack, but the default assets were not loaded (see pictures attached).

      A simple reload(F3 + T) lets the default assets appear.
      Changing the uppercase letters to lowercase makes the use of the resource pack possible again.

      Steps to reproduce

      Load the attached XtraPack.zip

        1. chat.png
          chat.png
          626 kB
        2. escape.png
          escape.png
          435 kB
        3. file.PNG
          file.PNG
          12 kB
        4. main_menue.png
          main_menue.png
          168 kB
        5. resourcepack_menue.png
          resourcepack_menue.png
          173 kB
        6. world.png
          world.png
          637 kB
        7. XtraPack.zip
          239 kB

            Unassigned Unassigned
            Dolobene33 David Schilling
            Votes:
            11 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: