kionias / openintents

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

OI File Manager: crashes in multi-select delete confirmation dialog #459

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open File Manager
2. Menu -> Multi Select
3. Select one or more items
4. Hit Delete
5. At the "Do you really want to delete" dialog, change the orientation.

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

Nothing should change, you should still be at the confirmation dialog.
Instead it crashes.

W/SurfaceFlinger(   36): createScreenshotSurface failed (Function not 
implemented)
W/ScreenRotationAnimation(   91): Unable to allocate freeze surface
W/ScreenRotationAnimation(   91): android.view.Surface$OutOfResourcesException
W/ScreenRotationAnimation(   91):   at android.view.Surface.init(Native Method)
W/ScreenRotationAnimation(   91):   at 
android.view.Surface.<init>(Surface.java:262)
W/ScreenRotationAnimation(   91):   at 
com.android.server.wm.ScreenRotationAnimation.<init>(ScreenRotationAnimation.jav
a:90)
W/ScreenRotationAnimation(   91):   at 
com.android.server.wm.WindowManagerService.startFreezingDisplayLocked(WindowMana
gerService.java:9072)
W/ScreenRotationAnimation(   91):   at 
com.android.server.wm.WindowManagerService.updateRotationUncheckedLocked(WindowM
anagerService.java:5287)
W/ScreenRotationAnimation(   91):   at 
com.android.server.wm.WindowManagerService.updateRotationUnchecked(WindowManager
Service.java:5212)
W/ScreenRotationAnimation(   91):   at 
com.android.server.wm.WindowManagerService.updateRotation(WindowManagerService.j
ava:5174)
W/ScreenRotationAnimation(   91):   at 
com.android.internal.policy.impl.PhoneWindowManager.updateRotation(PhoneWindowMa
nager.java:3529)
W/ScreenRotationAnimation(   91):   at 
com.android.internal.policy.impl.PhoneWindowManager$MyOrientationListener.onProp
osedRotationChanged(PhoneWindowManager.java:476)
W/ScreenRotationAnimation(   91):   at 
android.view.WindowOrientationListener$SensorEventListenerImpl.onSensorChanged(W
indowOrientationListener.java:489)
W/ScreenRotationAnimation(   91):   at 
android.hardware.SensorManager$ListenerDelegate$1.handleMessage(SensorManager.ja
va:580)
W/ScreenRotationAnimation(   91):   at 
android.os.Handler.dispatchMessage(Handler.java:99)
W/ScreenRotationAnimation(   91):   at android.os.Looper.loop(Looper.java:137)
W/ScreenRotationAnimation(   91):   at 
com.android.server.ServerThread.run(SystemServer.java:744)
I/InputReader(   91): Reconfiguring input devices.  changes=0x00000004
I/InputReader(   91): Device reconfigured: id=0, name='qwerty2', surface size 
is now 720x1280, mode is 1
I/ActivityManager(   91): Config changed: {1.0 310mcc260mnc en_US layoutdir=0 
sw360dp w360dp h592dp nrml port finger qwerty/v/v tball/v s.7}
D/dalvikvm(  623): GC_CONCURRENT freed 184K, 2% free 15113K/15367K, paused 
5ms+11ms
V/OIFM_DirScanner(  623): Scanning directory /mnt/sdcard
V/OIFM_DirScanner(  623): Counting files... (total count=13)
D/AndroidRuntime(  623): Shutting down VM
W/dalvikvm(  623): threadid=1: thread exiting with uncaught exception 
(group=0x409961f8)
E/AndroidRuntime(  623): FATAL EXCEPTION: main
E/AndroidRuntime(  623): java.lang.RuntimeException: Unable to start activity 
ComponentInfo{org.openintents.filemanager/org.openintents.filemanager.FileManage
rActivity}: java.lang.NullPointerException
E/AndroidRuntime(  623):    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1955)
E/AndroidRuntime(  623):    at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1980)
E/AndroidRuntime(  623):    at 
android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3347)
E/AndroidRuntime(  623):    at 
android.app.ActivityThread.access$700(ActivityThread.java:122)
E/AndroidRuntime(  623):    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1150)
E/AndroidRuntime(  623):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(  623):    at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(  623):    at 
android.app.ActivityThread.main(ActivityThread.java:4340)
E/AndroidRuntime(  623):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(  623):    at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(  623):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime(  623):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime(  623):    at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(  623): Caused by: java.lang.NullPointerException
E/AndroidRuntime(  623):    at 
org.openintents.filemanager.FileManagerActivity.onCreateDialog(FileManagerActivi
ty.java:1327)
E/AndroidRuntime(  623):    at 
android.app.Activity.onCreateDialog(Activity.java:2808)
E/AndroidRuntime(  623):    at 
android.app.Activity.createDialog(Activity.java:944)
E/AndroidRuntime(  623):    at 
android.app.Activity.restoreManagedDialogs(Activity.java:933)
E/AndroidRuntime(  623):    at 
android.app.Activity.performRestoreInstanceState(Activity.java:879)
E/AndroidRuntime(  623):    at 
android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.j
ava:1100)
E/AndroidRuntime(  623):    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1933)
E/AndroidRuntime(  623):    ... 12 more
W/ActivityManager(   91):   Force finishing activity 
org.openintents.filemanager/.FileManagerActivity

Original issue reported on code.google.com by rmce...@gmail.com on 30 Dec 2011 at 9:47

GoogleCodeExporter commented 9 years ago

Original comment by peli0...@googlemail.com on 12 Jan 2012 at 10:26

GoogleCodeExporter commented 9 years ago
George Venios submitted a patch at
https://groups.google.com/d/msg/openintents/chRR7GPL_E4/-CfwlJkXf2AJ

Original comment by rmce...@gmail.com on 18 Mar 2012 at 8:56

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r4245.

Original comment by peli0...@googlemail.com on 31 Mar 2012 at 1:02