public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        String arg ="181,6,AFKN 援ъ뼱�쁺�뼱 = New American colloquial expressions,744 �뿉68a:175,5,怨쇳븰怨� �씤媛� = Science and human,400 �젙66�꽦:165,5,�뙆�룞愿묓븰 = Fundamentals of wave optics,425 議�73�뀓:147,5,AUTO CAD 2000,028.63 �옣88a V.2:11,6,�뵒�봽�? = Defran: 媛뺥샇�쁺 �벂�쟾 �뙋�?吏� �옣�렪�냼�꽕. 2,813.6 媛�95�꽬 V.2:"; 
        String[][] cube = null;
     
        int j=0;
        j = arg.split(":").length;
        String[] cube1 ;
        cube1 = arg.split(":");
       // Toast.makeText(this, j, Toast.LENGTH_SHORT);
       for(int i=0; i<=j;i++){
       String[] cube2 = cube1[i].split(",");
        for(int k=0;k<=cube2.length;k++){
         cube[i][k] = cube2[k];                       <---------------현재 이 부분에서 에러 난다고 나옵니다.
         cube2 = null;
        }
       }
      
        Toast.makeText(this,cube[0][0],Toast.LENGTH_SHORT).show();
        Toast.makeText(this,cube[1][0],Toast.LENGTH_SHORT).show();
        Toast.makeText(this,cube[2][0],Toast.LENGTH_SHORT).show();
        Toast.makeText(this,cube[3][0],Toast.LENGTH_SHORT).show();
       // Toast.makeText(this,cube1[4],Toast.LENGTH_SHORT).show();
        
        setContentView(R.layout.main);
     
    }

 

현재 arg의 내용을 split를 통해서 쪼개고 있습니다.

 

처음 큐브1 의경우는 아무 이상없이 쪼개지나

큐브2를 쪼개는 과정에서 큐브1을 직접 cube[1] 이런식으로 지정하면 정상적으로 되나

cube[i]로 입력을 하니 ArrayIndexoutofbounds의 에러가 납니다

그래서 다시 소스를 변경하여 지금의 소스로 왔는데

현재 널 포인트 문제가 생기네요;;
어찌 조언좀 부탁드릴게요;ㅠㅠ