in reply to Re^6: Reverse Polish Notation Questionin thread RPN Question
That is caused by stack underflow. Add a check for it. For any operator, there must be at least two operands on the stack.