[Android Apps and Games] raphTec:
bug report

Hello, I also use this App, it's great! I use it on a Prestigio (not the best manufacturer, but I got the device for free;)) tablet, which "is not supported" according to the Playstore, but I can install the .apk's from here. Thanks for uploading them here. My tablet runs Android 4.3 with CyanogenMod.

I found a bug, Wakelock Detector crashes sometimes. Together with the "Report" button and a Google search of a function from the report I was able to reproduce the exact steps:

1. Make sure that you enable the "Extended Mode" (or something like that, I have german as the system langue and don't know the exact translation used for english) in the settings of WakelockDetector. I refer to the mode which also displays the system processes.

2. Physically rotate the tablet into landscape mode, make sure the screen content is rotated as well by setting on the automatic screen orientation option from Android

3. Start WakelockDetector and switch to the "CPU-WakeLock" staticstics page.

Result: A short period of the loading animating, then the Message: "Oops, Wakelock Detector has crashed" with the option to report the problem. Here is the stacktrace:

Stack:
java.lang.ClassCastException: com.tjerkw.slideexpandable.library.j cannot be cast to android.widget.BaseAdapter
at android.widget.FastScroller.getSectionsFromIndexer(FastScroller.java:541)
at android.widget.FastScroller.getThumbPositionForListPosition(FastScroller.java:662)
at android.widget.FastScroller.onScroll(FastScroller.java:487)
at android.widget.AbsListView.invokeOnItemScrollListener(AbsListView.java:1337)
at android.widget.ListView.layoutChildren(ListView.java:1762)
at android.widget.AbsListView.onLayout(AbsListView.java:2012)
at android.view.View.layout(View.java:14296)
at android.view.ViewGroup.layout(ViewGroup.java:4562)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:14296)
at android.view.ViewGroup.layout(ViewGroup.java:4562)
at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
at android.view.View.layout(View.java:14296)
at android.view.ViewGroup.layout(ViewGroup.java:4562)
at com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:349)
at android.view.View.layout(View.java:14296)
at android.view.ViewGroup.layout(ViewGroup.java:4562)
at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
at android.view.View.layout(View.java:14296)
at android.view.ViewGroup.layout(ViewGroup.java:4562)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1976)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1730)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1004)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5481)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
at android.view.Choreographer.doCallbacks(Choreographer.java:562)
at android.view.Choreographer.doFrame(Choreographer.java:532)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5289)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)

**** End of current Report ***

I googled that slideexpandables-thing and found out that it coule be related to the screen orientation.

When you follow my steps, there will be a crash for sure, but when you switch from portrait mode (WLD works very well there) wo landscape, there is no crash.

The crash has nothing to do with an App called SwiftBack or something like that, because I do not have it installed.

I believe, because most of the people (or all?) use this app on a mobile phone which is orientated almost exclusively (except for games) in portrait mode, this bug was not discovered yet. Or was it discovered, I didn't read all the pages in this thread?

It would be great if you can fix that bug to make WLD even better :) It would also be great to have access through the Playstore to this app, what are the requirements for "supported devices"?