Loading ...
Sorry, an error occurred while loading the content.
 

Re: Fragment evaluation error using 0.6.1

Expand Messages
  • Noel Welsh
    For anyone else trying this: You need to make sure your project matches the Scalaz version used in BE 0.6.1: org.scalaz % scalaz-core_2.9.2 %
    Message 1 of 2 , Oct 27, 2012
      For anyone else trying this:

      You need to make sure your project matches the Scalaz version used in BE 0.6.1:

      "org.scalaz" % "scalaz-core_2.9.2" % "7.0-SNAPSHOT" changing(),

      Then fix all the small (point-free?) changes.

      N.

      On Fri, Oct 26, 2012 at 8:47 PM, Noel Welsh <noelwelsh@...> wrote:
      > Chums,
      >
      > Since switching to 0.6.1-SNAPSHOT I'm consistently getting Fragment
      > evaluation errors in my specs. This is reproducible. Example stack
      > trace below (they all seem the same). Rolling back to 0.6.0 fixes the
      > issue. I'm assuming this is some version issue. The only relevant
      > commit I can see is this one:
      >
      > https://github.com/jdegoes/blueeyes/commit/d5f283af8025fafffbc7c3ee075e59d27779d923
      >
      > - "org.scalaz" %% "scalaz-core" %
      > "7.0-SNAPSHOT" changing(),
      > + "org.scalaz" % "scalaz-core_2.9.2" %
      > "7.0-SNAPSHOT" changing(),
      >
      > Does anyone have any insight into the problem? I'd rather not spend
      > the next N hours blindly tweaking things and rebuilding BlueEyes.
      >
      > Thanks,
      > N.
      >
      > [info]
      > [error] ! Fragment evaluation error
      > [error] ThrowableException:
      > scalaz.ValidationFunctions.success()Lscala/Function1;
      > (TraversableLike.scala:194)
      > [error] blueeyes.persistence.mongo.json.MongoJValueBijection$.unapply(BijectionsMongoJson.scala:37)
      > [error] blueeyes.persistence.mongo.json.MongoJValueBijection$.unapply(BijectionsMongoJson.scala:19)
      > [error] blueeyes.persistence.mongo.RealDatabaseCollection.blueeyes$persistence$mongo$RealDatabaseCollection$$jvo2dbo(RealMongoImplementation.scala:230)
      > [error] blueeyes.persistence.mongo.RealDatabaseCollection.ensureIndex(RealMongoImplementation.scala:153)
      > [error] blueeyes.persistence.mongo.QueryBehaviours$EnsureIndexQueryBehaviour$class.query(QueryBehaviours.scala:53)
      > [error] blueeyes.persistence.mongo.MongoEnsureIndexQuery.query(MongoQuery.scala:95)
      > [error] blueeyes.persistence.mongo.MongoEnsureIndexQuery.query(MongoQuery.scala:95)
      > [error] blueeyes.persistence.mongo.QueryBehaviours$MongoQueryBehaviour$class.unverifiedQuery(QueryBehaviours.scala:35)
      > [error] blueeyes.persistence.mongo.QueryBehaviours$MongoQueryBehaviour$class.apply(QueryBehaviours.scala:24)
      > [error] blueeyes.persistence.mongo.MongoEnsureIndexQuery.apply(MongoQuery.scala:95)
      > [error] blueeyes.persistence.mongo.RealDatabase$RealMongoActor$$anonfun$receive$1.apply(RealMongoImplementation.scala:75)
      > [error] blueeyes.persistence.mongo.RealDatabase$RealMongoActor$$anonfun$receive$1.apply(RealMongoImplementation.scala:72)
      > [error] akka.actor.Actor$class.apply(Actor.scala:318)
      > [error] blueeyes.persistence.mongo.RealDatabase$RealMongoActor.apply(RealMongoImplementation.scala:71)
      > [error] akka.actor.ActorCell.invoke(ActorCell.scala:626)
      > [error] akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197)
      > [error] akka.dispatch.Mailbox.run(Mailbox.scala:179)
      > [error] akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516)
      > [error] akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259)
      > [error] akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)
      > [error] akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479)
      > [error] akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
      > [error] scalaz.ValidationFunctions.success()Lscala/Function1;
      > [error] blueeyes.persistence.mongo.json.MongoJValueBijection$.unapply(BijectionsMongoJson.scala:37)
      > [error] blueeyes.persistence.mongo.json.MongoJValueBijection$.unapply(BijectionsMongoJson.scala:19)
      > [error] blueeyes.persistence.mongo.RealDatabaseCollection.blueeyes$persistence$mongo$RealDatabaseCollection$$jvo2dbo(RealMongoImplementation.scala:230)
      > [error] blueeyes.persistence.mongo.RealDatabaseCollection.ensureIndex(RealMongoImplementation.scala:153)
      > [error] blueeyes.persistence.mongo.QueryBehaviours$EnsureIndexQueryBehaviour$class.query(QueryBehaviours.scala:53)
      > [error] blueeyes.persistence.mongo.MongoEnsureIndexQuery.query(MongoQuery.scala:95)
      > [error] blueeyes.persistence.mongo.MongoEnsureIndexQuery.query(MongoQuery.scala:95)
      > [error] blueeyes.persistence.mongo.QueryBehaviours$MongoQueryBehaviour$class.unverifiedQuery(QueryBehaviours.scala:35)
      > [error] blueeyes.persistence.mongo.QueryBehaviours$MongoQueryBehaviour$class.apply(QueryBehaviours.scala:24)
      > [error] blueeyes.persistence.mongo.MongoEnsureIndexQuery.apply(MongoQuery.scala:95)
      > [error] blueeyes.persistence.mongo.RealDatabase$RealMongoActor$$anonfun$receive$1.apply(RealMongoImplementation.scala:75)
      > [error] blueeyes.persistence.mongo.RealDatabase$RealMongoActor$$anonfun$receive$1.apply(RealMongoImplementation.scala:72)
      > [error] akka.actor.Actor$class.apply(Actor.scala:318)
      > [error] blueeyes.persistence.mongo.RealDatabase$RealMongoActor.apply(RealMongoImplementation.scala:71)
      > [error] akka.actor.ActorCell.invoke(ActorCell.scala:626)
      > [error] akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197)
      > [error] akka.dispatch.Mailbox.run(Mailbox.scala:179)
      > [error] akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516)
      > [error] akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259)
      > [error] akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)
      > [error] akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479)
      > [error] akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
    Your message has been successfully submitted and would be delivered to recipients shortly.