05:22:06.998 INFO  - Application started (Dev)
05:22:07.032 DEBUG - CXType updateJson (POST) bodyText: {"id": 1,
"name": "activity", "description": "active or inactive","value":
"activity", "created_at": "2014-02-12 14:38:37.373"}
05:22:07.070 ERROR - Cannot invoke the action, eventually got an error:
spray.json.DeserializationException: XType expected
05:22:07.074 ERROR - 

! @6ha1eijng - Internal server error, for (POST) [/json/xtype/update] ->

play.api.Application$$anon$1: Execution
exception[[DeserializationException: XType expected]]
	at play.api.Application$class.handleError(Application.scala:293)
~[play_2.10.jar:2.2.1]
	at play.api.DefaultApplication.handleError(Application.scala:399)
[play_2.10.jar:2.2.1]
	at
play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$2$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:261)
[play_2.10.jar:2.2.1]
	at
play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$2$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:261)
[play_2.10.jar:2.2.1]
	at scala.Option.map(Option.scala:145) [scala-library.jar:na]
	at
play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$2.applyOrElse(PlayDefaultUpstreamHandler.scala:261)
[play_2.10.jar:2.2.1]
	at
play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$2.applyOrElse(PlayDefaultUpstreamHandler.scala:257)
[play_2.10.jar:2.2.1]
	at
scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33)
[scala-library.jar:na]
	at
scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:411)
[scala-library.jar:na]
	at
scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:408)
[scala-library.jar:na]
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:29)
[scala-library.jar:na]
	at play.api.libs.iteratee.Execution$$anon$1.execute(Execution.scala:43)
[play-iteratees_2.10.jar:2.2.1]
	at
scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:37)
[scala-library.jar:na]
	at
scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:133)
[scala-library.jar:na]
	at scala.concurrent.Promise$class.complete(Promise.scala:55)
[scala-library.jar:na]
	at
scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:58)
[scala-library.jar:na]
	at
scala.concurrent.Future$$anonfun$flatMap$1$$anonfun$apply$3.apply(Future.scala:278)
[scala-library.jar:na]
	at
scala.concurrent.Future$$anonfun$flatMap$1$$anonfun$apply$3.apply(Future.scala:278)
[scala-library.jar:na]
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:29)
[scala-library.jar:na]
	at
scala.concurrent.Future$InternalCallbackExecutor$Batch$$anonfun$run$1.processBatch$1(Future.scala:731)
[scala-library.jar:na]
	at
scala.concurrent.Future$InternalCallbackExecutor$Batch$$anonfun$run$1.apply$mcV$sp(Future.scala:746)
[scala-library.jar:na]
	at
scala.concurrent.Future$InternalCallbackExecutor$Batch$$anonfun$run$1.apply(Future.scala:723)
[scala-library.jar:na]
	at
scala.concurrent.Future$InternalCallbackExecutor$Batch$$anonfun$run$1.apply(Future.scala:723)
[scala-library.jar:na]
	at
scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
[scala-library.jar:na]
	at
scala.concurrent.Future$InternalCallbackExecutor$Batch.run(Future.scala:722)
[scala-library.jar:na]
	at
scala.concurrent.Future$InternalCallbackExecutor$.scala$concurrent$Future$InternalCallbackExecutor$$unbatchedExecute(Future.scala:782)
[scala-library.jar:na]
	at
scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:773)
[scala-library.jar:na]
	at
scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:37)
[scala-library.jar:na]
	at
scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:133)
[scala-library.jar:na]
	at scala.concurrent.Promise$class.complete(Promise.scala:55)
[scala-library.jar:na]
	at
scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:58)
[scala-library.jar:na]
	at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:274)
[scala-library.jar:na]
	at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:274)
[scala-library.jar:na]
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:29)
[scala-library.jar:na]
	at play.api.libs.iteratee.Execution$$anon$2.execute(Execution.scala:70)
[play-iteratees_2.10.jar:2.2.1]
	at
scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:37)
[scala-library.jar:na]
	at
scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:133)
[scala-library.jar:na]
	at scala.concurrent.Promise$class.complete(Promise.scala:55)
[scala-library.jar:na]
	at
scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:58)
[scala-library.jar:na]
	at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:274)
[scala-library.jar:na]
	at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:274)
[scala-library.jar:na]
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:29)
[scala-library.jar:na]
	at play.api.libs.iteratee.Execution$$anon$2.execute(Execution.scala:70)
[play-iteratees_2.10.jar:2.2.1]
	at
scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:37)
[scala-library.jar:na]
	at
scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:133)
[scala-library.jar:na]
	at scala.concurrent.Promise$class.complete(Promise.scala:55)
[scala-library.jar:na]
	at
scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:58)
[scala-library.jar:na]
	at
scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:23)
[scala-library.jar:na]
	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:42)
[akka-actor_2.10-2.2.3.jar:2.2.3]
	at
akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386)
[akka-actor_2.10-2.2.3.jar:2.2.3]
	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]
Caused by: spray.json.DeserializationException: XType expected
	at spray.json.package$.deserializationError(package.scala:23)
~[spray-json_2.10-1.2.5.jar:1.2.5]
	at controllers.XTypeProtocol$XTypeJsonFormat$.read(CXType.scala:103)
~[classes/:na]
	at controllers.XTypeProtocol$XTypeJsonFormat$.read(CXType.scala:83)
~[classes/:na]
	at spray.json.JsValue.convertTo(JsValue.scala:32)
~[spray-json_2.10-1.2.5.jar:1.2.5]
	at controllers.CXType$$anonfun$updateJson$1.apply(CXType.scala:142)
~[classes/:na]
	at controllers.CXType$$anonfun$updateJson$1.apply(CXType.scala:138)
~[classes/:na]
	at play.api.mvc.ActionBuilder$$anonfun$apply$10.apply(Action.scala:221)
~[play_2.10.jar:2.2.1]
	at play.api.mvc.ActionBuilder$$anonfun$apply$10.apply(Action.scala:220)
~[play_2.10.jar:2.2.1]
	at play.api.mvc.Action$.invokeBlock(Action.scala:357)
~[play_2.10.jar:2.2.1]
	at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:309)
~[play_2.10.jar:2.2.1]
	at
play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:109)
~[play_2.10.jar:2.2.1]
	at
play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:109)
~[play_2.10.jar:2.2.1]
	at play.utils.Threads$.withContextClassLoader(Threads.scala:18)
~[play_2.10.jar:2.2.1]
	at
play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:108)
~[play_2.10.jar:2.2.1]
	at
play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:107)
~[play_2.10.jar:2.2.1]
	at scala.Option.map(Option.scala:145) [scala-library.jar:na]
	at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:107)
~[play_2.10.jar:2.2.1]
	at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:100)
~[play_2.10.jar:2.2.1]
	at
play.api.libs.iteratee.Iteratee$$anonfun$mapM$1.apply(Iteratee.scala:481)
~[play-iteratees_2.10.jar:2.2.1]
	at
play.api.libs.iteratee.Iteratee$$anonfun$mapM$1.apply(Iteratee.scala:481)
~[play-iteratees_2.10.jar:2.2.1]
	at
play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1.apply(Iteratee.scala:517)
~[play-iteratees_2.10.jar:2.2.1]
	at
play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1.apply(Iteratee.scala:517)
~[play-iteratees_2.10.jar:2.2.1]
	at
play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$14.apply(Iteratee.scala:494)
~[play-iteratees_2.10.jar:2.2.1]
	at
play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$14.apply(Iteratee.scala:494)
~[play-iteratees_2.10.jar:2.2.1]
	at
scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
[scala-library.jar:na]
	at
scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
[scala-library.jar:na]
	... 6 common frames omitted