Manoj Syoran wrote:
In your actionPerformed method, on line 217, you are adding something that's null to a container. I see only one line that could be the cause,
p8.add(lbl[i]);. This would mean that
lbl[i] is null, and that can only be the case if your database query returned 0 results.