I'm trying to use the CompareTo command which takes in an Image parameter but it is failing with the following:
java.lang.ClassCastException: com.tplan.robot.imagecomparison.search.SearchImageComparisonModule cannot be cast to java.lang.String
I see the line in the source code where it is checking if SearchImageComparisonModule is an instanceof ImageComparisonModule but not sure why it is failing since - according to the javadoc - SearchImageComparisonModule implements ImageComparisonModule.
It is a bug. I filed it as 2946068. The fix is simple - the parameter should not be casted to String in CompareToCommand.java:169. Will be fixed in next release (2.0.3).
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.