Lene Kjaer
Posts: 2
Nickname: ljkjaer
Registered: Jan, 2010
|
|
MooreQuery
|
Posted: Jan 8, 2010 8:45 AM
|
|
|
Advertisement
|
Hi, I am using a MooreQuery to look for neighbors in a grid: MooreQuery<Object> query = new MooreQuery<Object>(grid, this,(int) (2*myHomeRangeRadius), (int) (2*myHomeRangeRadius));
if(query != null){
for (Object o : query.query()){
.................................................
Even though I have the if (query != null), I still get a nullPointer exception from the query when trying to iterate ,
Can anyone help me.
Thanks,
Lene
|
|