Array Adapter Issue.
   This is my logs please check this and give me a suggestion whats wrong with my code. any help appropriated in advance. 
    
        STACK_TRACE=java.lang.IndexOutOfBoundsException
        at java.util.Arrays$ArrayList.get(Arrays.java:75)
        at android.widget.ArrayAdapter.getItem(ArrayAdapter.java:341)
        at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:394)
        at android.widget.ArrayAdapter.getView(ArrayAdapter.java:366)
        at android.widget.Spinner.makeAndAddView(Spinner.java:368)
        at android.widget.Spinner.layout(Spinner.java:319)
        at android.widget.Spinner.onLayout(Spinner.java:283)
        at android.view.View.layout(View.java:9618)
        at android.view.ViewGroup.layout(ViewGroup.java:3879)
        at android.widget.RelativeLayout.onLayout(RelativeLayout.java:912)
        at android.view.View.layout(View.java:9618)
        at android.view.ViewGroup.layout(ViewGroup.java:3879)
        at android.widget.RelativeLayout.onLayout(RelativeLayout.java:912)
        at android.view.View.layout(View.java:9618)
        at android.view.ViewGroup.layout(ViewGroup.java:3879)
        at android.widget.FrameLayout.onLayout(FrameLayout.java:400)
        at android.view.View.layout(View.java:9618)
        at android.view.ViewGroup.layout(ViewGroup.java:3879)
        at android.view.ViewRoot.performTraversals(ViewRoot.java:1293)
        at android.view.ViewRoot.handleMessage(ViewRoot.java:2094)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:132)
        at android.app.ActivityThread.main(ActivityThread.java:4123)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:491)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
        at dalvik.system.NativeStart.main(Native Method)
Array Adapter Issue.
===

   This is my logs please check this and give me a suggestion whats wrong with my code. any help appropriated in advance. 
    
        STACK_TRACE=java.lang.IndexOutOfBoundsException
        at java.util.Arrays$ArrayList.get(Arrays.java:75)
        at android.widget.ArrayAdapter.getItem(ArrayAdapter.java:341)
        at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:394)
        at android.widget.ArrayAdapter.getView(ArrayAdapter.java:366)
        at android.widget.Spinner.makeAndAddView(Spinner.java:368)
        at android.widget.Spinner.layout(Spinner.java:319)
        at android.widget.Spinner.onLayout(Spinner.java:283)
        at android.view.View.layout(View.java:9618)
        at android.view.ViewGroup.layout(ViewGroup.java:3879)
        at android.widget.RelativeLayout.onLayout(RelativeLayout.java:912)
        at android.view.View.layout(View.java:9618)
        at android.view.ViewGroup.layout(ViewGroup.java:3879)
        at android.widget.RelativeLayout.onLayout(RelativeLayout.java:912)
        at android.view.View.layout(View.java:9618)
        at android.view.ViewGroup.layout(ViewGroup.java:3879)
        at android.widget.FrameLayout.onLayout(FrameLayout.java:400)
        at android.view.View.layout(View.java:9618)
        at android.view.ViewGroup.layout(ViewGroup.java:3879)
        at android.view.ViewRoot.performTraversals(ViewRoot.java:1293)
        at android.view.ViewRoot.handleMessage(ViewRoot.java:2094)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:132)
        at android.app.ActivityThread.main(ActivityThread.java:4123)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:491)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
        at dalvik.system.NativeStart.main(Native Method)