Update WindowingSpec.java

order should not be accessed outside the order!=null check.