*> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):
java.lang.IndexOutOfBoundsException: Invalid index 2, size is 2*

According to that it looks like your "groupPosition" variable refers to an
invalid index...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


2011/6/29 ΙΟΥΛΙΑ ΓΡΗΓΟΡΙΑΔΟΥ <[email protected]>

>  06-29 19:45:34.471: ERROR/AndroidRuntime(435): FATAL EXCEPTION: main
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):
> java.lang.IndexOutOfBoundsException: Invalid index 2, size is 2
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:257)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> java.util.ArrayList.get(ArrayList.java:311)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.SimpleExpandableListAdapter.getChildrenCount(SimpleExpandableListAdapter.java:255)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> com.desk.prosp.ExpandableAdapter.getGroupView(ExpandableAdapter.java:83)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.ExpandableListConnector.getView(ExpandableListConnector.java:445)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.AbsListView.obtainView(AbsListView.java:1418)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.ListView.makeAndAddView(ListView.java:1745)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.ListView.fillDown(ListView.java:670)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.ListView.fillFromTop(ListView.java:727)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.ListView.layoutChildren(ListView.java:1598)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.AbsListView.onLayout(AbsListView.java:1248)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.view.View.layout(View.java:7175)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.LinearLayout.layoutVertical(LinearLayout.java:1130)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.LinearLayout.onLayout(LinearLayout.java:1047)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.view.View.layout(View.java:7175)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.FrameLayout.onLayout(FrameLayout.java:338)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.view.View.layout(View.java:7175)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.LinearLayout.layoutVertical(LinearLayout.java:1130)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.LinearLayout.onLayout(LinearLayout.java:1047)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.view.View.layout(View.java:7175)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.widget.FrameLayout.onLayout(FrameLayout.java:338)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.view.View.layout(View.java:7175)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.view.ViewRoot.performTraversals(ViewRoot.java:1140)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.view.ViewRoot.handleMessage(ViewRoot.java:1859)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.os.Handler.dispatchMessage(Handler.java:99)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.os.Looper.loop(Looper.java:123)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> android.app.ActivityThread.main(ActivityThread.java:3647)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> java.lang.reflect.Method.invokeNative(Native Method)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> java.lang.reflect.Method.invoke(Method.java:507)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
>
> 06-29 19:45:34.471: ERROR/AndroidRuntime(435):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to