cursor 오류가 나는데 NulPointerException이라고 뜨네요자꾸,

Cursor c = db.rawQuery("select * from rank order by point desc", null);
  startManagingCursor(c);
  
   int i=0;
   c.moveToFirst();
   while(c.moveToNext())
   {
   rank_id[i] = c.getString(0);
   rank_point[i] = c.getInt(1);
   rank_date[i] = c.getString(2);
   i++;
   }

여기서 rank_id[0] 번째는 가져오고 그 다음 rank_point[0] 값을 가져올때 오류가 납니다.

rank_point는 int형 배열이고 db 값입력시 홀따옴표 없이 int 값으로 입력했습니다.

자꾸 nullpointerexception 뜨는데 디버그 돌려보니 int 형을 못가져오는것 같은데 이유를 모르겠네요

09-29 03:27:55.501: ERROR/AndroidRuntime(1424): Uncaught handler: thread main exiting due to uncaught exception
09-29 03:27:55.531: ERROR/AndroidRuntime(1424): java.lang.RuntimeException: Unable to start activity ComponentInfo{myandroid.app.test/myandroid.app.test.Rank}: java.lang.NullPointerException
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at android.app.ActivityThread.access$2200(ActivityThread.java:119)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at android.os.Handler.dispatchMessage(Handler.java:99)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at android.os.Looper.loop(Looper.java:123)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at android.app.ActivityThread.main(ActivityThread.java:4363)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at java.lang.reflect.Method.invokeNative(Native Method)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at java.lang.reflect.Method.invoke(Method.java:521)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at dalvik.system.NativeStart.main(Native Method)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424): Caused by: java.lang.NullPointerException
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at myandroid.app.test.Rank.onCreate(Rank.java:90)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
09-29 03:27:55.531: ERROR/AndroidRuntime(1424):     ... 11 more


아시는 분 답변 부탁드릴께요, 급한거라서.