at HEAP.PQ.balance(PQ.java:68)

Something on line 68 is null. Add print statements before this line to find out what is null. Once you know what is null then trace your code and find out why it is...