So I bumped into this dilemma today. A user asked a question about a NullPointerException
. Another user gave an answer which contained very good advice for the code, but didn't really explained the reason for the NullPointerException
nor solved it.
My questions is: should I upvote his answer or not? It was very good advice, but didn't really provided a solution.
Here's the question: Drawing images with time delay
It was very good advice
and yet you advocated the exact opposite in your answer as regardsgetGraphipcs()
.NPE
, hence my doubts about the answer.