more lost cardsets

According to mongo I have 2 cardsets with priority 0 and a total of 15 cardsets. When I log in, I only see 14 cardsets and one of those with priority 0 is missing.

It is also missing from localhost:9000/userCardSets, so the issue seams to be server side.

Potentially important, the missing cardset is also the last in the list as presented by the mongo shell.

(I found this while investigating issue 133, as my account also is doubled and wondering which of those it is, I counted cardsets and one had 12, the other 15 but I saw 14 in the browser.)

Update: The server silently throws an error for the missing cardset:
20:59:06.377 [play-akka.actor.default-dispatcher-238] ERROR controllers.CardSets - Exception occurred while gettting userCardSets: 
java.lang.NullPointerException: null
  at global.Helper.getPrettyUserName(Helper.java:139) ~[classes/:na]
  at controllers.CardSets.cardSetToDTO(CardSets.java:96) ~[classes/:2.2.3]
  at controllers.CardSets.getUserCardSets(CardSets.java:78) ~[classes/:2.2.3]
  at Routes$$anonfun$routes$1$$anonfun$applyOrElse$46$$anonfun$apply$46.apply(routes_routing.scala:677) [classes/:na]
  at Routes$$anonfun$routes$1$$anonfun$applyOrElse$46$$anonfun$apply$46.apply(routes_routing.scala:677) [classes/:na]
  at play.core.Router$HandlerInvoker$$anon$7$$anon$2.invocation(Router.scala:183) [play_2.10.jar:2.2.3]
  at play.core.Router$Routes$$anon$1.invocation(Router.scala:377) [play_2.10.jar:2.2.3]
  at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:56) [play_2.10.jar:2.2.3]
  at global.Global$2.call(Global.java:204) [classes/:na]
  at play.mvc.Security$AuthenticatedAction.call(Security.java:45) [play_2.10.jar:2.2.3]
  at play.core.j.JavaAction$$anon$3.apply(JavaAction.scala:91) [play_2.10.jar:2.2.3]
  at play.core.j.JavaAction$$anon$3.apply(JavaAction.scala:90) [play_2.10.jar:2.2.3]
  at play.core.j.FPromiseHelper$$anonfun$flatMap$1.apply(FPromiseHelper.scala:82) [play_2.10.jar:2.2.3]
  at play.core.j.FPromiseHelper$$anonfun$flatMap$1.apply(FPromiseHelper.scala:82) [play_2.10.jar:2.2.3]
  at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251) [scala-library.jar:na]
  at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249) [scala-library.jar:na]
  at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) [scala-library.jar:na]
  at play.core.j.HttpExecutionContext$$anon$2.run(HttpExecutionContext.scala:37) [play_2.10.jar:2.2.3]
  at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:42) [akka-actor_2.10.jar:2.2.0]
  at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386) [akka-actor_2.10.jar:2.2.0]
  at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [scala-library.jar:na]
  at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [scala-library.jar:na]
  at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [scala-library.jar:na]
  at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [scala-library.jar:na]

Update: For whatever reason I get null with userDao.get(cardSet.getAuthor()) while author is set and points to a valid user according to the mongo console.

Update: The user has a deleteDate, so User.get() doesn't return it.

Status

Issue is closed for Release alpha 0.

Comments

Post a comment



optional
optional