[Solved] How to fix NullPointerException in Java?

[ad_1]

askQuestion(0, null, 0, 0, null, 0);

All the parms to the static method askQuestion are null/zero, including “operators”. There’s no way for “operators” to NOT be null when you get to that squirrely assignment to “operatorText”.

10

[ad_2]

solved How to fix NullPointerException in Java?