Solve exceptions on incorrect bar code.