This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Android and the fly likes ExpandableList problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "ExpandableList problem" Watch "ExpandableList problem" New topic
Author

ExpandableList problem

Sreenu Vengala
Greenhorn

Joined: Oct 26, 2009
Posts: 18
Hi.

In my application when click on ExpandableList I got the following error.
and ExpandableList values every 5 seconds values are updating

W/dalvikvm( 773): threadid=3: thread exiting with uncaught exception (group=0x4001da28)
E/AndroidRuntime( 773): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 773): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.listview/com.listview.Conversation}: java.util.ConcurrentModificationException
E/AndroidRuntime( 773): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2401)
E/AndroidRuntime( 773): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
E/AndroidRuntime( 773): at android.app.ActivityThread.access$2100(ActivityThread.java:116)
E/AndroidRuntime( 773): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
E/AndroidRuntime( 773): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 773): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 773): at android.app.ActivityThread.main(ActivityThread.java:4203)
E/AndroidRuntime( 773): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 773): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 773): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 773): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
E/AndroidRuntime( 773): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 773): Caused by: java.util.ConcurrentModificationException
E/AndroidRuntime( 773): at java.util.AbstractList$SimpleListIterator.next(AbstractList.java:66)
E/AndroidRuntime( 773): at com.listview.Conversation.onCreate(Conversation.java:88)
E/AndroidRuntime( 773): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
E/AndroidRuntime( 773): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364)
E/AndroidRuntime( 773): ... 11 more

Conversation is the custom class.

Thanks.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ExpandableList problem
 
Similar Threads
Runtime Exception in Java code
Having trouble with OnTouchListener
INSTALL_FAILED_OLDER_SDK
Speak(read) a text when app is launched
how to transfer images to ftp server in android