Can you provide the full stacktrace.

Michael

> Am 07.08.2015 um 13:19 schrieb Alireza Rezaei Mahdiraji 
> <alireza...@gmail.com>:
> 
> 
> Hi, 
> 
> I get the following cast exception while using 
> startNearestNeighborLatLonSearch method: 
> 
> Exception in thread "main" java.lang.ClassCastException: java.lang.Double 
> cannot be cast to [B
> 
> my code is as follows: 
> 
> Layer layer = spatialDbInstance.getLayer("mylayer");
> Coordinate coord = new Coordinate(0.0d, 0.0d);
> List<Node> nodes = GeoPipeline.startNearestNeighborLatLonSearch(layer, coord, 
> 1.0).toNodeList();
> 
> 
> Basically, I am trying to find all other points within distance one of the 
> origin (i.e., (0.0., 0.0) ). 
> 
> 
> Cheers,
> Alireza
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to neo4j+unsubscr...@googlegroups.com 
> <mailto:neo4j+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to