Is null check needed before calling instanceof? Technology Community › Category: Java › Is null check needed before calling instanceof? 0 Vote Up Vote Down VietMX Staff asked 4 years ago Problem Will null instanceof SomeClass return false or throw a NullPointerException? No, a null check is not needed before using instanceof. The expression x instanceof SomeClass // return false if x is null is false if x is null.