Changed null to be a Java field.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>