=========================11月10号 2.7.0版本运行报错日志===================== 2021-11-10 11:47:36 INFO [Log.704.parsePageContext] ui change 2021-11-10 11:47:36 INFO [Log.742.afterElementAction] mark image exist 2021-11-10 11:47:36 INFO [Log.746.afterElementAction] afterElementAction eval 2021-11-10 11:47:36 INFO [Log.70.dsl] eval driver.swipe(0.5, 0.95, 0.5, 0.92) 2021-11-10 11:47:36 INFO [Log.94.eval] driver.swipe(0.5, 0.95, 0.5, 0.92) 2021-11-10 11:47:37 INFO [Log.248.asyncTask] use time 1.292 seconds name=swipe result=success 2021-11-10 11:47:37 INFO [Log.95.eval] Success 2021-11-10 11:47:37 INFO [Log.96.eval] eval finish 2021-11-10 11:47:37 INFO [Log.72.dsl] () 2021-11-10 11:47:37 INFO [Log.646.refreshPage] refresh page 2021-11-10 11:47:37 INFO [Log.93.getPageSourceWithRetry] start to get page source from appium 2021-11-10 11:47:37 INFO [Log.115.$anonfun$getPageSourceWithRetry$1] xml format 2021-11-10 11:47:37 INFO [Log.672.parsePageContext] appName = hik.ebg.finance 2021-11-10 11:47:37 INFO [Log.348.getUri] defineUrl= 2021-11-10 11:47:37 INFO [Log.676.parsePageContext] url=hik.ebg.finance.LoginActivity 2021-11-10 11:47:37 INFO [Log.702.parsePageContext] currentContentHash=f47d0228e9a8dfdc4830a82d5cf29ac5 lastContentHash=f47d0228e9a8dfdc4830a82d5cf29ac5 2021-11-10 11:47:37 INFO [Log.706.parsePageContext] ui not change 2021-11-10 11:47:38 INFO [Log.1191.saveScreen] start screenshot 2021-11-10 11:47:38 INFO [Log.1194.$anonfun$saveScreen$2] ui change screenshot again 2021-11-10 11:47:38 ERROR [Log.277.handleException] org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’ System info: host: ‘PC-HZ20127903’, ip: ‘10.10.66.56’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘11’ Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false} Session ID: a3ba355d-7396-439e-8bd0-f608b7168497 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.ReactWebDriver.$anonfun$asyncTask$1(ReactWebDriver.scala:239) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.ReactWebDriver.asyncTask(ReactWebDriver.scala:230) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.saveScreen(Crawler.scala:1192) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.afterElementAction(Crawler.scala:756) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.crawl(Crawler.scala:1002) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.$anonfun$crawlWithRetry$1(Crawler.scala:187) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.crawlWithRetry(Crawler.scala:187) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.start(Crawler.scala:169) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:333) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:300) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.main(AppCrawler.scala:84) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler.main(AppCrawler.scala) 2021-11-10 11:47:38 ERROR [Log.280.handleException] find more cause 2021-11-10 11:47:38 ERROR [Log.277.handleException] Screen shot has been taken Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’ System info: host: ‘PC-HZ20127903’, ip: ‘10.10.66.56’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘11’ Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false} Session ID: a3ba355d-7396-439e-8bd0-f608b7168497 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.SeleniumDriver.screenshot(SeleniumDriver.scala:69) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.$anonfun$saveScreen$2(Crawler.scala:1195) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.ReactWebDriver$$anon$1.call(ReactWebDriver.scala:233) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 2021-11-10 11:47:38 ERROR [Log.278.$anonfun$handleException$1] java.base/java.lang.Thread.run(Thread.java:834) 2021-11-10 11:47:38 ERROR [Log.282.handleException] exception finish 2021-11-10 11:47:38 ERROR [Log.1218.saveScreen] screenshot error 2021-11-10 11:47:38 ERROR [Log.1219.saveScreen] org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’ ==========================11月17号 2.7.1版本运行报错日志 ============================================ baseUrl=List() maxDepth=10 2021-11-17 15:51:00 TRACE [Crawler.507.$anonfun$getAvailableElement$1] selectedList xpath = //android.widget.TextView[contains(@resource-id, 'menu_name')] 2021-11-17 15:51:00 TRACE [XPathUtil$.236.getNodeListByXPath] nodeList length 0 with //android.widget.TextView[contains(@resource-id, 'menu_name')] 2021-11-17 15:51:00 TRACE [XPathUtil$.339.getNodeListByXPath] filted node list length 0 2021-11-17 15:51:00 TRACE [Crawler.507.$anonfun$getAvailableElement$1] selectedList xpath = //android.widget.TextView[@text='岗位自查'] 2021-11-17 15:51:00 TRACE [XPathUtil$.236.getNodeListByXPath] nodeList length 0 with //android.widget.TextView[@text='岗位自查'] 2021-11-17 15:51:00 TRACE [XPathUtil$.339.getNodeListByXPath] filted node list length 0 2021-11-17 15:51:00 INFO [Crawler.516.getAvailableElement] selected nodes size = 0 2021-11-17 15:51:00 TRACE [XPathUtil$.236.getNodeListByXPath] nodeList length 0 with //*[contains(@class, 'WebView')] 2021-11-17 15:51:00 TRACE [XPathUtil$.339.getNodeListByXPath] filted node list length 0 2021-11-17 15:51:00 TRACE [Crawler.543.$anonfun$getAvailableElement$9] blackList xpath = //android.widget.TextView[@text='我的'] 2021-11-17 15:51:00 TRACE [XPathUtil$.236.getNodeListByXPath] nodeList length 0 with //android.widget.TextView[@text='我的'] 2021-11-17 15:51:00 TRACE [XPathUtil$.339.getNodeListByXPath] filted node list length 0 2021-11-17 15:51:00 TRACE [Crawler.543.$anonfun$getAvailableElement$9] blackList xpath = //android.widget.TextView[@text='消息'] 2021-11-17 15:51:00 TRACE [XPathUtil$.236.getNodeListByXPath] nodeList length 0 with //android.widget.TextView[@text='消息'] 2021-11-17 15:51:00 TRACE [XPathUtil$.339.getNodeListByXPath] filted node list length 0 2021-11-17 15:51:00 TRACE [Crawler.543.$anonfun$getAvailableElement$9] blackList xpath = //android.widget.TextView[@text='待办'] 2021-11-17 15:51:00 TRACE [XPathUtil$.236.getNodeListByXPath] nodeList length 0 with //android.widget.TextView[@text='待办'] 2021-11-17 15:51:00 TRACE [XPathUtil$.339.getNodeListByXPath] filted node list length 0 2021-11-17 15:51:00 TRACE [Crawler.543.$anonfun$getAvailableElement$9] blackList xpath = .*[0-9]{2}.* 2021-11-17 15:51:00 TRACE [Crawler.543.$anonfun$getAvailableElement$9] blackList xpath = //*[@resource-id='hik.ebg.finance:id/edit_btn'] 2021-11-17 15:51:00 TRACE [XPathUtil$.236.getNodeListByXPath] nodeList length 0 with //*[@resource-id='hik.ebg.finance:id/edit_btn'] 2021-11-17 15:51:00 TRACE [XPathUtil$.339.getNodeListByXPath] filted node list length 0 2021-11-17 15:51:00 TRACE [Crawler.543.$anonfun$getAvailableElement$9] blackList xpath = //*[@resource-id='hik.ebg.finance:id/scan_qr_code'] 2021-11-17 15:51:00 TRACE [XPathUtil$.236.getNodeListByXPath] nodeList length 0 with //*[@resource-id='hik.ebg.finance:id/scan_qr_code'] 2021-11-17 15:51:00 TRACE [XPathUtil$.339.getNodeListByXPath] filted node list length 0 2021-11-17 15:51:00 INFO [Crawler.551.getAvailableElement] selectedElements - black elements size = 0 2021-11-17 15:51:00 INFO [Crawler.570.getAvailableElement] selectedElements - backButton size=0 2021-11-17 15:51:00 INFO [Crawler.578.getAvailableElement] selectedElements - clicked size=0 2021-11-17 15:51:00 INFO [Crawler.585.getAvailableElement] selectedElements - skiped fresh elements size=0 2021-11-17 15:51:00 TRACE [Crawler.606.$anonfun$getAvailableElement$24] lastList xpath = //android.widget.TextView[@text='岗位自查'] 2021-11-17 15:51:00 TRACE [XPathUtil$.236.getNodeListByXPath] nodeList length 0 with //android.widget.TextView[@text='岗位自查'] 2021-11-17 15:51:00 TRACE [XPathUtil$.339.getNodeListByXPath] filted node list length 0 2021-11-17 15:51:00 TRACE [Crawler.680.$anonfun$sortByAttribute$1] sort by depth 2021-11-17 15:51:00 TRACE [Crawler.680.$anonfun$sortByAttribute$1] sort by list 2021-11-17 15:51:00 TRACE [Crawler.680.$anonfun$sortByAttribute$1] sort by selected 2021-11-17 15:51:00 TRACE [Crawler.680.$anonfun$sortByAttribute$1] sort by depth 2021-11-17 15:51:00 TRACE [Crawler.680.$anonfun$sortByAttribute$1] sort by list 2021-11-17 15:51:00 TRACE [Crawler.680.$anonfun$sortByAttribute$1] sort by selected 2021-11-17 15:51:00 TRACE [Crawler.680.$anonfun$sortByAttribute$1] sort by depth 2021-11-17 15:51:00 TRACE [Crawler.680.$anonfun$sortByAttribute$1] sort by list 2021-11-17 15:51:00 TRACE [Crawler.680.$anonfun$sortByAttribute$1] sort by selected 2021-11-17 15:51:00 TRACE [Crawler.627.getAvailableElement] sorted nodes length=0 2021-11-17 15:51:00 INFO [Crawler.635.getAvailableElement] next element None 2021-11-17 15:51:00 INFO [Crawler.1010.crawl] hik.ebg.finance.MainFragmentContentActivity all elements had be clicked 2021-11-17 15:51:00 WARN [Crawler.1022.crawl] afterAll too many times 1 >= 1 2021-11-17 15:51:00 INFO [Crawler.895.getBackButton] go back 2021-11-17 15:51:00 TRACE [Crawler.897.getBackButton] ListBuffer(Step(List(),null,List(),Navigate up,click,List(),0)) 2021-11-17 15:51:00 INFO [Crawler.922.getBackButton] can't find backButton button from config 2021-11-17 15:51:00 INFO [Crawler.923.getBackButton] find backButton from history 2021-11-17 15:51:00 INFO [Crawler.937.getBackButton] can't find backButton from history 2021-11-17 15:51:00 TRACE [XPathUtil$.236.getNodeListByXPath] nodeList length 1 with /*/* 2021-11-17 15:51:00 TRACE [XPathUtil$.339.getNodeListByXPath] filted node list length 1 2021-11-17 15:51:00 INFO [Crawler.753.beforeElementAction] hik.ebg.finance.MainFragmentContentActivity.tag=Back.depth=2.id=Back.name=Back 2021-11-17 15:51:00 TRACE [Crawler.759.beforeElementAction] beforeElementAction 2021-11-17 15:51:00 INFO [Crawler.1058.doElementAction] current index = 21 2021-11-17 15:51:00 INFO [Crawler.1059.doElementAction] current xpath = //android.widget.FrameLayout[@class='android.widget.FrameLayout'] 2021-11-17 15:51:00 INFO [Crawler.1060.doElementAction] current action = _Back 2021-11-17 15:51:00 INFO [Crawler.1061.doElementAction] current element = hik.ebg.finance.MainFragmentContentActivity.tag=Back.depth=2.id=Back.name=Back 2021-11-17 15:51:00 INFO [Crawler.1062.doElementAction] current url = hik.ebg.finance.MainFragmentContentActivity 2021-11-17 15:51:00 INFO [Crawler.1063.doElementAction] current tag path = //android.widget.FrameLayout[@class='android.widget.FrameLayout'] 2021-11-17 15:51:00 INFO [Crawler.1064.doElementAction] current file name = hik.ebg.finance.MainFragmentContentActivity.tag=Back.depth=2.id=Back.name=Back 2021-11-17 15:51:00 INFO [URIElementStore.83.saveReqDom] save reqDom to 21 2021-11-17 15:51:00 INFO [Crawler.1188.saveElementScreenshot] draw element in F://zjyshare//CaeData//src//main//webapp//upload//report20211117/21_hik.ebg.finance.MainFragmentContentActivity.tag=Back.depth=2.id=Back.name=Back.click.png 2021-11-17 15:51:00 INFO [Crawler.1078.doElementAction] back 2021-11-17 15:51:00 INFO [Crawler.1265.$anonfun$back$2] navigate back 2021-11-17 15:51:00 INFO [Crawler.1171.doElementAction] afterAllRetry = 0 because of last action not equal to after 2021-11-17 15:51:00 INFO [Crawler.1175.doElementAction] sleep 2000 ms 2021-11-17 15:51:02 INFO [Crawler.778.afterElementAction] mark image exist 2021-11-17 15:51:02 INFO [Crawler.1229.saveScreen] start screenshot 2021-11-17 15:51:02 INFO [Crawler.1234.$anonfun$saveScreen$2] ui change screenshot again 2021-11-17 15:51:02 ERROR [LogicUtils$.13.handleException] org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'PC-HZ20127903', ip: '10.10.66.56', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false} Session ID: 5c64ebf2-d71e-4ddd-8c09-a6e3093d7ba6 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$.$anonfun$asyncTask$1(LogicUtils.scala:50) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$.asyncTask(LogicUtils.scala:41) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.saveScreen(Crawler.scala:1233) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.afterElementAction(Crawler.scala:790) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.crawl(Crawler.scala:1039) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.$anonfun$crawlWithRetry$1(Crawler.scala:207) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.crawlWithRetry(Crawler.scala:207) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.start(Crawler.scala:170) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:323) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:290) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.main(AppCrawler.scala:81) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler.main(AppCrawler.scala) 2021-11-17 15:51:02 ERROR [LogicUtils$.16.handleException] find more cause 2021-11-17 15:51:02 ERROR [LogicUtils$.13.handleException] Screen shot has been taken Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'PC-HZ20127903', ip: '10.10.66.56', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false} Session ID: 5c64ebf2-d71e-4ddd-8c09-a6e3093d7ba6 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] jdk.internal.reflect.GeneratedConstructorAccessor30.newInstance(Unknown Source) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.SeleniumDriver.screenshot(SeleniumDriver.scala:70) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.$anonfun$saveScreen$2(Crawler.scala:1235) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$$anon$1.call(LogicUtils.scala:44) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 2021-11-17 15:51:02 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.lang.Thread.run(Thread.java:834) 2021-11-17 15:51:02 ERROR [LogicUtils$.18.handleException] exception finish 2021-11-17 15:51:02 ERROR [Crawler.1243.saveScreen] screenshot error 2021-11-17 15:51:02 ERROR [Crawler.1244.saveScreen] org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'PC-HZ20127903', ip: '10.10.66.56', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false} Session ID: 5c64ebf2-d71e-4ddd-8c09-a6e3093d7ba6 2021-11-17 15:51:02 INFO [Crawler.690.refreshPage] refresh page 2021-11-17 15:51:02 INFO [ReactWebDriver.91.getPageSourceWithRetry] start to get page source from appium 2021-11-17 15:51:02 TRACE [ReactWebDriver.98.$anonfun$getPageSourceWithRetry$1] get raw page source success 2021-11-17 15:51:02 DEBUG [ReactWebDriver.101.$anonfun$getPageSourceWithRetry$1] ============报错日志2================= 2021-11-17 15:51:02 INFO [ReactWebDriver.46.findElement] find by xpath success 2021-11-17 15:51:02 INFO [Crawler.1141.$anonfun$doElementAction$3] click element 2021-11-17 15:51:02 INFO [Crawler.1171.doElementAction] afterAllRetry = 0 because of last action not equal to after 2021-11-17 15:51:02 INFO [Crawler.1175.doElementAction] sleep 2000 ms 2021-11-17 15:51:04 INFO [Crawler.778.afterElementAction] mark image exist 2021-11-17 15:51:04 INFO [Crawler.1229.saveScreen] start screenshot 2021-11-17 15:51:04 INFO [Crawler.1234.$anonfun$saveScreen$2] ui change screenshot again 2021-11-17 15:51:04 ERROR [LogicUtils$.13.handleException] org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'PC-HZ20127903', ip: '10.10.66.56', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false} Session ID: 5c64ebf2-d71e-4ddd-8c09-a6e3093d7ba6 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$.$anonfun$asyncTask$1(LogicUtils.scala:50) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$.asyncTask(LogicUtils.scala:41) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.saveScreen(Crawler.scala:1233) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.afterElementAction(Crawler.scala:790) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.crawl(Crawler.scala:1039) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.$anonfun$crawlWithRetry$1(Crawler.scala:207) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.crawlWithRetry(Crawler.scala:207) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.start(Crawler.scala:170) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:323) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:290) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.main(AppCrawler.scala:81) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler.main(AppCrawler.scala) 2021-11-17 15:51:04 ERROR [LogicUtils$.16.handleException] find more cause 2021-11-17 15:51:04 ERROR [LogicUtils$.13.handleException] An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'PC-HZ20127903', ip: '10.10.66.56', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false} Session ID: 5c64ebf2-d71e-4ddd-8c09-a6e3093d7ba6 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.SeleniumDriver.screenshot(SeleniumDriver.scala:70) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.$anonfun$saveScreen$2(Crawler.scala:1235) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$$anon$1.call(LogicUtils.scala:44) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.lang.Thread.run(Thread.java:834) 2021-11-17 15:51:04 ERROR [LogicUtils$.18.handleException] exception finish 2021-11-17 15:51:04 ERROR [Crawler.1243.saveScreen] screenshot error 2021-11-17 15:51:04 ERROR [Crawler.1244.saveScreen] org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'PC-HZ20127903', ip: '10.10.66.56', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false} Session ID: 5c64ebf2-d71e-4ddd-8c09-a6e3093d7ba6 2021-11-17 15:51:04 INFO [Crawler.690.refreshPage] refresh page 2021-11-17 15:51:04 INFO [ReactWebDriver.91.getPageSourceWithRetry] start to get page source from appium 2021-11-17 15:51:04 ERROR [LogicUtils$.13.handleException] org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Could not proxy command to the remote server. Original error: socket hang up Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'PC-HZ20127903', ip: '10.10.66.56', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false} Session ID: 5c64ebf2-d71e-4ddd-8c09-a6e3093d7ba6 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$.$anonfun$asyncTask$1(LogicUtils.scala:50) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$.asyncTask(LogicUtils.scala:41) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.ReactWebDriver.$anonfun$getPageSourceWithRetry$1(ReactWebDriver.scala:96) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:190) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.ReactWebDriver.getPageSourceWithRetry(ReactWebDriver.scala:95) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.refreshPage(Crawler.scala:691) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.afterElementAction(Crawler.scala:792) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.crawl(Crawler.scala:1039) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.$anonfun$crawlWithRetry$1(Crawler.scala:207) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.crawlWithRetry(Crawler.scala:207) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.start(Crawler.scala:170) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:323) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:290) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.main(AppCrawler.scala:81) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler.main(AppCrawler.scala) 2021-11-17 15:51:04 ERROR [LogicUtils$.16.handleException] find more cause 2021-11-17 15:51:04 ERROR [LogicUtils$.13.handleException] An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Could not proxy command to the remote server. Original error: socket hang up Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'PC-HZ20127903', ip: '10.10.66.56', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false} Session ID: 5c64ebf2-d71e-4ddd-8c09-a6e3093d7ba6 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.RemoteWebDriver.getPageSource(RemoteWebDriver.java:438) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.AppiumClient.getPageSource(AppiumClient.scala:233) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.ReactWebDriver.$anonfun$getPageSourceWithRetry$2(ReactWebDriver.scala:96) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$$anon$1.call(LogicUtils.scala:44) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 2021-11-17 15:51:04 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.lang.Thread.run(Thread.java:834) 2021-11-17 15:51:04 ERROR [LogicUtils$.18.handleException] exception finish 2021-11-17 15:51:04 ERROR [ReactWebDriver.131.$anonfun$getPageSourceWithRetry$1] get page source error 2021-11-17 15:51:04 ERROR [ReactWebDriver.132.$anonfun$getPageSourceWithRetry$1] org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Could not proxy command to the remote server. Original error: socket hang up Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'PC-HZ20127903', ip: '10.10.66.56', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false} Session ID: 5c64ebf2-d71e-4ddd-8c09-a6e3093d7ba6 2021-11-17 15:51:04 WARN [ReactWebDriver.136.$anonfun$getPageSourceWithRetry$1] retry 1 times after 5s 2021-11-17 15:51:09 ERROR [LogicUtils$.13.handleException] org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Could not proxy command to the remote server. Original error: socket hang up Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'PC-HZ20127903', ip: '10.10.66.56', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false} Session ID: 5c64ebf2-d71e-4ddd-8c09-a6e3093d7ba6 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$.$anonfun$asyncTask$1(LogicUtils.scala:50) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$.asyncTask(LogicUtils.scala:41) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.ReactWebDriver.$anonfun$getPageSourceWithRetry$1(ReactWebDriver.scala:96) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:190) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.ReactWebDriver.getPageSourceWithRetry(ReactWebDriver.scala:95) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.refreshPage(Crawler.scala:691) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.afterElementAction(Crawler.scala:792) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.crawl(Crawler.scala:1039) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.$anonfun$crawlWithRetry$1(Crawler.scala:207) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.crawlWithRetry(Crawler.scala:207) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.start(Crawler.scala:170) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:323) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:290) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.main(AppCrawler.scala:81) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler.main(AppCrawler.scala) 2021-11-17 15:51:09 ERROR [LogicUtils$.16.handleException] find more cause 2021-11-17 15:51:09 ERROR [LogicUtils$.13.handleException] An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Could not proxy command to the remote server. Original error: socket hang up Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'PC-HZ20127903', ip: '10.10.66.56', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false} Session ID: 5c64ebf2-d71e-4ddd-8c09-a6e3093d7ba6 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] org.openqa.selenium.remote.RemoteWebDriver.getPageSource(RemoteWebDriver.java:438) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.AppiumClient.getPageSource(AppiumClient.scala:233) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.driver.ReactWebDriver.$anonfun$getPageSourceWithRetry$2(ReactWebDriver.scala:96) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$$anon$1.call(LogicUtils.scala:44) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 2021-11-17 15:51:09 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.lang.Thread.run(Thread.java:834) 2021-11-17 15:51:09 ERROR [LogicUtils$.18.handleException] exception finish 2021-11-17 15:51:09 ERROR [ReactWebDriver.131.$anonfun$getPageSourceWithRetry$1] get page source error 2021-11-17 15:51:09 ERROR [ReactWebDriver.132.$anonfun$getPageSourceWithRetry$1] org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Could not proxy command to the remote server. Original error: socket hang up Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'PC-HZ20127903', ip: '10.10.66.56', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, databaseEnabled: false, desired: {app: , appActivity: hik.ebg.finance.MainActivity, appPackage: hik.ebg.finance, appium: http://127.0.0.1:4723/wd/hub, automationName: uiautomator2, deviceName: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, newCommandTimeout: 120, noReset: false, platformName: android, platformVersion: 7.1.2}, deviceApiLevel: 25, deviceManufacturer: HUAWEI, deviceModel: LIO-AN00, deviceName: 127.0.0.1:62001, deviceScreenDensity: 320, deviceScreenSize: 900x1600, deviceUDID: 127.0.0.1:62001, dontStopAppOnReset: false, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 120, noReset: false, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1552, left: 0, top: 48, width: 900}, warnings: {}, webStorageEnabled: false} Session ID: 5c64ebf2-d71e-4ddd-8c09-a6e3093d7ba6 2021-11-17 15:51:09 WARN [ReactWebDriver.136.$anonfun$getPageSourceWithRetry$1] retry 2 times after 5s 2021-11-17 15:51:14 WARN [Crawler.699.refreshPage] page source get fail, go back 2021-11-17 15:51:14 INFO [Crawler.1215.saveDom] save to F://zjyshare//CaeData//src//main//webapp//upload//report20211117/22_hik.ebg.finance.实时预览.所有功能.tag=TextView.depth=16.id=menu_name.text=图片查询.clicked.xml 2021-11-17 15:51:14 ERROR [LogicUtils$.13.handleException] java.lang.NullPointerException 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$.$anonfun$asyncTask$1(LogicUtils.scala:50) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$.asyncTask(LogicUtils.scala:41) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.saveDom(Crawler.scala:1217) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.afterElementAction(Crawler.scala:793) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.crawl(Crawler.scala:1039) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.$anonfun$crawlWithRetry$1(Crawler.scala:207) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.util.Try$.apply(Try.scala:210) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.crawlWithRetry(Crawler.scala:207) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.start(Crawler.scala:170) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:323) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:290) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler$.main(AppCrawler.scala:81) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.AppCrawler.main(AppCrawler.scala) 2021-11-17 15:51:14 ERROR [LogicUtils$.16.handleException] find more cause 2021-11-17 15:51:14 ERROR [LogicUtils$.13.handleException] null 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.core.Crawler.$anonfun$saveDom$1(Crawler.scala:1217) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] com.ceshiren.appcrawler.utils.LogicUtils$$anon$1.call(LogicUtils.scala:44) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 2021-11-17 15:51:14 ERROR [LogicUtils$.14.$anonfun$handleException$1] java.base/java.lang.Thread.run(Thread.java:834) 2021-11-17 15:51:14 ERROR [LogicUtils$.18.handleException] exception finish 2021-11-17 15:51:14 INFO [URIElementStore.75.saveResHash] save resHash to 22 2021-11-17 15:51:14 INFO [URIElementStore.106.saveResImg] save resImg F://zjyshare//CaeData//src//main//webapp//upload//report20211117/22_hik.ebg.finance.实时预览.所有功能.tag=TextView.depth=16.id=menu_name.text=图片查询.clicked.png to 22 2021-11-17 15:51:14 ERROR [Crawler.214.crawlWithRetry] crawl not finish, return with exception 2021-11-17 15:51:14 ERROR [Crawler.215.crawlWithRetry] null 2021-11-17 15:51:14 ERROR [Crawler.216.crawlWithRetry] NullPointerException: 2021-11-17 15:51:14 ERROR [Crawler.217.crawlWithRetry] java.lang.NullPointerException 2021-11-17 15:51:14 ERROR [Crawler.218.$anonfun$crawlWithRetry$2] java.lang.NullPointerException 2021-11-17 15:51:14 ERROR [Crawler.218.$anonfun$crawlWithRetry$2] at com.ceshiren.appcrawler.core.Crawler.afterElementAction(Crawler.scala:798) 2021-11-17 15:51:14 ERROR [Crawler.218.$anonfun$crawlWithRetry$2] at com.ceshiren.appcrawler.core.Crawler.crawl(Crawler.scala:1039) 2021-11-17 15:51:14 ERROR [Crawler.218.$anonfun$crawlWithRetry$2] at com.ceshiren.appcrawler.core.Crawler.$anonfun$crawlWithRetry$1(Crawler.scala:207) 2021-11-17 15:51:14 ERROR [Crawler.218.$anonfun$crawlWithRetry$2] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 2021-11-17 15:51:14 ERROR [Crawler.218.$anonfun$crawlWithRetry$2] at scala.util.Try$.apply(Try.scala:210) 2021-11-17 15:51:14 ERROR [Crawler.218.$anonfun$crawlWithRetry$2] at com.ceshiren.appcrawler.core.Crawler.crawlWithRetry(Crawler.scala:207) 2021-11-17 15:51:14 ERROR [Crawler.218.$anonfun$crawlWithRetry$2] at com.ceshiren.appcrawler.core.Crawler.start(Crawler.scala:170) 2021-11-17 15:51:14 ERROR [Crawler.218.$anonfun$crawlWithRetry$2] at com.ceshiren.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:323) 2021-11-17 15:51:14 ERROR [Crawler.218.$anonfun$crawlWithRetry$2] at com.ceshiren.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:290) 2021-11-17 15:51:14 ERROR [Crawler.218.$anonfun$crawlWithRetry$2] at com.ceshiren.appcrawler.AppCrawler$.main(AppCrawler.scala:81) 2021-11-17 15:51:14 ERROR [Crawler.218.$anonfun$crawlWithRetry$2] at com.ceshiren.appcrawler.AppCrawler.main(AppCrawler.scala) 2021-11-17 15:51:14 ERROR [Crawler.219.crawlWithRetry] create new session Exception in thread "main" java.lang.NullPointerException