← Back to team overview

sikuli-driver team mailing list archive

[Question #692866]: Maven test crashes when typing characters

 

New question #692866 on Sikuli:
https://answers.launchpad.net/sikuli/+question/692866

I am trying to run my sikuli tests via maven but whenever I need to type something into a field on the screen, maven immediately crashes. Clicking and mouse movements work fine, it's typing that always fails. However, if we run the test normally and not from Maven, the test types into the field just fine and the test passes.

Here is the output I got from the cmd line:

vrazin@VLADIMIRs-MacBook-Pro sikuli-poc % [INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ sikuli-poc ---
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running mac.MSWord
Warning: Nashorn engine is planned to be removed from a future JDK release
[log] CLICK on L[166,120]@S(0) (533 msec)
[log] CLICK on L[166,121]@S(0) (529 msec)
[log] ( ⌘ ) TYPE “a”
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00007fff6b17b8f1, pid=52645, tid=6659
#
# JRE version: OpenJDK Runtime Environment (14.0.1+14) (build 14.0.1+14)
# Java VM: OpenJDK 64-Bit Server VM (14.0.1+14, mixed mode, sharing, tiered, compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# C [libdispatch.dylib+0x38f1] _dispatch_assert_queue_fail+0x63
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again
#
# An error report file with more information is saved as:
# /Users/vrazin/my_work/Sikuli/zero/test-automation/sikuli-poc/hs_err_pid52645.log
#
# If you would like to submit a bug report, please visit:
#  https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.