Problem with PreferencesActivity library (Cardiotrainer crashes)


sparkster

Members
Dec 26, 2010
13
11
Hi, guys. Since some versions ago, I am having toubles with Cardiotrainer, and I heard that it happens the same problem with other programs. When I go into the settings and I push a menu option (the options that show a list, sorry for my english :p) the program crashes. I read the crash log:

Code:
ERROR REPORT
Report type
Crash

Package name 
com.wsl.CardioTrainer

Package version
63

Package version name
3.4.1

Installed by
com.google.android.feedback

Process name
com.wsl.CardioTrainer

Time
wednesday 22 december 2010

System app
false

SYSTEM
Device
passion

Build id
MIUI.0.12.11

Build type
userdebug

Model
Nexus One

Product
libra_passion

SDK version
8

Release
2.2.1

Incremental version
0.12.11

Codename
REL

Board
mahimahi

Brand
generic

Running applications
com.google.android.feedback
com.android.inputmethod.latin
com.android.providers.calendar
android.process.acore
com.google.process.gapps
com.android.phone
system
com.google.android.googlequicksearchbox
android.process.media
com.android.vending
com.svox.pico
com.android.voicedialer
com.noshufou.android.su
com.android.defcontainer
com.cooliris.media
com.google.android.apps.maps:LocationFriendService
com.android.vending.updater
com.android.launcher
com.android.updater
com.miui.player
com.google.android.apps.uploader
com.twitter.android

(sorry, but it's quite impossible to copy the logs :P)

CRASH
Exception class name
java.lang.NullPointerException

Source file
PreferenceActivity.java

Source class
android.preference.PreferenceActivity

Source method
bindPreferences

Line number
247

Stack trace
java.lang.NullPointerException
at android.preference.PreferenceActivity.
bindPreferences(PreferenceActivity.java:247)
at android.preference.PreferenceActivity.
access$000(PreferenceActivity.java:86)
at android.preference.
PreferenceActivity$1.handleMessage(PreferenceActiv ity.java:109)
at android.os.Handler.
dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.
main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(NativeMethod )
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.
ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java :868)
at com.android.internal.os.ZygoteInit.
main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(NativeMethod)

As you can see, there is a problem with de PreferenceActivity library. This library lists the items of a menu, so is because of this that the program crashes. I sent a message to Cardiotrainer developers but they answered that don't support non official roms, so the problem must be solved in miui.

Does anybody know how to contact with them? I sent a message to one of the chinese admins of the main page, but I had no response. Maybe his english is worse than mine :p