Unable to discover open pages

Appium Version: 1.7.2
MAC OSX: 10.13.3

We are trying to automate google search result after opening an android app via appium.
While trying to switch from Native context to chrome_webview in chrome browser, appium throws the below exception:

[Chromedriver] [STDERR] [61.397][DEBUG]: DevTools response: [ ]
[Chromedriver] [STDERR] [61.450][INFO]: RESPONSE InitSession unknown error: unable to discover open pages
[Chromedriver] [STDERR] [61.450][DEBUG]: Log type ‘driver’ lost 0 entries on destruction
[Chromedriver] [STDERR] [61.450][DEBUG]: Log type ‘browser’ lost 0 entries on destruction
[Chromedriver] Error: Failed to start Chromedriver session: An unknown server-side error occurred while processing the command. (Original error: unknown error: unable to discover open pages
(Driver info: chromedriver=2.33.506106 (8a06c39c4582fbfbab6966dbb1c38a9173bfb1a2),platform=Mac OS X 10.13.3 x86_64))
at Object.wrappedLogger.errorAndThrow (/usr/local/lib/node_modules/appium/node_modules/appium-support/lib/logging.js:69:13)
at Chromedriver.callee$2$0$ (/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/lib/chromedriver.js:217:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
Error: Failed to start Chromedriver session: An unknown server-side error occurred while processing the command. (Original error: unknown error: unable to discover open pages
(Driver info: chromedriver=2.33.506106 (8a06c39c4582fbfbab6966dbb1c38a9173bfb1a2),platform=Mac OS X 10.13.3 x86_64))
at Object.wrappedLogger.errorAndThrow (/usr/local/lib/node_modules/appium/node_modules/appium-support/lib/logging.js:69:13)
at Chromedriver.callee$2$0$ (/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/lib/chromedriver.js:217:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[Chromedriver] [STDERR] [61.707][INFO]: COMMAND InitSession {
[Chromedriver] [STDERR] “desiredCapabilities”: {
[Chromedriver] [STDERR] “chromeOptions”: {
[Chromedriver] [STDERR] “androidDeviceSerial”: “emulator-5554”,
[Chromedriver] [STDERR] “androidPackage”: “com.cnbc.client”,
[Chromedriver] [STDERR] “androidUseRunningApp”: true,
[Chromedriver] [STDERR] “args”: [ “–no-sandbox”, “–allow-running-insecure-content”, “ignore-certificate-errors” ],
[Chromedriver] [STDERR] “extensions”: [ ]
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] }