sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #48263
[Bug 1789952] [NEW] Sikuli Java App completely frozen
Public bug reported:
Hi RaiMan
I have a simple Java method witch will reproduce a extrem cirtical
problem. I can run the following method between 1-3 mins, but always
after a unspecific timespan my complete java app is frozen/hanging (no
exception, no further log). The last log lines before the error occurs
are:
[debug] RobotDesktop: captureScreen: [1213,115, 150x400]
[840595 debug] Finder2: makeMat: INT_RGB (150x400)
[840595 debug] Finder2: doFind: start
[840600 debug] Finder2: doFind: in original: %99,9901 (?90) 5 msec
[840602 debug] Finder2: doFind: end 7 msec
[840602 debug] Region: findAll: BuildQueueEntry.png has appeared
It seems that the appearing of my image on the screen causes this
critical bug.
// The intention of this method is to count the occurence of my image
private static int getBuildQueueSize(DSOServices dsoService) {
dsoService.switchToBrowser();
int counter = 0;
Region searchRegion = Region.create(1213, 115, 150, 400);
Iterator<Match> it = null;
while (true) {
try {
it = searchRegion.findAll(pattern("BuildQueueEntry.png").similar(0.90f));
while (it.hasNext()) {
counter++;
}
} catch (FindFailed findFailed) {
findFailed.printStackTrace();
}
}
}
OS: Win10
Java: 1.8.0_181
Window Commandline Execution
I hope you can help me with a Fix or Workaround!
Joe
** Affects: sikuli
Importance: Undecided
Status: New
** Description changed:
Hi RaiMan
- I have a simple Java Funtkion witch will reproduce extrem cirtical
+ I have a simple Java method witch will reproduce a extrem cirtical
problem. I can run the following method between 1-3 mins, but always
after a unspecific timespan my complete java app is frozen/hanging (no
- exception, no log). The last log lines before the error occurs are:
+ exception, no further log). The last log lines before the error occurs
+ are:
[debug] RobotDesktop: captureScreen: [1213,115, 150x400]
[840595 debug] Finder2: makeMat: INT_RGB (150x400)
[840595 debug] Finder2: doFind: start
- [840600 debug] Finder2: doFind: in original: %99,9901 (?90) 5 msec
+ [840600 debug] Finder2: doFind: in original: %99,9901 (?90) 5 msec
[840602 debug] Finder2: doFind: end 7 msec
- [840602 debug] Region: findAll: BuildQueueEntry.png has appeared
+ [840602 debug] Region: findAll: BuildQueueEntry.png has appeared
It seems that the appearing of my image on the screen causes this
critical bug.
// The intention of this method is to count the occurence of my image
private static int getBuildQueueSize(DSOServices dsoService) {
- dsoService.switchToBrowser();
- int counter = 0;
- Region searchRegion = Region.create(1213, 115, 150, 400);
- Iterator<Match> it = null;
- while (true) {
- try {
- it = searchRegion.findAll(pattern("BuildQueueEntry.png").similar(0.90f));
- while (it.hasNext()) {
- counter++;
- }
- } catch (FindFailed findFailed) {
- findFailed.printStackTrace();
- }
- }
+ dsoService.switchToBrowser();
+ int counter = 0;
+ Region searchRegion = Region.create(1213, 115, 150, 400);
+ Iterator<Match> it = null;
+ while (true) {
+ try {
+ it = searchRegion.findAll(pattern("BuildQueueEntry.png").similar(0.90f));
+ while (it.hasNext()) {
+ counter++;
+ }
+ } catch (FindFailed findFailed) {
+ findFailed.printStackTrace();
+ }
+ }
}
OS: Win10
Java: 1.8.0_181
I hope you can help me with a Fix or Workaround!
Joe
** Description changed:
Hi RaiMan
I have a simple Java method witch will reproduce a extrem cirtical
problem. I can run the following method between 1-3 mins, but always
after a unspecific timespan my complete java app is frozen/hanging (no
exception, no further log). The last log lines before the error occurs
are:
[debug] RobotDesktop: captureScreen: [1213,115, 150x400]
[840595 debug] Finder2: makeMat: INT_RGB (150x400)
[840595 debug] Finder2: doFind: start
[840600 debug] Finder2: doFind: in original: %99,9901 (?90) 5 msec
[840602 debug] Finder2: doFind: end 7 msec
[840602 debug] Region: findAll: BuildQueueEntry.png has appeared
It seems that the appearing of my image on the screen causes this
critical bug.
// The intention of this method is to count the occurence of my image
private static int getBuildQueueSize(DSOServices dsoService) {
dsoService.switchToBrowser();
int counter = 0;
Region searchRegion = Region.create(1213, 115, 150, 400);
Iterator<Match> it = null;
while (true) {
try {
it = searchRegion.findAll(pattern("BuildQueueEntry.png").similar(0.90f));
while (it.hasNext()) {
counter++;
}
} catch (FindFailed findFailed) {
findFailed.printStackTrace();
}
}
}
OS: Win10
Java: 1.8.0_181
+ Window Commandline Execution
I hope you can help me with a Fix or Workaround!
Joe
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1789952
Title:
Sikuli Java App completely frozen
Status in Sikuli:
New
Bug description:
Hi RaiMan
I have a simple Java method witch will reproduce a extrem cirtical
problem. I can run the following method between 1-3 mins, but always
after a unspecific timespan my complete java app is frozen/hanging (no
exception, no further log). The last log lines before the error occurs
are:
[debug] RobotDesktop: captureScreen: [1213,115, 150x400]
[840595 debug] Finder2: makeMat: INT_RGB (150x400)
[840595 debug] Finder2: doFind: start
[840600 debug] Finder2: doFind: in original: %99,9901 (?90) 5 msec
[840602 debug] Finder2: doFind: end 7 msec
[840602 debug] Region: findAll: BuildQueueEntry.png has appeared
It seems that the appearing of my image on the screen causes this
critical bug.
// The intention of this method is to count the occurence of my image
private static int getBuildQueueSize(DSOServices dsoService) {
dsoService.switchToBrowser();
int counter = 0;
Region searchRegion = Region.create(1213, 115, 150, 400);
Iterator<Match> it = null;
while (true) {
try {
it = searchRegion.findAll(pattern("BuildQueueEntry.png").similar(0.90f));
while (it.hasNext()) {
counter++;
}
} catch (FindFailed findFailed) {
findFailed.printStackTrace();
}
}
}
OS: Win10
Java: 1.8.0_181
Window Commandline Execution
I hope you can help me with a Fix or Workaround!
Joe
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1789952/+subscriptions
Follow ups