Hi Diego, I got NPE whenever I open xml file that contains
<com.diegocarloslima.fgelv.lib.FloatingGroupExpandableListView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="none" />
Take a look at the picture
and here is the full log:
java.lang.NullPointerException
Exception details are logged in Window > Show View > Error Log
java.lang.NullPointerException
at android.widget.ExpandableListView.getFlatListPosition(ExpandableListView.java:911)
at com.diegocarloslima.fgelv.lib.FloatingGroupExpandableListView.drawDefaultSelector(FloatingGroupExpandableListView.java:458)
at com.diegocarloslima.fgelv.lib.FloatingGroupExpandableListView.dispatchDraw(FloatingGroupExpandableListView.java:203)
at android.view.View.draw(View.java:14468)
at android.widget.AbsListView.draw(AbsListView.java:3817)
at android.view.View.draw(View.java:14350)
at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
at android.view.View.draw(View.java:14348)
at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
at android.view.View.draw(View.java:14348)
at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
at android.view.View.draw(View.java:14468)
at android.view.View.draw(View.java:14350)
at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
at android.view.View.draw(View.java:14348)
at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
at android.view.View.draw(View.java:14468)
at android.view.View.draw(View.java:14350)
at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
at android.view.View.draw(View.java:14468)
It's not cause any error in the app but it prevent editing the xml file in graphical.
Hi Diego, I got NPE whenever I open xml file that contains <com.diegocarloslima.fgelv.lib.FloatingGroupExpandableListView android:id="@android:id/list" android:layout_width="match_parent" android:layout_height="match_parent" android:scrollbars="none" />
Take a look at the picture
and here is the full log:
java.lang.NullPointerException Exception details are logged in Window > Show View > Error Log
java.lang.NullPointerException at android.widget.ExpandableListView.getFlatListPosition(ExpandableListView.java:911) at com.diegocarloslima.fgelv.lib.FloatingGroupExpandableListView.drawDefaultSelector(FloatingGroupExpandableListView.java:458) at com.diegocarloslima.fgelv.lib.FloatingGroupExpandableListView.dispatchDraw(FloatingGroupExpandableListView.java:203) at android.view.View.draw(View.java:14468) at android.widget.AbsListView.draw(AbsListView.java:3817) at android.view.View.draw(View.java:14350) at android.view.ViewGroup.drawChild(ViewGroup.java:3103) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940) at android.view.View.draw(View.java:14348) at android.view.ViewGroup.drawChild(ViewGroup.java:3103) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940) at android.view.View.draw(View.java:14348) at android.view.ViewGroup.drawChild(ViewGroup.java:3103) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940) at android.view.View.draw(View.java:14468) at android.view.View.draw(View.java:14350) at android.view.ViewGroup.drawChild(ViewGroup.java:3103) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940) at android.view.View.draw(View.java:14348) at android.view.ViewGroup.drawChild(ViewGroup.java:3103) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940) at android.view.View.draw(View.java:14468) at android.view.View.draw(View.java:14350) at android.view.ViewGroup.drawChild(ViewGroup.java:3103) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940) at android.view.View.draw(View.java:14468)
It's not cause any error in the app but it prevent editing the xml file in graphical.