Alkaar / resy-booking-bot

🔫 Helps to snipe hard to get reservations at restaurants that use resy
409 stars 215 forks source link

First time using bot, error: java.lang.ExceptionInInitializerError #129

Closed jaipalsilla closed 1 year ago

jaipalsilla commented 1 year ago

I am running the bot, but keep getting this issue. Has anyone faced this?

java.lang.ExceptionInInitializerError at com.resy.ResyApi.getReservations(ResyApi.scala:34) at com.resy.ResyClient.$anonfun$retryFindReservations$1(ResyClient.scala:154) at scala.util.Try$.apply(Try.scala:210) at com.resy.ResyClient.retryFindReservations(ResyClient.scala:152) at com.resy.ResyClient.findReservations(ResyClient.scala:50) at com.resy.ResyBookingWorkflow.runnable(ResyBookingWorkflow.scala:22) at com.resy.ResyBookingWorkflow.run(ResyBookingWorkflow.scala:14) at com.resy.ResyBookingBot$.$anonfun$main$4(ResyBookingBot.scala:51) at akka.actor.Scheduler$$anon$7.run(Scheduler.scala:479) at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1423) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: java.lang.ClassCastException: interface akka.event.LoggingFilter is not assignable from class akka.event.slf4j.Slf4jLoggingFilter at akka.actor.ReflectiveDynamicAccess.$anonfun$getClassFor$1(ReflectiveDynamicAccess.scala:31) at scala.util.Try$.apply(Try.scala:210) at akka.actor.ReflectiveDynamicAccess.getClassFor(ReflectiveDynamicAccess.scala:28) at akka.actor.ReflectiveDynamicAccess.createInstanceFor(ReflectiveDynamicAccess.scala:47) at akka.actor.ActorSystemImpl.(ActorSystem.scala:929) at akka.actor.ActorSystem$.apply(ActorSystem.scala:272) at akka.actor.ActorSystem$.apply(ActorSystem.scala:316) at akka.actor.ActorSystem$.apply(ActorSystem.scala:260) at akka.actor.ActorSystem$.apply(ActorSystem.scala:251) at com.resy.ResyApi$.(ResyApi.scala:77) ... 15 more