← Back to team overview

sikuli-driver team mailing list archive

[Question #665279]: Instantiating SikuliX classes through API with node-java hangs on Mac

 

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

I'm using the node-java module (https://github.com/joeferner/node-java) as a bridge between some nodejs test scripts and the SikuliX Java API. It's working great on Windows, but when I try to run the same scripts on Mac, it hangs at the first point where it tries to instantiate any class from SikuliX. Specifically, it opens up a little GUI app whose label is just "bin" and which has no windows; command-clicking to see its location takes me to /usr/local/bin (which raises more questions than it answers). When I force quit the app, the script doesn't resume, it just ends.

Using the API and the command line tool work fine (although of course they're not compatible with my Node scripts) -- and using node-java with any other Java package on Mac also works fine. So neither one is broken alone, and I'm not sure what about the combination causes this error. I realize how much of an edge case this is, but any suggestions about what might be going on or where I could look would be much appreciated.

I've tried SikuliX 1.1.1 and 1.1.2, in both cases by completing the setup normally (taking options #1 and #2) and then copying the generated sikulixapi.jar into the folder I'm working in. Java JDK version is 1.8.0, macOS 10.13.3.

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