Feb 23, 2022 5:18:56 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0
INFO: Detected dialect: W3C
java.lang.NullPointerException
at com.ceshiren.appcrawler.utils.XPathUtil$.toDocument(XPathUtil.scala:30)
at com.ceshiren.appcrawler.utils.XPathUtil.toDocument(XPathUtil.scala)
at com.ceshiren.appcrawler.model.PageSource.fromXML(PageSource.java:44)
at com.ceshiren.appcrawler.model.PageSource.getPagefromXML(PageSource.java:29)
at com.ceshiren.appcrawler.driver.ReactWebDriver.$anonfun$getPageSourceWithRetry$1(ReactWebDriver.scala:121)
at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:190)
at com.ceshiren.appcrawler.driver.ReactWebDriver.getPageSourceWithRetry(ReactWebDriver.scala:92)
at com.ceshiren.appcrawler.core.Crawler.refreshPage(Crawler.scala:694)
at com.ceshiren.appcrawler.core.Crawler.afterElementAction(Crawler.scala:795)
at com.ceshiren.appcrawler.core.Crawler.crawl(Crawler.scala:1024)
at com.ceshiren.appcrawler.core.Crawler.$anonfun$crawlWithRetry$1(Crawler.scala:214)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at scala.util.Try$.apply(Try.scala:210)
at com.ceshiren.appcrawler.core.Crawler.crawlWithRetry(Crawler.scala:214)
at com.ceshiren.appcrawler.core.Crawler.start(Crawler.scala:171)
at com.ceshiren.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:319)
at com.ceshiren.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:286)
at com.ceshiren.appcrawler.AppCrawler$.main(AppCrawler.scala:73)
at com.ceshiren.appcrawler.AppCrawler.main(AppCrawler.scala)
java.lang.NullPointerException
at com.ceshiren.appcrawler.utils.XPathUtil$.toDocument(XPathUtil.scala:30)
at com.ceshiren.appcrawler.utils.XPathUtil.toDocument(XPathUtil.scala)
at com.ceshiren.appcrawler.model.PageSource.fromXML(PageSource.java:44)
at com.ceshiren.appcrawler.model.PageSource.getPagefromXML(PageSource.java:29)
at com.ceshiren.appcrawler.driver.ReactWebDriver.$anonfun$getPageSourceWithRetry$1(ReactWebDriver.scala:121)
at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:190)
at com.ceshiren.appcrawler.driver.ReactWebDriver.getPageSourceWithRetry(ReactWebDriver.scala:92)
at com.ceshiren.appcrawler.core.Crawler.refreshPage(Crawler.scala:694)
at com.ceshiren.appcrawler.core.Crawler.afterElementAction(Crawler.scala:795)
at com.ceshiren.appcrawler.core.Crawler.crawl(Crawler.scala:1024)
at com.ceshiren.appcrawler.core.Crawler.$anonfun$crawlWithRetry$1(Crawler.scala:214)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at scala.util.Try$.apply(Try.scala:210)
at com.ceshiren.appcrawler.core.Crawler.crawlWithRetry(Crawler.scala:214)
at com.ceshiren.appcrawler.core.Crawler.start(Crawler.scala:171)
at com.ceshiren.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:319)
at com.ceshiren.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:286)
at com.ceshiren.appcrawler.AppCrawler$.main(AppCrawler.scala:73)
at com.ceshiren.appcrawler.AppCrawler.main(AppCrawler.scala)
Feb 23, 2022 5:26:35 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0
INFO: Detected dialect: W3C
appium报错了嘛
正常跑完了,不过有assert fail
e[36mTotal number of tests run: 113e[0m
e[36mSuites: completed 22, aborted 0e[0m
e[36mTests: succeeded 105, failed 8, canceled 0, ignored 0, pending 0e[0m
e[31m*** 8 TESTS FAILED ***e[0m
2022-02-23 14:58:30 INFO [FreeMind.18.stop] genereate freemind file freemind.mm
2022-02-23 14:58:30 INFO [Crawler.1296.stop] generate report finish
2022-02-23 14:58:30 INFO [Crawler.1297.stop] report in