From f46ee72d55642274ad01018b5fafe8a37ab1f6d1 Mon Sep 17 00:00:00 2001 From: Emux Date: Fri, 15 May 2026 09:48:49 +0300 Subject: [PATCH] VectorTileLoader NPE fix --- vtm/src/org/oscim/layers/tile/vector/VectorTileLoader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vtm/src/org/oscim/layers/tile/vector/VectorTileLoader.java b/vtm/src/org/oscim/layers/tile/vector/VectorTileLoader.java index 59e9bb594..b181d3557 100644 --- a/vtm/src/org/oscim/layers/tile/vector/VectorTileLoader.java +++ b/vtm/src/org/oscim/layers/tile/vector/VectorTileLoader.java @@ -137,7 +137,8 @@ public void completed(QueryResult result) { mTileLayer.callHooksComplete(mTile, ok); /* finish buckets- tessellate and cleanup on worker-thread */ - mBuckets.prepare(); + if (mBuckets != null) + mBuckets.prepare(); clearState(); super.completed(result);