{\r
desc = st.nextToken();\r
}\r
-\r
+ if (!st.hasMoreTokens())\r
+ {\r
+ System.err.println("DEBUG: Run out of tokens when trying to identify the destination for the feature.. giving up.");\r
+ // in all probability, this isn't a file we understand, so bail quietly.\r
+ return false;\r
+ }\r
+ \r
token = st.nextToken();\r
+ \r
if (!token.equals("ID_NOT_SPECIFIED"))\r
{\r
seq = align.findName(token);\r