[AT&T Samsung Galaxy S II SGH-I777] techn:
App still crashing

app_vercode:17

device_model:galaxys2

build_version:1.10.28

condition:1

processName:com.miui.camera

pid:4677

uid:10017

tag:null

shortMsg:java.lang.NullPointerException

longMsg:java.lang.NullPointerException: Unable to start activity ComponentInfo{com.miui.camera/com.miui.camera.Camera}: java.lang.NullPointerException

stackTrace:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.miui.camera/com.miui.camera.Camera}: java.lang.NullPointerException

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1664)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1680)

at android.app.ActivityThread.access$1500(ActivityThread.java:117)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)

at android.os.Handler.dispatchMessage(Handler.java:99)

at android.os.Looper.loop(Looper.java:130)

at android.app.ActivityThread.main(ActivityThread.java:3703)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:507)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)

at dalvik.system.NativeStart.main(Native Method)

Caused by: java.lang.NullPointerException

at com.miui.camera.Global.ensureCameraDevice(Global.java:191)

at com.miui.camera.Camera.onCreate(Camera.java:756)

at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1628)

... 11 more

Detail logs:

--------- beginning of /dev/log/system

--------- beginning of /dev/log/main

I/DEBUG ( 5351): 464a9e1c 00000000

I/DEBUG ( 5351): 464a9e20 00000008

I/DEBUG ( 5351): 464a9e24 00000000

I/DEBUG ( 5351): 464a9e28 00000000

I/DEBUG ( 5351): 464a9e2c 00000000

I/DEBUG ( 5351): 464a9e30 00000000

I/DEBUG ( 5351): 464a9e34 00000000

I/DEBUG ( 5351): 464a9e38 00000000

I/DEBUG ( 5351): 464a9e3c 00078ba8

I/DEBUG ( 5351): 464a9e40 00000000

I/DEBUG ( 5351): 464a9e44 00064c18

I/DEBUG ( 5351): 464a9e48 00079278

I/DEBUG ( 5351): 464a9e4c a340aec3 /system/lib/libstagefright_omx.so

I/DEBUG ( 5351): 464a9e50 000781c0

I/DEBUG ( 5351): 464a9e54 001fe000

I/DEBUG ( 5351): 464a9e58 00000000

I/DEBUG ( 5351): 464a9e5c 00000000

I/DEBUG ( 5351): 464a9e60 00064a48

I/DEBUG ( 5351): 464a9e64 000781c0

I/DEBUG ( 5351): 464a9e68 000781c0

I/DEBUG ( 5351): 464a9e6c 00064c50

I/DEBUG ( 5351): 464a9e70 00078268

I/DEBUG ( 5351): 464a9e74 000782a8

I/DEBUG ( 5351): 464a9e78 00078268

I/DEBUG ( 5351): 464a9e7c 00000001

I/DEBUG ( 5351): 464a9e80 00000000

I/DEBUG ( 5351): 464a9e84 82102edc /system/lib/libOMX.SEC.AVC.Decoder.smdkv310.so

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/PowerManagerService( 2625): reactivateScreenLocksLocked mProxIgnoredBecauseScreenTurnedOff=false

D/PowerManagerService( 2625): reactivateScreenLocksLocked mProxIgnoredBecauseScreenTurnedOff=false

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

I/BootReceiver( 2625): Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)

E/MediaMetadataRetrieverJNI( 4677): getFrameAtTime: videoFrame is a NULL pointer

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

I/ServiceManager( 2527): service 'media.yamahaplayer' died

I/ServiceManager( 2527): service 'media.audio_flinger' died

I/ServiceManager( 2527): service 'media.player' died

I/ServiceManager( 2527): service 'media.camera' died

I/ServiceManager( 2527): service 'media.audio_policy' died

W/AudioSystem( 2625): AudioFlinger server died!

W/AudioSystem( 2625): AudioPolicyService server died!

W/MediaMetadataRetriever( 4677): MediaMetadataRetriever server died!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/PowerManagerService( 2625): reactivateScreenLocksLocked mProxIgnoredBecauseScreenTurnedOff=false

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

D/PowerManagerService( 2625): reactivateScreenLocksLocked mProxIgnoredBecauseScreenTurnedOff=false

I/ActivityManager( 2625): Starting: Intent { flg=0x6000000 cmp=com.miui.camera/.Camera } from pid 4677

D/SEC_Overlay( 2625): dst width, height have changed [w= 450, h= 800] -> [w=448, h= 800]

I/SEC_Overlay( 2625): Nothing to do!

V/com.miui.camera.VideoCamera( 4677): onPause

D/SEC_Overlay( 2625): overlay_destroyOverlay:IN dev (0x17cc90) and overlay (0x3d8068)

V/com.miui.camera.VideoCamera( 4677): stopVideoRecording

V/com.miui.camera.VideoCamera( 4677): Releasing media recorder.

V/com.miui.camera.Global( 4677): closeCamera

V/com.miui.camera.Global( 4677): lock camera

V/com.miui.camera.CameraHolder( 4677): release

V/com.miui.camera.CameraHolder( 4677): users:0

V/com.miui.camera.CameraHolder( 4677): relaseCamera

D/PowerManagerService( 2625): reactivateScreenLocksLocked mProxIgnoredBecauseScreenTurnedOff=false

V/com.miui.camera.Camera( 4677): onCreate

V/com.miui.camera.CameraHolder( 4677): open 0

V/com.miui.camera.CameraHolder( 4677): users:1

I/ServiceManager( 4677): Waiting for service media.camera...

I/SEC_Overlay( 2625): Destroying overlay/fd=191/obj=003d8068

D/SEC_Overlay( 2625): overlay_destroyOverlay:OUT

E/AudioService( 2625): Media server died.

I/ServiceManager( 2625): Waiting for service media.audio_flinger...

I/AlarmManager( 2625): wakelock acquire, uid:10126 at elapsed real time: 313763

I/AlarmManager( 2625): wakelock release, uid:10126 at elapsed real time: 313804

I/ServiceManager( 4677): Waiting for service media.camera...

I/ServiceManager( 2625): Waiting for service media.audio_flinger...

I/ ( 5383): ServiceManager: 0xaf98

E/yamaha::media::ParamFile( 5383): readVolume(/data/system/volume.dat) Error.

V/yamaha::media::UserDep( 5383): UserDep::getRouteInfo(output: audioengine=0, devices=00000000h

V/yamaha::media::UserDep( 5383): incall: onoff=0, devices=00000000h

V/yamaha::media::UserDep( 5383): capture: onoff=0, devices=00000000h, audioSource=0

V/yamaha::media::UserDep( 5383): playback: audio_onoff=0, line_onoff=0)

V/yamaha::media::UserDep( 5383): ALL Off

E/yamaha::media::MixerCtrl( 5383): setVolume() DIR#0:, vol=0.000000dB

E/yamaha::media::MixerCtrl( 5383): setVolume() DIR#0 ATT:, vol=0.000000dB

E/yamaha::media::MixerCtrl( 5383): setVolume() Master:, vol=0.000000dB

E/yamaha::media::MixerCtrl( 5383): setVolume() AD Analog:, vol=0.000000dB

E/yamaha::media::MixerCtrl( 5383): setVolume() Mic 1 Gain:, vol=15.000000dB

E/yamaha::media::MixerCtrl( 5383): setVolume() Mic 2 Gain:, vol=15.000000dB

E/yamaha::media::MixerCtrl( 5383): setVolume() Mic 3 Gain:, vol=15.000000dB

I/ServiceManager( 4677): Waiting for service media.camera...

V/AudioHardwareYamaha( 5383): AudioHardware constructor

V/yamaha::media::CManager( 5383): constructor

V/yamaha::media::CManager( 5383): connect()

V/AudioHardwareYamaha( 5383): libsecril-client.so is loaded

V/AudioHardwareYamaha( 5383): AudioHardware::initCheck()

V/AudioHardwareYamaha( 5383): AudioHardware::initCheck()

V/AudioHardwareYamaha( 5383): AudioHardware::setMode(mode=0)

V/AudioHardwareYamaha( 5383): AudioHardware::setMasterVolume(volume=1.000000)

V/yamaha::media::CManager( 5383): setMasterVolume(volume=1.000000)

I/CameraService( 5383): CameraService started (pid=5383)

V/AudioHardwareYamaha( 5383): AudioHardware::openOutputStream(devices=00000002h)

I/ALSAModule( 5383): Initialized ALSA PLAYBACK device hifi

D/AcousticEQ( 5383): Band 01

D/AcousticEQ( 5383): Band 02

D/AcousticEQ( 5383): Band 03

D/AcousticEQ( 5383): mBandEnable[0] = [1]

D/AcousticEQ( 5383): mBandEnable[1] = [1]

D/AcousticEQ( 5383): mBandEnable[2] = [0]

D/AcousticEQ( 5383): mBandEnable[3] = [0]

D/AcousticEQ( 5383): AM-LITE using mOnOff = [1]

I/AudioFlinger( 5383): AudioFlinger's thread 0x60a20 ready to run

I/AudioHardwareYamaha( 5383): AudioHardware::setDevices(devices=00000002h, mask=0000BFFFh)

V/yamaha::media::CManager( 5383): setDevices(devices=00000002h)

V/AudioHardwareYamaha( 5383): AudioHardware::setVoiceVolume(volume=1.000000)

W/AudioPolicyManagerBase( 5383): getDeviceForStrategy() unknown strategy: 4

W/VolumeCustomizer( 5383): createVolumeTable device=0

I/VolumeCustomizer( 5383): volume tuning file already exist. txt ->> update table

W/VolumeCustomizer( 5383): createVolumeTable device=1

I/VolumeCustomizer( 5383): volume tuning file already exist. txt ->> update table

W/VolumeCustomizer( 5383): createVolumeTable device=2

I/VolumeCustomizer( 5383): volume tuning file already exist. txt ->> update table

W/VolumeCustomizer( 5383): createVolumeTable device=3

I/VolumeCustomizer( 5383): volume tuning file already exist. txt ->> update table

W/VolumeCustomizer( 5383): createVolumeTable device=4

I/VolumeCustomizer( 5383): volume tuning file already exist. txt ->> update table

I/ALSAModule( 5383): Terminated ALSA PLAYBACK device hifi

E/AudioService( 2625): Media server started.

I/AudioHardwareYamaha( 5383): AudioHardware::setParameters(keyValuePairs="restarting=true")

V/AudioHardwareYamaha( 5383): AudioHardware::setMode(mode=0)

W/AudioPolicyManager( 5383): setPhoneState() setting same state 0

I/AudioPolicyManager( 5383): send volumeIndex(0x2 -> 15) for 1

I/AudioHardwareYamaha( 5383): AudioHardware::setParameters(keyValuePairs="music_volume_index=15")

V/AudioHardwareYamaha( 5383): AudioHardware::setVoiceVolume(volume=1.000000)

I/AudioHardwareYamaha( 5383): AudioHardware::setParameters(keyValuePairs="restarting=false")

D/AndroidRuntime( 4677): Shutting down VM

W/dalvikvm( 4677): threadid=1: thread exiting with uncaught exception (group=0x40015568)

E/AndroidRuntime( 4677): FATAL EXCEPTION: main

E/AndroidRuntime( 4677): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.miui.camera/com.miui.camera.Camera}: java.lang.NullPointerException

E/AndroidRuntime( 4677):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1664)

E/AndroidRuntime( 4677):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1680)

E/AndroidRuntime( 4677):	at android.app.ActivityThread.access$1500(ActivityThread.java:117)

E/AndroidRuntime( 4677):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)

E/AndroidRuntime( 4677):	at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime( 4677):	at android.os.Looper.loop(Looper.java:130)

E/AndroidRuntime( 4677):	at android.app.ActivityThread.main(ActivityThread.java:3703)

E/AndroidRuntime( 4677):	at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 4677):	at java.lang.reflect.Method.invoke(Method.java:507)

E/AndroidRuntime( 4677):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)

E/AndroidRuntime( 4677):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)

E/AndroidRuntime( 4677):	at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 4677): Caused by: java.lang.NullPointerException

E/AndroidRuntime( 4677):	at com.miui.camera.Global.ensureCameraDevice(Global.java:191)

E/AndroidRuntime( 4677):	at com.miui.camera.Camera.onCreate(Camera.java:756)

E/AndroidRuntime( 4677):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)

E/AndroidRuntime( 4677):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1628)

E/AndroidRuntime( 4677):	... 11 more

W/ActivityManager( 2625): Force finishing activity com.miui.camera/.Camera

W/ActivityManager( 2625): Activity pause timeout for HistoryRecord{40ebc2b8 com.miui.camera/.Camera}

I/TelephonyRegistry( 2625): notifyServiceState: 0 home AT&T AT&T 310410 (manual) HSPA CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false

V/Mms ( 2925): [1] MmsSystemEventReceiver.java(129): Intent received: Intent { act=android.intent.action.SERVICE_STATE flg=0x20000000 (has extras) }

V/Mms ( 2925): [1] MmsSystemEventReceiver.java(138): ACTION_SERVICE_STATE_CHANGED: 0

I/TelephonyRegistry( 2625): notifyDataConnection: state=2 isDataConnectivityPossible=true reason=null interfaceName=pdp0 networkType=10

D/PowerManagerService( 2625): reactivateScreenLocksLocked mProxIgnoredBecauseScreenTurnedOff=false

D/PowerManagerService( 2625): reactivateScreenLocksLocked mProxIgnoredBecauseScreenTurnedOff=false

I/Process ( 4677): Sending signal. PID: 4677 SIG: 9

I/ActivityManager( 2625): Process com.miui.camera (pid 4677) has died.

I/WindowManager( 2625): WIN DEATH: Window{40e36c18 com.miui.camera/com.miui.camera.VideoCamera paused=false}

I/WindowManager( 2625): WIN DEATH: Window{40e90100 SurfaceView paused=false}