Project: usergrid
Issue USERGRID-537: Write Unique Verify - could not get uniqueValue from the field name
2015-04-01 18:57:54,440 ERROR (http-bio-8080-exec-224) AbstractExceptionMapper - Server Error (500): {"error":"hystrix_runtime","timestamp":1427929074440,"duration":0,"error_description":"ConsistentReplayCommand failed and failed retrieving fallback.","exception":"com.netflix.hystrix.exception.HystrixRuntimeException"} 2015-04-01 18:57:54,440 ERROR (hystrix-user-94) WriteUniqueVerify - Could not get uniqueValue from the field name. 2015-04-01 18:57:54,440 ERROR (http-bio-8080-exec-325) ThrowableMapper - An uncaught exception occurred during HTTP invocation com.netflix.hystrix.exception.HystrixRuntimeException: ConsistentReplayCommand failed and failed retrieving fallback. at com.netflix.hystrix.HystrixCommand.getFallbackOrThrowException(HystrixCommand.java:1660) at com.netflix.hystrix.HystrixCommand.executeCommand(HystrixCommand.java:1341) at com.netflix.hystrix.HystrixCommand.access$2300(HystrixCommand.java:103) at com.netflix.hystrix.HystrixCommand$5.call(HystrixCommand.java:1186) at com.netflix.hystrix.strategy.concurrency.HystrixContextCallable.call(HystrixContextCallable.java:51) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: Could not retrieve unique value for field name, unable to verify at org.apache.usergrid.persistence.collection.mvcc.stage.write.WriteUniqueVerify$ConsistentReplayCommand.executeStrategy(WriteUniqueVerify.java:207) at org.apache.usergrid.persistence.collection.mvcc.stage.write.WriteUniqueVerify$ConsistentReplayCommand.run(WriteUniqueVerify.java:178) at org.apache.usergrid.persistence.collection.mvcc.stage.write.WriteUniqueVerify$ConsistentReplayCommand.run(WriteUniqueVerify.java:159) at com.netflix.hystrix.HystrixCommand.executeCommand(HystrixCommand.java:1281) ... 7 more Caused by: java.lang.Throwable: Calling Thread included as the last 'caused by' on the chain. at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226) at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1033) at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1326) at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:282) at rx.internal.operators.BlockingOperatorToFuture$2.get(BlockingOperatorToFuture.java:111) at com.netflix.hystrix.HystrixCommand$1.performBlockingGetWithTimeout(HystrixCommand.java:623) at com.netflix.hystrix.HystrixCommand$1.get(HystrixCommand.java:522) at com.netflix.hystrix.HystrixCommand.execute(HystrixCommand.java:431) at org.apache.usergrid.persistence.collection.mvcc.stage.write.WriteUniqueVerify.call(WriteUniqueVerify.java:151) at org.apache.usergrid.persistence.collection.mvcc.stage.write.WriteUniqueVerify.call(WriteUniqueVerify.java:68) at rx.Observable$12.onNext(Observable.java:4036) at rx.internal.operators.OperatorDoOnEach$1.onNext(OperatorDoOnEach.java:61) at rx.Observable$3.call(Observable.java:1551) at rx.Observable$3.call(Observable.java:1546) at rx.Observable.unsafeSubscribe(Observable.java:6839) at rx.internal.operators.OperatorSubscribeOn$1$1.call(OperatorSubscribeOn.java:60) at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:43) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) ... 3 more Caused by: rx.exceptions.OnErrorThrowable$OnNextValue: OnError while emitting onNext value: CollectionIoEvent.class at rx.exceptions.OnErrorThrowable.addValueAsLastCause(OnErrorThrowable.java:98) at rx.internal.operators.OperatorDoOnEach$1.onNext(OperatorDoOnEach.java:63) ... 12 more
Story points: 5