Parse
메서드를 호출 할 때 getList ("some column") 메서드는 항상 NullPointerException
이됩니다. 그것을 피하려면 어떻게해야합니까? 다음은이 목록에 첫 번째 요소를 얻을 때 난 당신이 내가 getList
이 null
를 반환하고 있다고 생각 List<String> someList = someObj.getList("some column");
에서 NPE
못하고있어하고 NPE
을 얻고 있다고 생각 몇 가지 코드Parse를 사용하는 동안 NullPointerException이 발생했습니다.
ParseObject someObj = new ParseObject("Some table");
someObj.put("some column", "some text");
someObj.saveInBackground();
List<String> someList = someObj.getList("some column");
Toast.makeText(getApplicationContext(), someList.get(0), Toast.LENGHT_LONG).show()
ParceObject 코드를 게시 할 수 있습니까? – issathink
ParceObject는 라이브러리의 클래스입니다. Parce.com에서보기 – Stopfan
parce.com에 도달 할 수 없다. 나는 parse.com을 의미한다고 생각한다. 그렇다면 클래스 이름은 ParseObject가 아니라 ParseObject이다. – issathink