Adaptive Error Estimators for Solving of Wave Equations