TestProject Forum
Powered by leading experts in the test automation community

Fail to start debug session suing Runner on Firefox in Ubuntu 14.04

I’ve shared you some error screenshot in the message conversation which is facing run the project in runner.

Please seen this and explain me.

There is no image, can you please upload it somewhere like https://imgbb.com/ ?
In any case please make sure you use JDK8 and not a higher version.

Ohk but u hve to like that this type of error only creat jdk version ? Not any other reason r u sure about that ?

If you are certain that you use JDK8, and still experience a problem, please provide the exception details that you see.

Java.lang.instantiationException

I’ve facing below exception please explain in details.

What do you see when you run Java --version?

I got the bwelowanswer
"java version “1.8.0_181”
java ™ SE Runtime Environment build (1.8.0_181-b13)
java Hotspot™ 64 bit server VM (build 25.181-b13, mixed mode)
"

Can you please share the full code of your method/class where you invoke the Runner, including DriverSettings object?

Thank you for sending to code.
There is nothing wrong with it as it seems, but:

Can you please let me know what is the version of your operating system and specifically of Firefox?

In case of Ubuntu older than 16.04, you might experience issues, if so, can you please upgrade?
Can you please make sure that you have the latest version of Firefox installed? e.g. 61

It seems like Firefox fail to initialize.

I am using Ubuntu 16.04, Firefox 61.0

What do you see if you run in terminal firefox -v
According to your Agent logs an error is displayed.

I am seeing the firefox version is 61.0.1