Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Russ
, 1 year ago
com.mongodb.operation.MixedBulkWriteOperation.bypassDocumentValidation(Ljava/lang/Boolean;)Lcom/mongodb/operation/MixedBulkWriteOperation;
java.lang.NoSuchMethodError: com.mongodb.operation.MixedBulkWriteOperation.bypassDocumentValidation(Ljava/lang/Boolean;)Lcom/mongodb/operation/MixedBulkWriteOperation;	at com.mongodb.async.client.MongoCollectionImpl.executeSingleWriteRequest(MongoCollectionImpl.java:588)	at com.mongodb.async.client.MongoCollectionImpl.insertOne(MongoCollectionImpl.java:314)	at com.mongodb.async.client.MongoCollectionImpl.insertOne(MongoCollectionImpl.java:305)	at org.mongodb.scala.MongoCollection$$anonfun$insertOne$1.apply(MongoCollection.scala:251)	at org.mongodb.scala.MongoCollection$$anonfun$insertOne$1.apply(MongoCollection.scala:251)	at org.mongodb.scala.internal.ObservableHelper$$anon$2.apply(ObservableHelper.scala:42)	at org.mongodb.scala.internal.ObservableHelper$$anon$2.apply(ObservableHelper.scala:40)	at com.mongodb.async.client.SingleResultCallbackSubscription.requestInitialData(SingleResultCallbackSubscription.java:39)	at com.mongodb.async.client.AbstractSubscription.tryRequestInitialData(AbstractSubscription.java:151)	at com.mongodb.async.client.AbstractSubscription.request(AbstractSubscription.java:82)	at org.mongodb.scala.ObservableImplicits$BoxedSubscription.request(ObservableImplicits.scala:382)	at org.mongodb.scala.Observer$class.onSubscribe(Observer.scala:49)	at com.syncroness.salesapp.SalesAppScalatraServlet$$anonfun$1$$anon$1.onSubscribe(SalesAppScalatraServlet.scala:35)	at org.mongodb.scala.Observer$class.onSubscribe(Observer.scala:85)	at com.syncroness.salesapp.SalesAppScalatraServlet$$anonfun$1$$anon$1.onSubscribe(SalesAppScalatraServlet.scala:35)	at com.mongodb.async.client.SingleResultCallbackSubscription.(SingleResultCallbackSubscription.java:34)	at com.mongodb.async.client.Observables$2.subscribe(Observables.java:76)	at org.mongodb.scala.ObservableImplicits$BoxedObservable.subscribe(ObservableImplicits.scala:366)	at com.syncroness.salesapp.SalesAppScalatraServlet$$anonfun$1.apply$mcV$sp(SalesAppScalatraServlet.scala:35)	at com.syncroness.salesapp.SalesAppScalatraServlet$$anonfun$1.apply(SalesAppScalatraServlet.scala:31)	at com.syncroness.salesapp.SalesAppScalatraServlet$$anonfun$1.apply(SalesAppScalatraServlet.scala:31)	at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$liftAction(ScalatraBase.scala:285)	at org.scalatra.ScalatraBase$$anonfun$invoke$1.apply(ScalatraBase.scala:279)	at org.scalatra.ScalatraBase$$anonfun$invoke$1.apply(ScalatraBase.scala:279)	at org.scalatra.ApiFormats$class.withRouteMultiParams(ApiFormats.scala:189)	at com.syncroness.salesapp.SalesAppScalatraServlet.withRouteMultiParams(SalesAppScalatraServlet.scala:12)	at org.scalatra.ScalatraBase$class.invoke(ScalatraBase.scala:278)	at com.syncroness.salesapp.SalesAppScalatraServlet.org$scalatra$json$JsonSupport$$super$invoke(SalesAppScalatraServlet.scala:12)	at org.scalatra.json.JsonSupport$$anonfun$invoke$1.apply(JsonSupport.scala:88)	at org.scalatra.json.JsonSupport$$anonfun$invoke$1.apply(JsonSupport.scala:82)	at org.scalatra.ApiFormats$class.withRouteMultiParams(ApiFormats.scala:189)	at com.syncroness.salesapp.SalesAppScalatraServlet.withRouteMultiParams(SalesAppScalatraServlet.scala:12)	at org.scalatra.json.JsonSupport$class.invoke(JsonSupport.scala:82)	at com.syncroness.salesapp.SalesAppScalatraServlet.invoke(SalesAppScalatraServlet.scala:12)	at org.scalatra.ScalatraBase$$anonfun$runRoutes$1$$anonfun$apply$8.apply(ScalatraBase.scala:253)	at org.scalatra.ScalatraBase$$anonfun$runRoutes$1$$anonfun$apply$8.apply(ScalatraBase.scala:251)	at scala.Option.flatMap(Option.scala:171)	at org.scalatra.ScalatraBase$$anonfun$runRoutes$1.apply(ScalatraBase.scala:251)	at org.scalatra.ScalatraBase$$anonfun$runRoutes$1.apply(ScalatraBase.scala:250)	at scala.collection.immutable.Stream.flatMap(Stream.scala:489)	at org.scalatra.ScalatraBase$class.runRoutes(ScalatraBase.scala:250)	at com.syncroness.salesapp.SalesAppScalatraServlet.runRoutes(SalesAppScalatraServlet.scala:12)	at org.scalatra.ScalatraBase$class.runActions$1(ScalatraBase.scala:175)	at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply$mcV$sp(ScalatraBase.scala:187)	at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:187)	at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:187)	at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$cradleHalt(ScalatraBase.scala:205)	at org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:187)	at com.syncroness.salesapp.SalesAppScalatraServlet.executeRoutes(SalesAppScalatraServlet.scala:12)	at org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:126)	at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:126)	at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:126)	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)	at org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:78)	at com.syncroness.salesapp.SalesAppScalatraServlet.withResponse(SalesAppScalatraServlet.scala:12)	at org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:58)	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)	at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:69)	at com.syncroness.salesapp.SalesAppScalatraServlet.withRequest(SalesAppScalatraServlet.scala:12)	at org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:57)	at com.syncroness.salesapp.SalesAppScalatraServlet.withRequestResponse(SalesAppScalatraServlet.scala:12)	at org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:125)	at com.syncroness.salesapp.SalesAppScalatraServlet.org$scalatra$servlet$ServletBase$$super$handle(SalesAppScalatraServlet.scala:12)	at org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:53)	at com.syncroness.salesapp.SalesAppScalatraServlet.org$scalatra$scalate$ScalateSupport$$super$handle(SalesAppScalatraServlet.scala:12)	at org.scalatra.scalate.ScalateSupport$class.handle(ScalateSupport.scala:152)	at com.syncroness.salesapp.SalesAppScalatraServlet.handle(SalesAppScalatraServlet.scala:12)	at org.scalatra.ScalatraServlet$class.service(ScalatraServlet.scala:60)	at com.syncroness.salesapp.SalesAppScalatraServlet.service(SalesAppScalatraServlet.scala:12)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:751)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:566)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:498)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199)	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:98)	at org.eclipse.jetty.server.Server.handle(Server.java:461)	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:284)	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)	at java.lang.Thread.run(Thread.java:745)