Bug fixed ZK-318: should not throw exception