austgl / android-shuffle

Automatically exported from code.google.com/p/android-shuffle
0 stars 0 forks source link

Force close when editing any action. Looks date format problem. Trace included. #241

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new action or edit an existing one
2. Press "Save"
3. Shuffle Force Closes. Apparently changes are saved correctly.

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

I would expect Shuffle not to FC

What version of the product are you using? On what operating system?

Shuffle 1.7.0

Please provide any additional information below.

I think it might be a date format problem. I'm using a Spanish phone. When the 
force close happens, this is the output from the Logcat:

E/AndroidRuntime( 8738): FATAL EXCEPTION: main
E/AndroidRuntime( 8738): java.util.UnknownFormatConversionException: 
Conversion: 1$.
E/AndroidRuntime( 8738):        at 
java.util.Formatter$FormatSpecifierParser.unknownFormatConversionException(Forma
tter.java:2344)
E/AndroidRuntime( 8738):        at 
java.util.Formatter$FormatSpecifierParser.parsePrecision(Formatter.java:2412)
E/AndroidRuntime( 8738):        at 
java.util.Formatter$FormatSpecifierParser.parseArgumentIndexAndFlags(Formatter.j
ava:2386)
E/AndroidRuntime( 8738):        at 
java.util.Formatter$FormatSpecifierParser.parseFormatToken(Formatter.java:2321)
E/AndroidRuntime( 8738):        at 
java.util.Formatter.doFormat(Formatter.java:1091)
E/AndroidRuntime( 8738):        at 
java.util.Formatter.format(Formatter.java:1062)
E/AndroidRuntime( 8738):        at 
java.util.Formatter.format(Formatter.java:1031)
E/AndroidRuntime( 8738):        at java.lang.String.format(String.java:2177)
E/AndroidRuntime( 8738):        at 
android.content.res.Resources.getString(Resources.java:290)
E/AndroidRuntime( 8738):        at 
org.dodgybits.shuffle.android.editor.activity.AbstractEditorActivity.showSaveToa
st(AbstractEditorActivity.java:235)
E/AndroidRuntime( 8738):        at 
org.dodgybits.shuffle.android.editor.activity.AbstractEditorActivity.save(Abstra
ctEditorActivity.java:263)
E/AndroidRuntime( 8738):        at 
org.dodgybits.shuffle.android.editor.activity.TaskEditorActivity.save(TaskEditor
Activity.java:564)
E/AndroidRuntime( 8738):        at 
org.dodgybits.shuffle.android.editor.activity.AbstractEditorActivity.doSaveActio
n(AbstractEditorActivity.java:179)
E/AndroidRuntime( 8738):        at 
org.dodgybits.shuffle.android.editor.activity.AbstractEditorActivity.onClick(Abs
tractEditorActivity.java:165)
E/AndroidRuntime( 8738):        at 
org.dodgybits.shuffle.android.editor.activity.TaskEditorActivity.onClick(TaskEdi
torActivity.java:653)
E/AndroidRuntime( 8738):        at 
android.view.View.performClick(View.java:2501)
E/AndroidRuntime( 8738):        at 
android.view.View$PerformClick.run(View.java:9107)
E/AndroidRuntime( 8738):        at 
android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 8738):        at 
android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 8738):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 8738):        at 
android.app.ActivityThread.main(ActivityThread.java:3848)
E/AndroidRuntime( 8738):        at 
java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 8738):        at 
java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 8738):        at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 8738):        at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 8738):        at dalvik.system.NativeStart.main(Native Method)

W/ActivityManager(  209):   Force finishing activity 
org.dodgybits.android.shuffle/org.dodgybits.shuffle.android.editor.activity.Task
EditorActivity
W/ActivityManager(  209): Activity pause timeout for HistoryRecord{40bf60c8 
org.dodgybits.android.shuffle/org.dodgybits.shuffle.android.editor.activity.Task
EditorActivity}

Original issue reported on code.google.com by airadier on 25 Apr 2011 at 12:16

GoogleCodeExporter commented 9 years ago
I'm in the same problem. Change terminal with 2.1 (HTC Hero) to 2.2 (Galaxy S).

Original comment by francisc...@gmail.com on 25 Apr 2011 at 5:26

GoogleCodeExporter commented 9 years ago
Same problem here, spanish phone, Shuffle 1.7.0, Android 2.2.2

Original comment by JanoMal...@gmail.com on 26 Apr 2011 at 8:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
That's the problem! JanoMal...

All of us use spanish locale (ES).

Changed locale to English and Shuffle works fine.

Original comment by francisc...@gmail.com on 26 Apr 2011 at 9:11

GoogleCodeExporter commented 9 years ago
Fixed in 1.7.1

Original comment by andybry...@gmail.com on 11 Jun 2011 at 11:28