[2.0.4] Region::findWord/findLine throw class cast exception when not found --- should return null as Match --- workaround
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
In Progress
|
High
|
RaiMan |
Bug Description
---------------- workaround until fixed
catch the class cast exception, which means not found in this buggy situation.
-------
1.1.4-SNAPSHOT-
I used this code:
r = Region(
r.findWord("f1")
and I got this error:
[error] script [ Untitled ] stopped with error at line --unknown--
[error] Error caused by: Traceback (most recent call last): File "C:\Users\
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
java.lang.
summary: |
[1.1.4] Region::findWord/findLine throw class cast exception when not - found --- should return null as Match + found --- should return null as Match --- workaround |
description: | updated |
summary: |
- [1.1.4] Region::findWord/findLine throw class cast exception when not + [2.0.4] Region::findWord/findLine throw class cast exception when not found --- should return null as Match --- workaround |
Changed in sikuli: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 2.0.5 |