← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #677873]: [1.1.4] IntelliJ IDEA: SikuliX shutdown hook is blocking my app from exiting

 

Question #677873 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/677873

    Status: Needs information => Open

Paul Chambre gave more information on the question:
I'm using it as a gradle dependency:

compile group: 'junit', name: 'junit', version: '4.12',
'com.sikulix:sikulixapi:1.1.4-SNAPSHOT'

Details with some username information excised (---)

[debug] RunTimeINIT: starting API
[debug] RunTimeINIT: java version
[debug] RunTimeINIT: user.home
[debug] RunTimeINIT: user.dir
[debug] RunTimeINIT: app data path
[debug] RunTimeINIT: store debug.txt
[debug] Options: loadOptions: check: C:\Users\---
[debug] Options: loadOptions: check: C:\Users\---
[debug] Options: loadOptions: check: C:\Users\---
[debug] RunTimeINIT: version: 1.1.4-SNAPSHOT build: 2019-01-02_16:11
[debug] RunTimeINIT: global init: entering as: API
[debug] RunTimeINIT: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[debug] RunTimeINIT: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[debug] RunTimeINIT: Monitor 0: (0, 0) 1920 x 1014
[debug] RunTimeINIT: runningAs: JAR (sikulixapi-1.1.4-SNAPSHOT.jar) in: C:\Users\---\.gradle\caches\modules-2\files-2.1\com.sikulix\sikulixapi\1.1.4-SNAPSHOT\191f9b61f8263553a7f9e8490cca633aa26f301c
Options: *** options dump
Options: testing = 
Options: Debug.level = 0
Options: *** options dump end
***** show environment for 1.1.4-SNAPSHOT-2019-01-02_16:11 API
user.home: C:\Users\---
user.dir (work dir): C:\Users\---
user.name: ---
java.io.tmpdir: C:\Users\---\AppData\Local\Temp
running 64Bit(amd64) on Windows (10.0) from a jar
java 8 version 1.8 vm 25.172-b11 class 52.0 arch 64
app data folder: C:\Users\---\AppData\Roaming\Sikulix
executing jar: C:\Users\---\.gradle\caches\modules-2\files-2.1\com.sikulix\sikulixapi\1.1.4-SNAPSHOT\191f9b61f8263553a7f9e8490cca633aa26f301c\sikulixapi-1.1.4-SNAPSHOT.jar
*** classpath dump sikulix
*** classpath dump end
***** show environment end
[953 debug] RunTimeAPI: global init: leaving
[953 debug] RunTimeAPI: initAPI: entering
[953 debug] RunTimeAPI: initAPI: leaving
[984 debug] Mouse: init start
[1549 debug] Mouse: init end
[1794 debug] RunTimeAPI: libsExport: folder has wrong content: C:\Users\---\AppData\Roaming\Sikulix\SikulixLibs ( - )
[4210 debug] RunTimeAPI: addToWindowsSystemPath: added to systempath:
C:\Users\paulc\AppData\Roaming\Sikulix\SikulixLibs
[4210 debug] RunTimeAPI: checkJavaUsrPath: added to ClassLoader.usrPaths
[4225 debug] RunTimeAPI: libsExport: folder created: C:\Users\---\AppData\Roaming\Sikulix\SikulixLibs (1.1.4 - 201901021611)
[4997 debug] RunTimeAPI: loadLib: opencv_java342.dll (success)

... whole bunch of stuff while app is running ...

[216963 debug] Finder2: doFind: start (stdDev: 121.8090 mean: 633.881408)
[216963 debug] Finder2: doFind: in original: %8.1201 (?99) 0 msec 
[216963 debug] Finder2: doFind: end 0 msec
[216963 debug] Region: checkLastSeen: not there
[216963 debug] Finder2: makeMat: INT_RGB (1920x1014)
[217106 debug] Finder2: makeMat: TYPE_4BYTE_ABGR (77x38)
[217106 debug] Finder2: doFind: start (stdDev: 121.8090 mean: 633.881408)
[217544 debug] Finder2: doFind: in original: %99.9999 (?70) 438 msec 
[217544 debug] Finder2: doFind: end 438 msec
[217544 debug] Region: wait: C:/Users/----/NoButton.png appeared (M[921,499 77x38]@S(0) S:1.00 C:959,518 [911 msec])
[218093 debug] CLICK on L[959,518]@S(0) (549 msec)
[218126 debug] RunTimeAPI: ***** final cleanup at System.exit() *****

App hangs on exit here.

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