How to recreate: with the recipe book open within the crafting table create 8 stacks of planks from 2 stacks of logs, when trying to create a stack of chest using the recipe book while holding shift only half a stack of chests can be crafted, after attempting to use the remaining planks for the other half a stack of chests the game crashes.
[^crash-2017-05-17_17.09.30-client.txt]
Description: Updating screen events
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.Arrays$ArrayList.get(Arrays.java:3841)
at fi.get(SourceFile:44)
at aea.a(SourceFile:552)
at bno.a(SourceFile:884)
at bno.a(SourceFile:868)
at bno.a(SourceFile:774)
at bno.a(SourceFile:718)
at bnp.a(SourceFile:154)
at bnp.a(SourceFile:136)
at bnp.a(SourceFile:121)
at bno.a(SourceFile:572)
at bmk.a(SourceFile:87)
at blh.k(SourceFile:387)
at blh.p(SourceFile:364)
at bhy.t(SourceFile:1583)
at bhy.ax(SourceFile:966)
at bhy.a(SourceFile:406)
at net.minecraft.client.main.Main.main(SourceFile:123)
I can confirm.
Steps to reproduce:
Have two stacks of logs in your inventory
Using the recipe book, craft them down into 8 stacks of planks.
Using the recipe book, shift-click on the chest icon
Note that each crafting slot has only 32 planks
shift-click the crafting output slot
Receive 32 chests into inventory
Once again, shift-click the recipe book entry for chests
Game crashes (see crash-2017-05-17_17.09.30-client.txt)