mkrosky / droid800

Automatically exported from code.google.com/p/droid800
0 stars 0 forks source link

Force close when opening preferences #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Open the preferences from main screen

What is the expected output? What do you see instead?

Expect to see preference screen, instead the app forces close.

Please use labels and text to provide additional information.

Stack Trace: 

I/ActivityManager( 2061): Displayed activity com.droid800/.Droid800Preferences:
648 ms (total 648 ms)
D/dalvikvm( 9785): GC_EXTERNAL_ALLOC freed 2072 objects / 149840 bytes in 156ms
D/AndroidRuntime( 9785): Shutting down VM
W/dalvikvm( 9785): threadid=1: thread exiting with uncaught exception (group=0x4
001d7f0)
E/AndroidRuntime( 9785): FATAL EXCEPTION: main
E/AndroidRuntime( 9785): java.util.UnknownFormatConversionException: Conversion
is ''
E/AndroidRuntime( 9785):        at java.util.Formatter$FormatSpecifierParser.adv
ance(Formatter.java:2641)
E/AndroidRuntime( 9785):        at java.util.Formatter$FormatSpecifierParser.par
seConversionType(Formatter.java:2716)
E/AndroidRuntime( 9785):        at java.util.Formatter$FormatSpecifierParser.par
seArgumentIndexAndFlags(Formatter.java:2687)
E/AndroidRuntime( 9785):        at java.util.Formatter$FormatSpecifierParser.par
seFormatToken(Formatter.java:2624)
E/AndroidRuntime( 9785):        at java.util.Formatter.doFormat(Formatter.java:1
072)
E/AndroidRuntime( 9785):        at java.util.Formatter.format(Formatter.java:994
)
E/AndroidRuntime( 9785):        at java.lang.String.format(String.java:2254)
E/AndroidRuntime( 9785):        at java.lang.String.format(String.java:2219)
E/AndroidRuntime( 9785):        at android.preference.ListPreference.getSummary(
ListPreference.java:152)
E/AndroidRuntime( 9785):        at android.preference.Preference.onBindView(Pref
erence.java:441)
E/AndroidRuntime( 9785):        at android.preference.Preference.getView(Prefere
nce.java:391)
E/AndroidRuntime( 9785):        at android.preference.PreferenceGroupAdapter.get
View(PreferenceGroupAdapter.java:221)
E/AndroidRuntime( 9785):        at android.widget.AbsListView.obtainView(AbsList
View.java:1340)
E/AndroidRuntime( 9785):        at android.widget.ListView.makeAndAddView(ListVi
ew.java:1743)
E/AndroidRuntime( 9785):        at android.widget.ListView.fillDown(ListView.jav
a:668)
E/AndroidRuntime( 9785):        at android.widget.ListView.fillGap(ListView.java
:639)
E/AndroidRuntime( 9785):        at android.widget.AbsListView.trackMotionScroll(
AbsListView.java:3200)
E/AndroidRuntime( 9785):        at android.widget.AbsListView.onTouchEvent(AbsLi
stView.java:2138)
E/AndroidRuntime( 9785):        at android.widget.ListView.onTouchEvent(ListView
.java:3448)
E/AndroidRuntime( 9785):        at android.view.View.dispatchTouchEvent(View.jav
a:3807)
E/AndroidRuntime( 9785):        at android.view.ViewGroup.dispatchTouchEvent(Vie
wGroup.java:897)
E/AndroidRuntime( 9785):        at android.view.ViewGroup.dispatchTouchEvent(Vie
wGroup.java:936)
E/AndroidRuntime( 9785):        at android.view.ViewGroup.dispatchTouchEvent(Vie
wGroup.java:936)
E/AndroidRuntime( 9785):        at android.view.ViewGroup.dispatchTouchEvent(Vie
wGroup.java:936)
E/AndroidRuntime( 9785):        at com.android.internal.policy.impl.PhoneWindow$
DecorView.superDispatchTouchEvent(PhoneWindow.java:1671)
E/AndroidRuntime( 9785):        at com.android.internal.policy.impl.PhoneWindow.
superDispatchTouchEvent(PhoneWindow.java:1107)
E/AndroidRuntime( 9785):        at android.app.Activity.dispatchTouchEvent(Activ
ity.java:2086)
E/AndroidRuntime( 9785):        at com.android.internal.policy.impl.PhoneWindow$
DecorView.dispatchTouchEvent(PhoneWindow.java:1655)
E/AndroidRuntime( 9785):        at android.view.ViewRoot.handleMessage(ViewRoot.
java:1785)
E/AndroidRuntime( 9785):        at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 9785):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 9785):        at android.app.ActivityThread.main(ActivityThrea
d.java:4627)
E/AndroidRuntime( 9785):        at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 9785):        at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 9785):        at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 9785):        at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:626)
E/AndroidRuntime( 9785):        at dalvik.system.NativeStart.main(Native Method)

I/dalvikvm( 9785): Jit: resizing JitTable from 512 to 1024
W/ActivityManager( 2061):   Force finishing activity com.droid800/.Droid800Prefe
rences
W/ActivityManager( 2061): Activity pause timeout for HistoryRecord{4655b6c8 com.
droid800/.Droid800Preferences}

Original issue reported on code.google.com by diggerb...@gmail.com on 29 Jan 2011 at 7:45

GoogleCodeExporter commented 9 years ago
Looks like the exception is due to the "summary" field in preferences being 
blank. Updated v7.2 to initialize summary fields in keymap list items. 

Note: I cannot replicate this issue on my Moto droid. 

Original comment by diggerb...@gmail.com on 29 Jan 2011 at 7:47

GoogleCodeExporter commented 9 years ago

Original comment by diggerb...@gmail.com on 29 Jan 2011 at 7:47

GoogleCodeExporter commented 9 years ago
I have very similar problem on T-Mobile Pulse. Opening Preferences works, 
scrolling down will crash the application. Last preference I am able to see and 
set is "Show speed". Once I scroll one pixel further, I get FC. I tried 
uninstall marker application, install 7.5 from here and issue is still present.
Looking to trace above, I guess the problem is in storing and retrieving 
preferences OR formating data type for dialog.

Original comment by dusan.ho...@gmail.com on 9 Feb 2011 at 8:01

GoogleCodeExporter commented 9 years ago
Reproduces on Galaxy Tab 7.7, . Is the complete source code available BTW? I 
could fix it if I could look.

Original comment by svof...@gmail.com on 8 Jul 2012 at 10:36

GoogleCodeExporter commented 9 years ago
Force closes on my Nexus 7 with Android 4.1.1.

By default, the app emulates the Atari 800. I'm looking to use it for 5200 
emulation. Unfortunately I'm unable to change it.

I know it's a shot in the dark since this issue was risen over 1 year ago.

Original comment by thomasla...@gmail.com on 22 Sep 2012 at 12:29

GoogleCodeExporter commented 9 years ago
All, I stopped attempts using this emulator as it seems to be unsupported. 
Anyway - big thanks for the author for such a huge job.
FYI: I use 
https://play.google.com/store/apps/details?id=name.nick.jubanka.colleen instead 
which works great.

Original comment by dusan.ho...@gmail.com on 22 Sep 2012 at 11:32