Getting SessionNotCreatedException while initiating IE driver in selenium

2018-10-23 12:06:43

Issue:

After code has been executed,2 to 4 browser windows are opening and throwing below error.

Started InternetExplorerDriver server (64-bit)

2.50.0.0

Listening on port 6640

Only local connections are allowed

Oct 23, 2018 1:30:58 PM org.openqa.selenium.remote.ProtocolHandshake createSession

INFO: Attempting bi-dialect session, assuming Postel's Law holds true on the remote end

Oct 23, 2018 1:31:12 PM org.openqa.selenium.remote.ProtocolHandshake createSession

INFO: Falling back to original OSS JSON Wire Protocol.

Oct 23, 2018 1:31:26 PM org.openqa.selenium.remote.ProtocolHandshake createSession

INFO: Falling back to straight W3C remote end connection

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{ie.ensureCleanSession=true}], required capabilities = Capabilities [{}]

Build info: version: 'unknown', revision: '1969d75', time: '2016-10-18 09:43:45 -0700'

System info: ho