if (map != null)
{
int[] frange = map.locateInFrom(f.getBegin(), f.getEnd());
+ if (frange==null)
+ {
+ // JBPNote - this isprobably not the right thing to doJBPHack
+ return null;
+ }
SequenceFeature[] vf = new SequenceFeature[frange.length / 2];
for (int i = 0, v = 0; i < frange.length; i += 2, v++)
{