Attached you find a full stacktrace.
The query was:
SELECT COUNT(t) FROM Position t WHERE ((t.unit = :unit165w7ppbtu9ao AND t.receiveTime >= :receiveTimes232ne30kd42) AND (t.latitude > :latitudehjgtlyt6s6dg AND t.longitude > :longitude14pwryko038jd))
The strange thing is that it only happens with certain values for the unit parameter. It's limited to some (not all!) of the newer units i have inserted. I'm currently evaluating your product. So i insert and delete a lot of data. I also tried to run your DB Doctor. It doesn't help.
Please contact me if you need more informations.