Cannot invoke Thymleaf Object.hashCode() because "key" is null - Java Community | Help. Code. Learn.