Board Thread:Bug Reports/@comment-26410366-20160605184447

Crash Log
Minecraft Crash Report // Why did you do that?

Time: 6/5/16 1:37 PM Description: Rendering screen

java.lang.ArithmeticException: / by zero at lotr.common.entity.npc.LOTRTradeEntries.getTradeIndex_TradeValue_TradeSize_TradesCount_ItemsSold(LOTRTradeEntries.java:205) at lotr.client.gui.LOTRGuiTrade.func_146979_b(LOTRGuiTrade.java:88) at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:119) at lotr.client.gui.LOTRGuiTrade.func_73863_a(LOTRGuiTrade.java:152) at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1061) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1001) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898) at net.minecraft.client.main.Main.main(SourceFile:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

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

-- Head -- Stacktrace: at lotr.common.entity.npc.LOTRTradeEntries.getTradeIndex_TradeValue_TradeSize_TradesCount_ItemsSold(LOTRTradeEntries.java:205) at lotr.client.gui.LOTRGuiTrade.func_146979_b(LOTRGuiTrade.java:88) at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:119) at lotr.client.gui.LOTRGuiTrade.func_73863_a(LOTRGuiTrade.java:152)

-- Screen render details -- Details: Screen name: lotr.client.gui.LOTRGuiTrade Mouse location: Scaled: (268, 162). Absolute: (537, 381) Screen size: Scaled: (683, 353). Absolute: (1366, 706). Scale factor of 2

-- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['direranger50'/155, l='MpServer', x=-96502.43, y=65.62, z=128175.49]] Chunk stats: MultiplayerChunkCache: 25, 25 Level seed: 0 Level generator: ID 04 - middleEarth, ver 0. Features enabled: false Level generator options: Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 230676 game time, 373483 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 24 total; [EntityBat['Bat'/386, l='MpServer', x=-96541.41, y=54.00, z=128175.31], EntityBat['Bat'/267, l='MpServer', x=-96467.25, y=36.10, z=128156.75], EntityXPOrb['Experience Orb'/206, l='MpServer', x=-96494.31, y=64.25, z=128177.72], LOTREntityTauredainShaman['Ngolo, the Tauredain Shaman'/402, l='MpServer', x=-96533.09, y=60.31, z=128127.34], LOTREntityTauredainShaman['Toko, the Tauredain Shaman'/218, l='MpServer', x=-96530.88, y=41.00, z=128175.19], LOTREntityTraderRespawn['Trader Respawn'/156, l='MpServer', x=-96499.88, y=67.09, z=128175.50], LOTREntityTraderRespawn['Trader Respawn'/157, l='MpServer', x=-96500.25, y=67.09, z=128175.63], LOTREntityTauredainShaman['Nuanu, the Tauredain Shaman'/158, l='MpServer', x=-96500.47, y=64.00, z=128175.63], EntityClientPlayerMP['direranger50'/155, l='MpServer', x=-96502.43, y=65.62, z=128175.49], LOTREntityTauredainShaman['Wolo, the Tauredain Shaman'/223, l='MpServer', x=-96503.84, y=63.00, z=128133.78], EntityItem['item.item.bone'/162, l='MpServer', x=-96499.25, y=64.13, z=128176.56], EntityBat['Bat'/418, l='MpServer', x=-96559.78, y=35.91, z=128126.09], EntityItem['item.item.lotr:coin.1'/163, l='MpServer', x=-96497.91, y=64.13, z=128176.09], LOTREntityTauredainShaman['Nkulu, the Tauredain Shaman'/419, l='MpServer', x=-96559.09, y=61.60, z=128126.56], LOTREntityTauredainShaman['Moyo, the Tauredain Shaman'/420, l='MpServer', x=-96555.38, y=62.31, z=128114.00], EntityBat['Bat'/166, l='MpServer', x=-96513.41, y=39.10, z=128178.38], EntityBat['Bat'/230, l='MpServer', x=-96504.38, y=49.10, z=128193.75], LOTREntityTauredainShaman['Mukólé, the Tauredain Shaman'/231, l='MpServer', x=-96496.97, y=64.00, z=128197.63], EntityBat['Bat'/425, l='MpServer', x=-96447.22, y=35.07, z=128116.97], EntityBat['Bat'/426, l='MpServer', x=-96450.25, y=36.75, z=128115.34], LOTREntityTauredainShaman['Mfumu, the Tauredain Shaman'/299, l='MpServer', x=-96530.94, y=63.00, z=128132.47], LOTREntityTauredainShaman['Ngò, the Tauredain Shaman'/179, l='MpServer', x=-96522.59, y=63.00, z=128143.94], LOTREntityTauredainShaman['Mukólé, the Tauredain Shaman'/254, l='MpServer', x=-96517.84, y=63.00, z=128132.78], LOTREntityTauredainShaman['Kibubu, the Tauredain Shaman'/255, l='MpServer', x=-96515.09, y=63.00, z=128138.66]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:373) at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2444) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:919) at net.minecraft.client.main.Main.main(SourceFile:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_45, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 637586416 bytes (608 MB) / 1734164480 bytes (1653 MB) up to 4187619328 bytes (3993 MB) JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.3.1428 5 mods loaded, 5 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.3.1428-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.13.3.1428} [Minecraft Forge] (forge-1.7.10-10.13.3.1428-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available lotr{Beta v28.2 for Minecraft 1.7.10} [The Lord of the Rings Mod] ([1.7.10] The Lord of the Rings Mod B28.2 (1).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Baubles{1.0.1.10} [Baubles] (Baubles-1.7.10-1.0.1.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Launched Version: 1.7.10-Forge10.13.3.1428-1.7.10 LWJGL: 2.9.1 OpenGL: Intel(R) HD Graphics 3000 GL version 3.1.0 - Build 9.17.10.3347, Intel GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported.

Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1)

Stuff I was Doing
I summoned a custom Tauredain Shaman, and when I traded with it with glass bottles (Shaman was buying them for 2 coins each) or mugs (shaman was buying them for 1 coin each) it caused a crash. It didn't crash when I tried to trade Flames of Harad or Hibisci, both the shaman was buying for 1 per 2 flowers.

Forge Version: 1.7.10-Forge10.13.3.1428-1.7.10 