mojira.dev
MCL-3732

Server Resource Packs not downloading: "Internal Exception: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory"

Workaound

Manually create the directory [.minecraft|http://hopper.minecraft.net/help/finding-minecraft-data-folder]/server-resource-packs/


When a server attempts to send my client a Resource Pack, the game crashes. The issue (at least I believe it is) is that the client can't create the "server-resource-packs" folder in my Minecraft directory, causing it to not be able to download and crashing the game. That's just what my belief is. I have a screenshot of what the kick reason is when the game crashes. I'm sorry if this is a duplicated bug, I couldn't find any other issues reporting this same bug, but they may be out there. I hope this was helpful!

Linked issues

MC-81019 Unable to join local server. Resolved MC-81121 Server resource pack fails to download- "parameter 'directory' is not a directory" Resolved MC-81134 Game crashes when loading textures pack on servers hivemc,hypixel etc Resolved MC-81178 when i try to download a resource pack for a server my game crashes Resolved MC-81198 Cashing Resolved

Attachments

Comments 17

Most likely, this was due to the fixes of some security exploits involving resource packs.

Could you update your Java version, try to reproduce this and add the crash log?

I can reproduce this with Sun/Oracle java 6-8 on Windows, have not attempted other platforms. Somebody forgot to do mkdirs();

However, my repo's all lead to a full client crash, with full report, not just an error screen.

Does it throw an exception too when you manually create server-resource-packs ?

7 more comments

This has been hotfixed in the launcher.

the bot reopened this, even tho it's hotfixed with the launcher

how do you manually create the directory?

Navigate with Windows Explorer to [.minecraft|http://hopper.minecraft.net/help/finding-minecraft-data-folder] and create there the folder server-resource-packs.
Alternative: Use current Launcher.

Was in 1.8.9 in Linux and this directory wasn't created even with the latest launcher. Don't know about latest version though.

migrated

Nathan Adams

Community Consensus

Retrieved