Fix for Bug 456385 - Error happens when create measure.

Signed-off-by: xinzhao-acutate <xzhao@actuate.com>