goldenXcode / shortyz

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

Opening a puzzle crashes shortyz on ICS #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a device with Ice Cream Sandwich
2. Open Shortyz
3. Select any puzzle

What is the expected output? What do you see instead?
I expect the puzzle to open. Instead, Shortyz crashes.

What version of the product are you using? On what operating system?
Shortyz version 3.1.6 (from the Android Market)
Android version 4.0 (Ice Cream Sandwich)

Please provide any additional information below.

Stack trace captured after the crash shows:

12-13 10:29:57.175   159   159 I ActivityManager: START 
{act=android.intent.action.EDIT 
dat=file:///mnt/sdcard/crosswords/2011-12-12-Newsday.puz 
cmp=com.totsp.crossword.shortyz/com.totsp.crossword.PlayActivity} from pid 3914
12-13 10:29:57.238  3914  3914 I System.out: Creating utils for version: 15
12-13 10:29:57.238  3914  3914 I System.out: Movement Strategy:STOP_ON_END
12-13 10:29:57.445  3914  3914 I System.out: Timer Start!
12-13 10:29:57.550  3914  3916 D dalvikvm: GC_CONCURRENT freed 260K, 4% free 
11243K/11655K, paused 2ms+4ms
12-13 10:29:57.554  3914  3914 D AndroidRuntime: Shutting down VM
12-13 10:29:57.554  3914  3914 W dalvikvm: threadid=1: thread exiting with 
uncaught exception (group=0x40a351f8)
12-13 10:29:57.558  3914  3914 E AndroidRuntime: FATAL EXCEPTION: main
12-13 10:29:57.558  3914  3914 E AndroidRuntime: java.lang.RuntimeException: 
Unable to start activity 
ComponentInfo{com.totsp.crossword.shortyz/com.totsp.crossword.PlayActivity}: 
java.lang.NullPointerException
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
android.app.ActivityThread.access$600(ActivityThread.java:123)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
android.os.Handler.dispatchMessage(Handler.java:99)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
android.os.Looper.loop(Looper.java:137)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
android.app.ActivityThread.main(ActivityThread.java:4424)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
java.lang.reflect.Method.invokeNative(Native Method)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
java.lang.reflect.Method.invoke(Method.java:511)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
dalvik.system.NativeStart.main(Native Method)
12-13 10:29:57.558  3914  3914 E AndroidRuntime: Caused by: 
java.lang.NullPointerException
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
com.totsp.crossword.PlayActivity.onCreate(PlayActivity.java:320)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
android.app.Activity.performCreate(Activity.java:4465)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
12-13 10:29:57.558  3914  3914 E AndroidRuntime:    ... 11 more
12-13 10:29:57.570   159   610 W ActivityManager:   Force finishing activity 
com.totsp.crossword.shortyz/com.totsp.crossword.PlayActivity
12-13 10:29:57.574   159   610 W ActivityManager:   Force finishing activity 
com.totsp.crossword.shortyz/com.totsp.crossword.BrowseActivity
12-13 10:29:58.070   159   174 W ActivityManager: Activity pause timeout for 
ActivityRecord{4158daf0 
com.totsp.crossword.shortyz/com.totsp.crossword.PlayActivity}
12-13 10:30:00.058  3914  3914 I Process : Sending signal. PID: 3914 SIG: 9
12-13 10:30:00.074   159  1047 I ActivityManager: Process 
com.totsp.crossword.shortyz (pid 3914) has died.
12-13 10:30:00.074   159  1047 I WindowManager: WIN DEATH: Window{41732238 
com.totsp.crossword.shortyz/com.totsp.crossword.BrowseActivity paused=true}
12-13 10:30:08.402   159   174 W ActivityManager: Activity destroy timeout for 
ActivityRecord{417b0fd0 
com.totsp.crossword.shortyz/com.totsp.crossword.BrowseActivity}
12-13 10:30:08.402   159   174 W ActivityManager: Activity destroy timeout for 
ActivityRecord{4158daf0 
com.totsp.crossword.shortyz/com.totsp.crossword.PlayActivity}

Original issue reported on code.google.com by rac...@kirby.net on 13 Dec 2011 at 4:05

GoogleCodeExporter commented 9 years ago
I think I was able to fix this by downloading the latest version of the code 
and commenting out the entire if-then clause starting in line 322 of 
PlayActivity.java.  Since that's version 3.1.0, though, and the latest is 
3.1.5, I'm not sure if I'm missing some important changes.

Original comment by portnoy...@gmail.com on 18 Dec 2011 at 12:16

GoogleCodeExporter commented 9 years ago
One other note -- I was able to reproduce this problem using an API Level 15 
AVD (the 4.0.3 platform), but not the Level 14.

Original comment by portnoy...@gmail.com on 18 Dec 2011 at 2:06

GoogleCodeExporter commented 9 years ago
Any updates on this front? I use this app daily and am no longer able.

Original comment by MarcAL...@gmail.com on 2 Jan 2012 at 3:37

GoogleCodeExporter commented 9 years ago
The latest version on the Android Market (3.1.7) seems to have fixed this 
problem for me.

Original comment by portnoy...@gmail.com on 2 Jan 2012 at 4:06