UiAutomator exited unexpectedly with code 134, signal null

Hi Team,

I’m doing automation test on Android Version 8.0 and native application.
The problem is after some test cases, some test cases are getting skipped.

OS : MAC Mojave 10.14.6
appium : 1.13.0

Below is the appium log.

[UiAutomator] UiAutomator exited unexpectedly with code 134, signal null
[UiAutomator] Moving to state ‘stopped’
[AndroidDriver] Shutting down Android driver
[Appium] Closing session, cause was ‘UiAUtomator shut down unexpectedly’
[Appium] Removing session 432ee4ae-d8d6-4f48-a51e-a40554bb7f21 from our master session list
[ADB] Running ‘/Users/srikantakumar/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop app packagename’
[ADB] Pressing the HOME button
[ADB] Running ‘/Users/srikantakumar/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell input keyevent 3’
[AndroidBootstrap] Cannot shut down Android bootstrap; it has already shut down
[Logcat] Stopping logcat capture
[ADB] Running ‘/Users/srikantakumar/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop io.appium.unlock’
[AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.
[W3C (432ee4ae)] Encountered internal error running command: Error: UiAUtomator shut down unexpectedly
[W3C (432ee4ae)] at UiAutomator.uiAutomator.on.msg (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/lib/bootstrap.js:187:42)
[W3C (432ee4ae)] at UiAutomator.emit (events.js:182:13)
[W3C (432ee4ae)] at UiAutomator.emit [as changeState] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/lib/uiautomator.js:87:10)
[W3C (432ee4ae)] at SubProcess.changeState (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/lib/uiautomator.js:47:14)
[W3C (432ee4ae)] at SubProcess.emit (events.js:182:13)
[W3C (432ee4ae)] at ChildProcess.emit (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/teen_process/lib/subprocess.js:153:14)
[W3C (432ee4ae)] at ChildProcess.emit (events.js:182:13)
[W3C (432ee4ae)] at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
[HTTP] <-- POST /wd/hub/session/432ee4ae-d8d6-4f48-a51e-a40554bb7f21/elements 500 8888 ms - 631
[HTTP]
[HTTP] --> POST /wd/hub/session/432ee4ae-d8d6-4f48-a51e-a40554bb7f21/appium/app/strings
[HTTP] {“language”:“en”}
[W3C (432ee4ae)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (432ee4ae)] at asyncHandler (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:298:15)
[W3C (432ee4ae)] at asyncHandler (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:489:15)
[W3C (432ee4ae)] at Layer.handle [as handle_request] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (432ee4ae)] at next (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (432ee4ae)] at Route.dispatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (432ee4ae)] at Layer.handle [as handle_request] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (432ee4ae)] at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (432ee4ae)] at param (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (432ee4ae)] at param (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (432ee4ae)] at Function.process_params (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (432ee4ae)] at next (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (432ee4ae)] at logger (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (432ee4ae)] at Layer.handle [as handle_request] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (432ee4ae)] at trim_prefix (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (432ee4ae)] at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (432ee4ae)] at Function.process_params (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (432ee4ae)] at next (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (432ee4ae)] at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/read.js:130:5
[W3C (432ee4ae)] at invokeCallback (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/raw-body/index.js:224:16)
[W3C (432ee4ae)] at done (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/raw-body/index.js:213:7)
[W3C (432ee4ae)] at IncomingMessage.onEnd (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/raw-body/index.js:273:7)
[W3C (432ee4ae)] at IncomingMessage.emit (events.js:182:13)
[W3C (432ee4ae)] at endReadableNT (_stream_readable.js:1090:12)
[W3C (432ee4ae)] at process._tickCallback (internal/process/next_tick.js:63:19)
[HTTP] <-- POST /wd/hub/session/432ee4ae-d8d6-4f48-a51e-a40554bb7f21/appium/app/strings 404 6 ms - 3235