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-81790 when i was in the server and it said "the server recommend this texture pack..." anyways i clic yes but sudenly it crashed Resolved MC-81564 Directory is not a Directory? Resolved MC-81713 Cannot Join with Server Resource Resolved MC-81884 it crashes everytime i am in a server and trying to download a resource pack that is needed to play the game Resolved MC-81859 when i go on the hypixel server and click yes on the "would you like to download the resoure pack in this server automagically" it crashes my game and im so angry 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.

Legobuilder0813

Nathan Adams

Community Consensus

Retrieved