# BasicTest.class

FAILED

createAndRetrieveUser | Ok | 93 ms
tryConnectAsUser | Ok | 11 ms
createPost | Ok | 22 ms
postComments | Ok | 16 ms
useTheCommentsRelation | Ok | 45 ms
fullTest | Ok | 352 ms
testTags | A com.mongodb.CommandResult$CommandFailure has been caught, command failed [command failed [mapreduce] { "assertion" : "'out' has to be a string or an object" , "assertionCode" : 13606 , "errmsg" : "db assertion failure" , "ok" : 0.0} In /test/BasicTest.java, line 213 : List<Map<String, Integer>> cloud = Tag.getCloud(); Show trace
    com.mongodb.CommandResult$CommandFailure: command failed [command failed [mapreduce] { "assertion" : "'out' has to be a string or an object" , "assertionCode" : 13606 , "errmsg" : "db assertion failure" , "ok" : 0.0}
    	at com.mongodb.CommandResult.getException(CommandResult.java:70)
    	at com.mongodb.CommandResult.throwOnError(CommandResult.java:116)
    	at com.mongodb.DBCollection.mapReduce(DBCollection.java:963)
    	at com.mongodb.DBCollection.mapReduce(DBCollection.java:916)
    	at models.Tag.getCloud(Tag.java:32)
    	at models.Tag.getCloud(Tag.java:25)
    	at BasicTest.testTags(BasicTest.java:213)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    	at play.test.PlayJUnitRunner$StartPlay$2$1.evaluate(PlayJUnitRunner.java:98)
    	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    	at play.test.PlayJUnitRunner.run(PlayJUnitRunner.java:48)
    	at org.junit.runners.Suite.runChild(Suite.java:128)
    	at org.junit.runners.Suite.runChild(Suite.java:24)
    	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
    	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
    	at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
    	at play.test.TestEngine.run(TestEngine.java:101)
    	at controllers.TestRunner.run(TestRunner.java:67)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:540)
    	at play.mvc.ActionInvoker.invoke(ActionInvoker.java:498)
    	at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:474)
    	at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:469)
    	at play.mvc.ActionInvoker.invoke(ActionInvoker.java:157)
    	at play.server.PlayHandler$NettyInvocation.execute(PlayHandler.java:236)
    	at play.Invoker$Invocation.run(Invoker.java:264)
    	at play.server.PlayHandler$NettyInvocation.run(PlayHandler.java:216)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    	at java.lang.Thread.run(Thread.java:662)
| 28 ms
testIsNew | Ok | 6 ms