<BUG>private void upsertSoupEntries(JSONArray args, CallbackContext callbackContext) throws JSONException {JSONObject arg0 = args.getJSONObject(0);</BUG><CONTEXT>private void removeAllStores(JSONArray args, CallbackContext callbackContext) throws JSONException {SmartStoreSDKManager.getInstance().removeAllUserStores();PluginResult pluginResult = new PluginResult(PluginResult.Status.OK, true);callbackContext.sendPluginResult(pluginResult);}<extra_id_0>String soupName = arg0.getString(SOUP_NAME);final SmartStore smartStore = getSmartStore(arg0);JSONArray entriesJson = arg0.getJSONArray(ENTRIES);</CONTEXT>
private void upsertSoupEntries(JSONArray args, CallbackContext callbackContext) throws Exception {JSONObject arg0 = args.getJSONObject(0);