print trace on NPE

This commit is contained in:
Hannes Janetzek 2014-03-21 23:27:29 +01:00
parent 19b040c7e6
commit 966009e18e

View File

@ -116,6 +116,9 @@ public class VectorTileLoader extends TileLoader implements IRenderTheme.Callbac
try { try {
/* query data source, which calls process() callback */ /* query data source, which calls process() callback */
mTileDataSource.query(tile, this); mTileDataSource.query(tile, this);
} catch (NullPointerException e) {
log.debug("{} {}", tile, e.getMessage());
e.printStackTrace();
} catch (Exception e) { } catch (Exception e) {
log.debug("{} {}", tile, e.getMessage()); log.debug("{} {}", tile, e.getMessage());
return false; return false;