[AT&T Samsung Galaxy S II SGH-I777] Fahimxda:
following are the error log i received:

app_vercode:17

device_model:galaxys2

build_version:1.11.9

condition:1

processName:com.miui.camera

pid:25532

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/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

I/BootReceiver( 2614): Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)

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

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

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

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

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

W/AudioSystem(25793): AudioFlinger server died!

W/MediaMetadataRetriever(25532): MediaMetadataRetriever server died!

W/IMediaDeathNotifier(25532): media server died

W/MediaMetadataRetriever(25793): MediaMetadataRetriever server died!

W/IMediaDeathNotifier(25793): media server died

W/Camera (25532): Camera server died!

W/Camera (25532): ICamera died

W/MediaMetadataRetriever(24286): MediaMetadataRetriever server died!

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

W/MediaThumbRequest(24286): Can't create mini thumbnail for /mnt/sdcard/DCIM/Camera/20111030_141106.mp4

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

I/SEC_Overlay( 2614): Nothing to do!

E/Camera (25532): Error 100

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

D/dalvikvm( 2614): GC_FOR_MALLOC freed 881K, 30% free 8835K/12611K, external 0K/0K, paused 71ms

W/AudioSystem( 2614): AudioFlinger server died!

W/AudioSystem( 2614): AudioPolicyService server died!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

I/ (27505): ServiceManager: 0xaf98

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

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

I/SEC_Overlay( 2614): Nothing to do!

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

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

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

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

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

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

I/SEC_Overlay( 2614): Nothing to do!

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

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

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

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

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

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

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

V/AudioHardwareYamaha(27505): AudioHardware constructor

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

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

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

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

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

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

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

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

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

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

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

D/AcousticEQ(27505): Band 01

D/AcousticEQ(27505): Band 02

D/AcousticEQ(27505): Band 03

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

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

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

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

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

I/AudioFlinger(27505): AudioFlinger's thread 0x619c8 ready to run

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

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

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

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

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

W/VolumeCustomizer(27505): createVolumeTable device=0

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

W/VolumeCustomizer(27505): createVolumeTable device=1

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

W/VolumeCustomizer(27505): createVolumeTable device=2

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

W/VolumeCustomizer(27505): createVolumeTable device=3

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

W/VolumeCustomizer(27505): createVolumeTable device=4

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

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

I/SEC_Overlay( 2614): Nothing to do!

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

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

I/SEC_Overlay( 2614): Nothing to do!

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

D/SEC_Overlay( 2614): overlay_destroyOverlay:IN dev (0xec220) and overlay (0x557270)

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

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

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

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

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

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

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

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

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

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

D/AndroidRuntime(25532): Shutting down VM

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

E/AndroidRuntime(25532): FATAL EXCEPTION: main

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

I/SEC_Overlay( 2614): Destroying overlay/fd=296/obj=00557270

D/SEC_Overlay( 2614): overlay_destroyOverlay:OUT

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

D/ImageContentProvider(19307): openFile = //data/data/org.koxx.pure_calendar/files/background_widget_3.png

E/AudioService( 2614): Media server died.

E/AudioService( 2614): Media server started.

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

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

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

I/AudioPolicyManager(27505): send volumeIndex(0x2 -> 11) for 1

I/AudioHardwareYamaha(27505): AudioHardware::setParameters(keyValuePairs="music_volume_index=11")

V/AudioHardwareYamaha(27505): AudioHardware::setVoiceVolume(volume=0.800000)

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

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