Quote:
Originally Posted by Thundrio
Its not, and I think that would generate a different exception anyway.
|
In Java, a NullPointerException happens when you try to do something (like call a method or access a public variable) with a variable that is currently null. On that line of code, the only variable being accessed is camera.