reader.endObject();
} catch (IOException e) {
e.printStackTrace();
}
}
<BUG>finally {
reader.close();
}</BUG>
is = assetManager.open("categories.json");
reader = new JsonReader(new InputStreamReader(is));

reader.endObject();
} catch (IOException e) {
e.printStackTrace();
}
}
finally {
try {
reader.close();
} catch (IOException ioex) {
Log.d("Names","Ignoring " + ioex);
}
}
is = assetManager.open("categories.json");
reader = new JsonReader(new InputStreamReader(is));
