Raster Calculator error

Discussion created by RPictures on Jun 9, 2012
Latest reply on Jun 20, 2012 by Hornbydd
And one more problem.
I tried to calculate raster values in next way:
I have a raster with some values. I add to a model Calculate statistic tool, then Get raster properties tool. So as a result I have a variable that contains raster datasets mean value. Then I add Raster calculator tool and build a simple expression ("%My raster%">%Mean% ) to define the cells witch are greater than mean value. But the error appears.
What's wrong in that case?