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

2018-03-14 Thread Finn Ellis
Question #665279 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/665279 Finn Ellis posted a new comment: I added this to the Github thread(s) as well, but for anyone else who looks here first: my manager found a solution to this! Adding:

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

2018-03-07 Thread Finn Ellis
Question #665279 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/665279 Finn Ellis confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

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

2018-03-07 Thread Finn Ellis
Question #665279 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/665279 Status: Answered => Solved Finn Ellis confirmed that the question is solved: Ah, that's a bummer! I'd seen the earlier bug report but didn't have enough Java/AWT understanding to know whether I was

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

2018-03-07 Thread RaiMan
Question #665279 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/665279 RaiMan proposed the following answer: Apparently nothing to do anymore for me here. It seems, that in the current shape of node-java, SikuliX on Mac is not useable this way. But there are many other

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

2018-03-07 Thread RaiMan
Question #665279 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/665279 RaiMan proposed the following answer: Apparently there is a problem in the approach of node-java on Mac with the Java GraphicsEnvironment.getLocalGraphicsEnvironment() which is the base to evaluate the

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

2018-03-06 Thread Finn Ellis
Question #665279 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/665279 Finn Ellis posted a new comment: Looking forward to it, thanks! (I think our time zones are pretty far apart, so it may take me a day to report back.) -- You received this question notification because

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

2018-03-06 Thread RaiMan
Question #665279 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/665279 Status: Open => Answered RaiMan proposed the following answer: ok, I will have a look and come back tomorrow. Be prepared to run a setup then with the latest nigthly build of SikuliX 1.1.2 -- You

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

2018-03-06 Thread Finn Ellis
Question #665279 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/665279 Status: Needs information => Open Finn Ellis gave more information on the question: Oh ha, yeah, that does it. Here's the output I get before it hangs: [debug] Debug.init: from sikuli.Debug: on: 3

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

2018-03-06 Thread RaiMan
Question #665279 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/665279 Status: Open => Needs information RaiMan requested more information: ups - sorry - must be: java.options.push('-Dsikuli.Debug=3'); thanks. -- You received this question notification because your

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

2018-03-06 Thread Finn Ellis
Question #665279 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/665279 Status: Needs information => Open Finn Ellis gave more information on the question: Yep, it's pretty simple: var java = require('java'); java.classpath.push('sikulixapi.jar');

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

2018-03-06 Thread RaiMan
Question #665279 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/665279 Status: Open => Needs information RaiMan requested more information: take care, that the JVM gets the option -Dsikuli.debug=3 This should reveal more debug output at startup and help to narrow the

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

2018-03-05 Thread Finn Ellis
Question #665279 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/665279 Finn Ellis gave more information on the question: A little more info: if I pass java.awt.headless=true then the problem doesn't happen, although of course I get null pointer exceptions when I try to actually