Bug #1830
NPE in SlideListView
Status: | Closed | Start date: | 09/08/2013 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | n8fr8 | % Done: | 0% | |
Category: | - | |||
Target version: | v12 - March Mantra | |||
Component: | UI |
Description
I am getting NPEs lately, and captured the logs for one:
09-06 16:35:57.333 E/AndroidRuntime( 2069): FATAL EXCEPTION: main
09-06 16:35:57.333 E/AndroidRuntime( 2069): java.lang.RuntimeException: Unable to start activity ComponentInfo{info.guardianproject.otr.
app.im/info.guardianproject.otr.app.im.app.NewChatActivity}: java.lang.NullPointerException
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2079)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.app.ActivityThread.access$600(ActivityThread.java:132)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1157)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.os.Handler.dispatchMessage(Handler.java:99)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.os.Looper.loop(Looper.java:137)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.app.ActivityThread.main(ActivityThread.java:4575)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at java.lang.reflect.Method.invokeNative(Native Method)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at java.lang.reflect.Method.invoke(Method.java:511)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at dalvik.system.NativeStart.main(Native Method)
09-06 16:35:57.333 E/AndroidRuntime( 2069): Caused by: java.lang.NullPointerException
09-06 16:35:57.333 E/AndroidRuntime( 2069): at com.tjerkw.slideexpandable.library.AbstractSlideExpandableListAdapter.writeBitSet(AbstractSlideExpandableListAdapter.java:298)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at com.tjerkw.slideexpandable.library.AbstractSlideExpandableListAdapter.access$0(AbstractSlideExpandableListAdapter.java:295)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at com.tjerkw.slideexpandable.library.AbstractSlideExpandableListAdapter$SavedState.<init>(AbstractSlideExpandableListAdapter.java:319)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at com.tjerkw.slideexpandable.library.AbstractSlideExpandableListAdapter$SavedState.<init>(AbstractSlideExpandableListAdapter.java:316)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at com.tjerkw.slideexpandable.library.AbstractSlideExpandableListAdapter$SavedState$1.createFromParcel(AbstractSlideExpandableListAdapter.java:333)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at com.tjerkw.slideexpandable.library.AbstractSlideExpandableListAdapter$SavedState$1.createFromParcel(AbstractSlideExpandableListAdapter.java:1)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.os.Parcel.readParcelable(Parcel.java:1992)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.os.Parcel.readValue(Parcel.java:1854)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.os.Parcel.readSparseArrayInternal(Parcel.java:2123)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.os.Parcel.readSparseArray(Parcel.java:1576)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.os.Parcel.readValue(Parcel.java:1911)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.os.Parcel.readMapInternal(Parcel.java:2094)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.os.Bundle.unparcel(Bundle.java:223)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.os.Bundle.getSparseParcelableArray(Bundle.java:1225)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:845)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1088)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1070)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.support.v4.app.FragmentManagerImpl.dispatchCreate(FragmentManager.java:1856)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.support.v4.app.FragmentActivity.onCreate(FragmentActivity.java:210)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at info.guardianproject.otr.app.im.app.NewChatActivity.onCreate(NewChatActivity.java:117)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.app.Activity.performCreate(Activity.java:4465)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
09-06 16:35:57.333 E/AndroidRuntime( 2069): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2033)
09-06 16:35:57.333 E/AndroidRuntime( 2069): ... 11 more
History
#1 Updated by devrandom over 4 years ago
https://github.com/tjerkw/Android-SlideExpandableListView/issues/32
It doesn't look like author intends to fix this in the short term. Due to this and #1832, I recommend removing this dependency.
#2 Updated by n8fr8 over 4 years ago
- Status changed from New to Resolved
removed this library for now
#3 Updated by n8fr8 over 4 years ago
- Status changed from Resolved to Closed