Fixed an NPE with Spring Box