Mercurial > hg > Members > nobuyasu > Consensus
changeset 44:853bc291a3bb
modified ClaimModel/computeAndUpdateStatus method
author | one |
---|---|
date | Thu, 04 Oct 2012 06:28:24 +0900 |
parents | 4fb303b7d661 |
children | 0e8b6eda0a0e |
files | app/models/ClaimModel.java logs/application.log target/scala-2.9.1/cache/compile/compile test/RequestTest.java |
diffstat | 4 files changed, 114 insertions(+), 1031 deletions(-) [+] |
line wrap: on
line diff
--- a/app/models/ClaimModel.java Thu Oct 04 04:22:43 2012 +0900 +++ b/app/models/ClaimModel.java Thu Oct 04 06:28:24 2012 +0900 @@ -9,6 +9,7 @@ import play.libs.Json; +import com.tinkerpop.blueprints.Direction; import com.tinkerpop.blueprints.Edge; import com.tinkerpop.blueprints.Graph; import com.tinkerpop.blueprints.Vertex; @@ -60,26 +61,44 @@ } return array.toArray(); } - - public Object[] getVertexArray(String... labels) { + + private Iterable<Vertex> getVertex(Direction direction, String... labels) { GremlinPipeline<Vertex,Vertex> pipe = new GremlinPipeline<Vertex,Vertex>(); - pipe.start(vertex).out(labels); - ArrayList<Object> array = new ArrayList<Object>(); + if (direction.equals(Direction.IN)){ + pipe.start(vertex).in(labels); + } else if (direction.equals(Direction.OUT)) { + pipe.start(vertex).out(labels); + } else { + pipe.start(vertex).both(labels); + } + ArrayList<Vertex> array = new ArrayList<Vertex>(); for (Vertex v : pipe) { - array.add(v.getId()); + array.add(v); } if (array.size() == 0) { return null; } + return array; + } + + private Object[] getVertexArray(Direction direction,String... labels) { + Iterable<Vertex> iter = getVertex(direction,labels); + if (iter == null) { + return null; + } + ArrayList<Object> array = new ArrayList<Object>(); + for (Vertex v : iter) { + array.add(v.getId()); + } return array.toArray(); } public Object[] getMentionsId() { - return getVertexArray(L_QUESTION,L_REFUTATION,L_SUGGESTION); + return getVertexArray(Direction.OUT, L_QUESTION,L_REFUTATION,L_SUGGESTION); } public Object[] getUsersId() { - return getVertexArray(L_REQUEST); + return getVertexArray(Direction.OUT, L_REQUEST); } public Object[] getEdgeArray(String... labels) { @@ -147,7 +166,7 @@ } public Object[] getRequestUsersId() { - return getVertexArray(NodeModel.REQUESTS); + return getVertexArray(Direction.OUT, NodeModel.REQUESTS); } public void editRequestsEdgeUsers(Object[] updateUsers) { @@ -226,11 +245,11 @@ return count; } - private Boolean checkUnanimously(long requestsNumber, long agreedNumber, long deniedNumber) { + private Boolean checkUnanimously(String childStatus, long requestsNumber, long agreedNumber, long deniedNumber) { String preStatus = getProperty(STATUS).toString(); - if ( requestsNumber == agreedNumber) { + if ( requestsNumber == agreedNumber && childStatus.equals(PASS)) { setProperty(STATUS,PASS); - } else if ( requestsNumber == deniedNumber ){ + } else if ( requestsNumber == deniedNumber && childStatus.equals(FAILED)){ setProperty(STATUS, FAILED); } else { setProperty(STATUS, UNKNOWN); @@ -245,6 +264,11 @@ } public void computeAndUpdateStatus() { + String childStatus = checkAllChildsStatus(); + if (childStatus.equals(UNKNOWN)) { + setProperty(STATUS, UNKNOWN); + return; + } Object[] requestEdges = getRequestEdges(); String type = getProperty(TYPE).toString(); long requestsNumber = requestEdges.length; @@ -252,7 +276,7 @@ long deniedNumber = getDeninedNumber(requestEdges); Boolean statusChanged = false; if (type.equals(UNANIMOUSLY)) { - statusChanged = checkUnanimously(requestsNumber, agreedNumber, deniedNumber); + statusChanged = checkUnanimously(childStatus, requestsNumber, agreedNumber, deniedNumber); } else if (type.equals(MAJORITY)) { } else { @@ -267,6 +291,56 @@ } } + private String checkChildClaimStatus(String...labels) { + Iterable<Vertex> iter = getVertex(Direction.OUT, labels); + if (iter == null) { + return null; + } + String status = null; + for (Vertex v : iter) { + String nextChildStatus = v.getProperty(STATUS).toString(); + if (status == null) { + status = nextChildStatus; + } + if (!nextChildStatus.equals(status)) { + return UNKNOWN; + } + } + return status; + } + + private String checkQuestionAndSuggestionClaims() { + String childStatus = checkChildClaimStatus(L_QUESTION, L_SUGGESTION); + if (childStatus == null) { + return PASS; + } + return childStatus; + } + + private String checkRefutationClaims() { + String childStatus = checkChildClaimStatus(L_REFUTATION); + if (childStatus == null) { + return PASS; + } + if (childStatus.equals(PASS) ) { + return FAILED; + } else if (childStatus.equals(FAILED)){ + return PASS; + } else { + return UNKNOWN; + } + } + + private String checkAllChildsStatus() { + String status1 = checkQuestionAndSuggestionClaims(); + String status2 = checkRefutationClaims(); + if (status1.equals(status2)) { + return status1; + } else { + return UNKNOWN; + } + } + private Vertex getParentVertex() { GremlinPipeline<Vertex,Vertex> pipe = new GremlinPipeline<Vertex,Vertex>(); pipe.start(vertex).in(L_QUESTION,L_REFUTATION,L_SUGGESTION);
--- a/logs/application.log Thu Oct 04 04:22:43 2012 +0900 +++ b/logs/application.log Thu Oct 04 06:28:24 2012 +0900 @@ -1,1020 +1,6 @@ -2012-10-04 04:08:52,389 - [INFO] - from play in main +2012-10-04 06:26:16,551 - [INFO] - from play in main Listening for HTTP on port 9000... -2012-10-04 04:09:03,469 - [INFO] - from play in play-akka.actor.default-dispatcher-1 +2012-10-04 06:26:20,312 - [INFO] - from play in play-akka.actor.default-dispatcher-2 Application started (Dev) -2012-10-04 04:09:30,145 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4ce - Internal server error, for request [POST /claims/answer/19/akifumi/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,224 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4cf - Internal server error, for request [POST /claims/answer/77/akifumi/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,270 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4cg - Internal server error, for request [POST /claims/answer/67/akifumi/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,327 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4ch - Internal server error, for request [POST /claims/answer/92/akifumi/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,372 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4ci - Internal server error, for request [POST /claims/answer/29/akifumi/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,419 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4cj - Internal server error, for request [POST /claims/answer/62/akifumi/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,464 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4ck - Internal server error, for request [POST /claims/answer/34/akifumi/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,508 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4cl - Internal server error, for request [POST /claims/answer/97/akifumi/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,555 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4cm - Internal server error, for request [POST /claims/answer/24/akifumi/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,606 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4cn - Internal server error, for request [POST /claims/answer/72/akifumi/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,650 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4co - Internal server error, for request [POST /claims/answer/82/akifumi/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,698 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4cp - Internal server error, for request [POST /claims/answer/87/akifumi/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,803 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4d0 - Internal server error, for request [POST /claims/answer/112/takaaki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,849 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4d1 - Internal server error, for request [POST /claims/answer/107/takaaki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,907 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4d2 - Internal server error, for request [POST /claims/answer/55/takaaki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:30,954 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4d3 - Internal server error, for request [POST /claims/answer/39/takaaki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:31,001 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4d4 - Internal server error, for request [POST /claims/answer/122/takaaki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:31,047 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4d5 - Internal server error, for request [POST /claims/answer/44/takaaki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:31,090 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4d6 - Internal server error, for request [POST /claims/answer/49/takaaki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:31,129 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4d7 - Internal server error, for request [POST /claims/answer/102/takaaki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:31,183 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4d8 - Internal server error, for request [POST /claims/answer/6/takaaki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:31,230 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4d9 - Internal server error, for request [POST /claims/answer/127/takaaki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:31,275 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4da - Internal server error, for request [POST /claims/answer/12/takaaki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:31,315 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4db - Internal server error, for request [POST /claims/answer/117/takaaki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:31,397 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4dc - Internal server error, for request [POST /claims/answer/55/yosiaki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:31,438 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4dd - Internal server error, for request [POST /claims/answer/12/yosiaki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:31,525 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4de - Internal server error, for request [POST /claims/answer/55/suzuki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:09:31,565 - [ERROR] - from application in play-akka.actor.actions-dispatcher-6 - - -! @6bpled4df - Internal server error, for request [POST /claims/answer/12/suzuki/agreed] -> - -play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge]] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.3] - at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2] - at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.3] - at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2] - at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2] - at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2] - at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2] -Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.tg.TinkerVertex cannot be cast to com.tinkerpop.blueprints.Edge - at models.ClaimModel.getEdgeArray(ClaimModel.java:89) ~[classes/:na] - at models.ClaimModel.getRequestEdges(ClaimModel.java:99) ~[classes/:na] - at models.ClaimModel.computeAndUpdateStatus(ClaimModel.java:246) ~[classes/:na] - at controllers.Claim.updateUserConsensusStatus(Claim.java:113) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at Routes$$anonfun$routes$1$$anonfun$apply$23$$anonfun$apply$24.apply(routes_routing.scala:184) ~[classes/:na] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) ~[play_2.9.1.jar:2.0.3] - at play.GlobalSettings$1.call(GlobalSettings.java:57) ~[play_2.9.1.jar:2.0.3] - at play.core.j.JavaAction$class.apply(JavaAction.scala:74) ~[play_2.9.1.jar:2.0.3] - at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.3] - at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.3] - at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.3] - ... 11 common frames omitted - -2012-10-04 04:11:28,942 - [INFO] - from application in play-akka.actor.default-dispatcher-3 -Application shutdown... - -2012-10-04 04:11:28,959 - [INFO] - from play in play-akka.actor.default-dispatcher-3 -Application started (Dev) -
--- a/test/RequestTest.java Thu Oct 04 04:22:43 2012 +0900 +++ b/test/RequestTest.java Thu Oct 04 06:28:24 2012 +0900 @@ -25,6 +25,32 @@ createUser(user3); createUser(user4); String[] users1 = {user2,user3,user4}; + String[] u = {user2}; + createClaim(user1, u); + JsonNode user2Claim = getUserInfo(user2, "requests/"); + if (user2Claim.size() != 0) { + int id = user2Claim.get(0).asInt(); + String[] users = {user1}; + createMention(user2, users, NodeModel.L_REFUTATION, id); + } +/* + JsonNode user1Claim = getUserInfo(user1, "requests/"); + if (user2Claim.size() != 0) { + int id = user1Claim.get(0).asInt(); + String[] users = {user2}; + createMention(user1, users, NodeModel.L_SUGGESTION, id); + updateUserConsensusStatus(id, user1, NodeModel.AGREED); + } +*/ + getClaimTree(6); + + allAgreed(user1); + allAgreed(user2); + + getClaimTree(6); + + +/* createClaim(user1, users1); String[] users2 = {user2}; createClaim(user1, users1); @@ -52,8 +78,6 @@ getUserInfo(user2,"consensus/"); getUserInfo(user3,"claims/"); getUserInfo(user3,"consensus/"); - - allAgreed(user1); allAgreed(user2); allAgreed(user3); @@ -65,7 +89,6 @@ getUserConsensusStatus(id, user2); } */ - } public static void allAgreed(String name) {