[Desire HD Android Development] ralphclark:
Java Force Closes due to Call Recorder functionality in kernel?

I just upgraded to 5.2.2 today, I was on 5.1.something before.

Congratulations - 5.2.2 seems to be the best release yet, the UI is very responsive and I've had little trouble with any of the many add-ons I've applied from the second post, except Java which force closes every time it tries to start up. In 5.1.x I was able to get rid of the Java exceptions by clearing it's data but this one is stubbornly resistant.

[EDIT] I thought it might be due to a missing property in one of the XML files in jbed.apk but I believe I was looking at the wrong error message. Here is the actual sequence of events in the log file when jbed tries to start up. NB. I can confirm that the lines from the call recording engine appear immediately before the exception every time it's thrown.

07-18 02:49:48.239 W/ResourceType( 1980): Skipping entry 0x7f040000 in package table 0 because it is not complex!
07-18 02:49:48.239 W/ResourceType( 1980): Skipping entry 0x7f040001 in package table 0 because it is not complex!
07-18 02:49:48.339 E/ATRecorder( 7131): com.htc.autotest.dlib.RecordEngine in loader dalvik.system.DexClassLoader@40149428
07-18 02:49:48.749 W/dalvikvm( 7131): threadid=9: thread exiting with uncaught exception (group=0x4001d5a0)
07-18 02:49:48.769 E/AndroidRuntime( 7131): FATAL EXCEPTION: Thread-10
07-18 02:49:48.769 E/AndroidRuntime( 7131): java.lang.NullPointerException
07-18 02:49:48.769 E/AndroidRuntime( 7131): at java.io.File.fixSlashes(File.java:205)
07-18 02:49:48.769 E/AndroidRuntime( 7131): at java.io.File.init(File.java:189)
07-18 02:49:48.769 E/AndroidRuntime( 7131): at java.io.File.<init>(File.java:139)
07-18 02:49:48.769 E/AndroidRuntime( 7131): at com.esmertec.android.jbed.JbedSettings.syncCerts(JbedSettings.java:202)
07-18 02:49:48.769 E/AndroidRuntime( 7131): at com.esmertec.android.jbed.JbedSettings$1.run(JbedSettings.java:100)
07-18 02:49:48.769 W/ActivityManager( 1980): Force finishing activity com.esmertec.android.jbed/.ams.AmsActivity
07-18 02:49:49.278 W/ActivityManager( 1980): Activity pause timeout for HistoryRecord{405011e0 com.esmertec.android.jbed/.ams.AmsActivity}
07-18 02:49:49.738 W/dalvikvm( 7131): threadid=1: thread exiting with uncaught exception (group=0x4001d5a0)
07-18 02:49:49.738 W/WindowManager( 1980): Attempted to add application window with unknown token HistoryRecord{405011e0 com.esmertec.android.jbed/.ams.AmsActivity}. Aborting.
07-18 02:49:49.818 E/ATRecorder( 7141): com.htc.autotest.dlib.RecordEngine in loader dalvik.system.DexClassLoader@40148d60
07-18 02:49:49.938 E/ATRecorder( 7149): com.htc.autotest.dlib.RecordEngine in loader dalvik.system.DexClassLoader@40142980
07-18 02:49:50.018 W/dalvikvm( 7141): threadid=9: thread exiting with uncaught exception (group=0x4001d5a0)
07-18 02:49:50.028 E/AndroidRuntime( 7141): FATAL EXCEPTION: Thread-10
07-18 02:49:50.028 E/AndroidRuntime( 7141): java.lang.NullPointerException
07-18 02:49:50.028 E/AndroidRuntime( 7141): at java.io.File.fixSlashes(File.java:205)
07-18 02:49:50.028 E/AndroidRuntime( 7141): at java.io.File.init(File.java:189)
07-18 02:49:50.028 E/AndroidRuntime( 7141): at java.io.File.<init>(File.java:139)
07-18 02:49:50.028 E/AndroidRuntime( 7141): at com.esmertec.android.jbed.JbedSettings.syncCerts(JbedSettings.java:202)
07-18 02:49:50.028 E/AndroidRuntime( 7141): at com.esmertec.android.jbed.JbedSettings$1.run(JbedSettings.java:100)
07-18 02:49:50.028 W/dalvikvm( 7149): threadid=10: thread exiting with uncaught exception (group=0x4001d5a0)
07-18 02:49:50.028 E/AndroidRuntime( 7149): FATAL EXCEPTION: Thread-10
07-18 02:49:50.028 E/AndroidRuntime( 7149): java.lang.NullPointerException
07-18 02:49:50.028 E/AndroidRuntime( 7149): at java.io.File.fixSlashes(File.java:205)
07-18 02:49:50.028 E/AndroidRuntime( 7149): at java.io.File.init(File.java:189)
07-18 02:49:50.028 E/AndroidRuntime( 7149): at java.io.File.<init>(File.java:139)
07-18 02:49:50.028 E/AndroidRuntime( 7149): at com.esmertec.android.jbed.JbedSettings.syncCerts(JbedSettings.java:202)
07-18 02:49:50.028 E/AndroidRuntime( 7149): at com.esmertec.android.jbed.JbedSettings$1.run(JbedSettings.java:100)
07-18 02:49:50.078 W/ActivityManager( 1980): Process com.esmertec.android.jbed has crashed too many times: killing!
07-18 02:49:50.088 W/ActivityManager( 1980): Scheduling restart of crashed service com.esmertec.android.jbed/.service.JbedService in 5000ms