byzhang / terrastore

Automatically exported from code.google.com/p/terrastore
Other
0 stars 0 forks source link

Exceptions when querying/processing json array documents #119

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've put an json array value into terrastore, 
after I did a search with map reduce and I've got this exception:

Terrastore - java.lang.IllegalStateException: Value should have been already 
validated!
[INFO] [node-1] terrastore.store.StoreOperationException: 
java.lang.IllegalStateException: Value should have been already validated!
[INFO] [node-1]     at terrastore.store.impl.TCBucket.map(TCBucket.java:235) 
[classes/:na]
[INFO] [node-1]     at terrastore.store.impl.TCStore.map(TCStore.java:182) 
[classes/:na]
[INFO] [node-1]     at 
terrastore.communication.protocol.MapCommand.executeOn(MapCommand.java:67) 
[classes/:na]
[INFO] [node-1]     at 
terrastore.communication.protocol.MapCommand.executeOn(MapCommand.java:35) 
[classes/:na]
[INFO] [node-1]     at 
terrastore.communication.process.StoreHandler.handle(StoreHandler.java:34) 
[classes/:na]

Original issue reported on code.google.com by you...@gmail.com on 22 Oct 2010 at 12:11

GoogleCodeExporter commented 9 years ago
Changed the issue title because the exception is fired for every query/update 
operation involving a json document made up of a single json array.

Original comment by sergio.b...@gmail.com on 22 Oct 2010 at 12:21

GoogleCodeExporter commented 9 years ago

Original comment by sergio.b...@gmail.com on 1 Nov 2010 at 11:34

GoogleCodeExporter commented 9 years ago
Fixed as of issue 130.

Original comment by sergio.b...@gmail.com on 1 Nov 2010 at 11:35