sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #51969
[Bug 1833164] [NEW] error searching for and text within region
Public bug reported:
1.1.4-SNAPSHOT-#306-2019-06-12_08:07/Windows10.0/Java11(64)11.0.2+9
same code works fine with version 288
menu = find("menu.png")
print(menu)
menu.findText('Search').click()
[error] script [ error ] stopped with error at line --unknown--
[error] Error caused by: Traceback (most recent call last): File "C:\Temp\Sikuli\Training\error.sikuli\error.py", line 8, in <module> menu.findText('Search').click() at org.sikuli.script.Image.isValid(Image.java:203)
at org.sikuli.script.Region.wait(Region.java:2299)
at org.sikuli.script.Region.waitText(Region.java:2751)
at org.sikuli.script.Region.findText(Region.java:2767)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
java.lang.NullPointerException: java.lang.NullPointerException
M[6,25 567x15]@S(0) S:1.00 C:289,32 [2498 msec]
1.1.4-SNAPSHOT-#306-2019-06-12_08:07/Windows10.0/Java11(64)11.0.2+9
** Affects: sikuli
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1833164
Title:
error searching for and text within region
Status in Sikuli:
New
Bug description:
1.1.4-SNAPSHOT-#306-2019-06-12_08:07/Windows10.0/Java11(64)11.0.2+9
same code works fine with version 288
menu = find("menu.png")
print(menu)
menu.findText('Search').click()
[error] script [ error ] stopped with error at line --unknown--
[error] Error caused by: Traceback (most recent call last): File "C:\Temp\Sikuli\Training\error.sikuli\error.py", line 8, in <module> menu.findText('Search').click() at org.sikuli.script.Image.isValid(Image.java:203)
at org.sikuli.script.Region.wait(Region.java:2299)
at org.sikuli.script.Region.waitText(Region.java:2751)
at org.sikuli.script.Region.findText(Region.java:2767)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
java.lang.NullPointerException: java.lang.NullPointerException
M[6,25 567x15]@S(0) S:1.00 C:289,32 [2498 msec]
1.1.4-SNAPSHOT-#306-2019-06-12_08:07/Windows10.0/Java11(64)11.0.2+9
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1833164/+subscriptions
Follow ups