Server Resource Packs not downloading: "Internal Exception: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory"
Manually create the directory .minecraft/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!
Environment
Mac OSX 10.10.3, Java 1.7.0_67 64bit
Windows 7/8.1 (JDK8)
Linux 4.0.5 (JDK8)
Linked Issues
is duplicated by42
Created Issue:
Server Resource Packs not downloading
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!
Environment
Mac OSX 10.10.3, Java 1.7.0_67 64bit
- Unresolved
- Open
- Minecraft - Public
- Unconfirmed
- 1.8.7
Server Resource Packs not downloadingServer Resource Packs not downloading: "Internal Exception: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory"
is duplicated by
is duplicated by
relates to
is duplicated by
WorkaoundManually create the directory .minecraft/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!
is duplicated by
relates to
Mac OSX 10.10.3, Java 1.7.0_67 64bit
Mac OSX 10.10.3, Java 1.7.0_67 64bit
Windows 7/8.1 (JDK8)
Linux 4.0.5 (JDK8)
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
i added a server-texture-packs directory but the error is still appearing i have re installed minecraft added the workaround but it still doesnt work
i have this problem and when i added server-texture-packs directory to .minecraft it still came up with the error screen but the client didn't crash so the workaround didn't work even after re reinstalling minecraft. this is when the options are enabled. but when i set it to promt i join it comes up with the message to download it and when i press yes it crashes and a crash log appears.
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Ok, caused by
resource-pack=http\://static.planetminecraft.com/files/resource_media/texture/1521/paper_cutout_3_21859379.zip
--> MC-81082
Dupe of MC-81082
First issue: Duplicate of MC-81082
Second issue: This is a technical support issue; this site is for bug reports only. For technical support please use the Mojang Support Center.
You are aware of MC-81082 ?
Please attach the complete output of the "Game Output (Your Minecraft name) " (which can be found on the fourth tab of the launcher) of a working internet connection and of a not working.
If the launcher closes after game start, please edit your profile and select "Launcher visibility" then, "Keep the launcher open".
Dupe of MC-81082
thank you, I will try to get these files if one of my friends can get it for me as the bug only happens for them but not me. I am also aware of MC-81082 which is NOT the problem that is occurring.
Might be MC-81082
But please gives us more information and mainly the crash report
Duplicate of MC-81082 – If you have not, please use the search function in the future, to see if your bug has already been submitted.
Dupe of MC-81082
Dupe of MC-81082
In addition, Windows 10 is in public beta, and as such is currently not supported.
Incomplete without a crash report, but most likely a dupe of MC-81082
Dupe of MC-81082
When playing on server's which have a resource pack on download, the resource pack does not download locally, and instead re-downloads every time I log on. Though this is not game-breaking, it makes it very annoying for these servers. I first had the MC-81082 issue, but used the workaround to play. But now I can't download them locally.
Incomplete without a crash report, but most likely a dupe of MC-81082

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 ?
No, Kumasasa. The error has to be in creating the folder.
As far as I understand this bug:
MC uses Apache's FileUtils.verifyFileListParameters, wihiches expects a existing directory as the parameter named 'directory'. If that directory does not exist, the apache utils tosses an IllegalArgumentException, which then proceeds to break things.
Workaround:
Create
$MINECRAFTDIR/server-texture-packs
Suggested Fix:
add a call to file.mkdir() before calling the verify utility.
Well done !
@Kumasasa
Would you mind adding Windows 7/8.1 (JDK8) and Linux 4.0.5 (JDK8) to the environment on this bug? I am able to reproduce this there, however, in some combinations the excpetion manages to get all the way to the top, and causes a launcher crash.
(Attaching an example report)
Attached crash-2015-06-06_19.56.50-client.txt: a crash report resulting from a reproduction on Windows 7, with JDK8
!Edit: Clarity
I had this problem too, and I thought I corrupted my server when moving over to linux. The work around of manually creating .minecraft/server-resource-packs worked for me. It appears to be a linux problem as I didn't have this problem when I used minecraft on windows. Thanks!
I am having this problem as well. The server-resource-packs folder is there as seen here. http://i.imgur.com/0hZqRPi.png
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 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.