appcrawler 的 afterPage参数配置

请问appcrawler 的 afterPage参数配置出现这个错误能怎么解决呢
配置文件如下:
afterPage:

  • given:
    when: null
    then:
    xpath: "//"
    action: “driver.swipe(0.5, 0.7, 0.5, 0.4)”
    actions: []
    times: 10
    遍历完当前页面后没有执行滑动,直接重启app了
    部分日志如下:
    2021-03-19 20:42:41 INFO [Crawler.1000.doElementAction] current url = AllMenuActivity
    2021-03-19 20:42:41 INFO [Crawler.1001.doElementAction] current tag path =
    2021-03-19 20:42:41 INFO [Crawler.1002.doElementAction] current file name = AllMenuActivity.tag=.id=afterUrlFinished
    2021-03-19 20:42:41 INFO [Crawler.1043.$anonfun$doElementAction$2] match Step(List(),null,List(),//
    ,driver.swipe(0.5, 0.7, 0.5, 0.4),List(),10)
    2021-03-19 20:42:41 ERROR [Crawler.193.crawl] crawl not finish, return with exception
    2021-03-19 20:42:41 ERROR [Crawler.194.crawl]
    2021-03-19 20:42:41 ERROR [Crawler.195.crawl] NullPointerException:
    2021-03-19 20:42:41 ERROR [Crawler.196.crawl]
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] java.lang.NullPointerException
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhome.appcrawler.Crawler.$anonfun$doElementAction$2(Crawler.scala:1045)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhome.appcrawler.Crawler.$anonfun$doElementAction$2$adapted(Crawler.scala:1040)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at scala.collection.immutable.List.foreach(List.scala:389)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at scala.collection.generic.TraversableForwarder.foreach(TraversableForwarder.scala:35)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at scala.collection.generic.TraversableForwarder.foreach$(TraversableForwarder.scala:35)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at scala.collection.mutable.ListBuffer.foreach(ListBuffer.scala:44)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhome.appcrawler.Crawler.doElementAction(Crawler.scala:1040)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhome.appcrawler.Crawler.crawl(Crawler.scala:898)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhome.appcrawler.Crawler.$anonfun$crawl$1(Crawler.scala:187)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at scala.util.Try$.apply(Try.scala:209)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhome.appcrawler.Crawler.crawl(Crawler.scala:187)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhome.appcrawler.Crawler.start(Crawler.scala:170)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhome.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:322)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhome.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:290)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhome.appcrawler.AppCrawler$.main(AppCrawler.scala:91)
    2021-03-19 20:42:41 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhome.appcrawler.AppCrawler.main(AppCrawler.scala)
    2021-03-19 20:42:41 ERROR [Crawler.198.crawl] create new session
    2021-03-19 20:42:41 INFO [Crawler.214.restart] execute shell on restart
    2021-03-19 20:42:41 INFO [Crawler.217.restart] restart appium