aimmac23 / selenium-video-node

Code to add video recording capability to Selenium Nodes
Other
100 stars 35 forks source link

Not working with Windows VM #43

Open moelheni opened 7 years ago

moelheni commented 7 years ago

I got this error

 Exception in thread "main" java.lang.ExceptionInitializerError
aimmac23 commented 7 years ago

Hi insatmc,

Is it a 32-bit or 64-bit windows VM? What version of Java is it on? Which version of Windows? And which version of Selenium and this project are you using?

There should also be some more useful logging around what you have just pasted - can you provide some more logs?

Thanks,

Alasdair Macmillan

moelheni commented 7 years ago

Windows Server 2008 64-bit oracle JDK 8 Selenium 3.4.0

See this screenshot for more logs: https://ibb.co/dqia7v

moelheni commented 7 years ago

Hey @aimmac23 is the provided details enough to reproduce the issue ?

aimmac23 commented 7 years ago

Maybe - I think you may have scrolled up from one of the most informative parts of the stacktrace (the bit below "Could not create screenshot source for video encoder" contains the reason why).

I also note that issue #44 was filed with similar symptoms - would you mind also including the minor version of Java as well (8u141 ?). I'll try to reproduce in AWS this weekend.

Thanks,

Alasdair

aimmac23 commented 7 years ago

Works fine for me with:

Windows Server 2008 64-bit - AWS instance Oracle JRE 8u141 (looks like its a 32-bit build, which was downloaded by default) Selenium 3.4.0 selenium-video-node 2.3

Screenshot: http://ibb.co/gqixs5

If you're RDPing to the machine, make sure the colour depth is correct - by default the limit is only 16=bits, which will cause an error on startup.