When calling the toList() method of a JSONArray which contains JSONObject the returned list contains HashMap elements. The documentation mentions: Returns a java.util.List containing all of the ...
java.lang.NullPointerException: Attempt to invoke virtual method 'int org.json.JSONArray.length ()' on a null object reference at io.socket.client.Socket.toArray (Socket.java:483) ...
目前正在顯示您可能無法存取的結果。
隱藏無法存取的結果