mojira.dev
MC-28388

Resource packs with multiple resolutions will crash the game or be unclickable on some machines

I tried to search for this, but I don't think anyone's posted about this. Here goes:

I have created a resource pack - Bubbly Blocks 8x8 - and some of the texture sizes are 16x due to things like cake and cactus and some bugs back in 1.5. When I open the game and go to the resource pack selection area, the resource pack is unclickable. If I go into options.txt and change the skin option and then launch the game, the "Mojang" image appears and then the game crashes. Here is the full crash report, the same every time:

---- Minecraft Crash Report ----
// I'm sorry, Dave.

Time: 8/9/13 3:35 PM
Description: Stitching texture atlas

java.lang.NullPointerException
	at java.nio.DirectIntBufferU.put(Unknown Source)
	at bim.a(SourceFile:153)
	at bim.a(SourceFile:67)
	at bih.b(SourceFile:106)
	at bih.a(SourceFile:54)
	at bij.a(SourceFile:69)
	at bij.a(SourceFile:58)
	at bij.a(SourceFile:49)
	at ats.O(SourceFile:378)
	at ats.d(SourceFile:599)
	at net.minecraft.client.main.Main.main(SourceFile:101)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
	at java.nio.DirectIntBufferU.put(Unknown Source)
	at bim.a(SourceFile:153)
	at bim.a(SourceFile:67)

-- Texture being stitched together --
Details:
	Atlas path: textures/blocks
	Sprite: TextureAtlasSprite{name='water_flow', frameCount=32, rotated=false, x=160, y=128, height=16, width=16, u0=0.31251952, u1=0.34373048, v0=0.50003904, v1=0.56246096}
Stacktrace:
	at bih.b(SourceFile:106)
	at bih.a(SourceFile:54)

-- Resource location being registered --
Details:
	Resource location: minecraft:textures/atlas/blocks.png
	Texture object class: bih
Stacktrace:
	at bij.a(SourceFile:69)
	at bij.a(SourceFile:58)
	at bij.a(SourceFile:49)
	at ats.O(SourceFile:378)

-- Initialization --
Details:
Stacktrace:
	at ats.d(SourceFile:599)
	at net.minecraft.client.main.Main.main(SourceFile:101)

-- System Details --
Details:
	Minecraft Version: 1.6.2
	Operating System: Windows XP (x86) version 5.1
	Java Version: 1.7.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation
	Memory: 33299976 bytes (31 MB) / 68689920 bytes (65 MB) up to 518979584 bytes (494 MB)
	JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M
	AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
	Suspicious classes: No suspicious classes found.
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 1.6.2
	LWJGL: 2.9.0
	OpenGL: ATI Radeon HD 2400 XT GL version 2.1.7056 Release, ATI Technologies Inc.
	Is Modded: Probably not. Jar signature remains and client brand is untouched.
	Type: Client (map_client.txt)
	Resource Pack: Bubbly Blocks [8x].zip
	Current Language: English (US)
	Profiler Position: N/A (disabled)
	Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

I'm fairly certain that that is what happened. Also, you may not be able to reproduce it, because this resource pack seems to work on some computers.

Here's the link the Minecraft Forums page so that you can download the resource pack:
http://www.minecraftforum.net/topic/1757743-162-bubbly-blocks-8x-wip/

Linked issues

Comments 13

Based on a crash report provided in this issue, I believe with high certainty that this report may be a duplicate of MC-24807. You can view all information known about this specific crash at MCX-897.

Is there any way to fix the crash within the resource pack? Upon looking back at the reports, it looks to me like there's a problem with animated blocks such as fire and water.

Please attach that resource pack

Alrighty, doing so right away.
EDIT:
Sadly, the files are too big to directly attach, but I can give you the link to the MC Forums page, which has a download.

3 more comments

Your resource pack is broken.
assets\minecraft\textures\blocks\water_flow.png.mcmeta is buggy.

Okay. Is there any way for me to fix it? And if so, how?

Repair the bug in said file. Count the frames, check the resolution, check the transparency etc.

Alright, I'll see what I can do.

Yes, I managed to fix it. Thanks for your help!

Phillip Leon

(Unassigned)

Unconfirmed

crash, resource, resource-pack

Minecraft 1.6.2

Retrieved