New 2.12.21 Unfortunately, camera has stopped working


Sep 3, 2012
5
0
11
#1
Device Huawei Honor U8860
Miui 2.12.21
Android version 4.0.3

I get thise error "Unfortunately, camera has stopped working" when I do the following steps.

1. New message.
2. Click on attachment.
3. Choose capture image.
4. Take picture.
5. Click OK.

Then I get the message and this error report.

java.lang.NullPointerException
at android.os.Parcel.readException(Parcel.java:1333)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:181)
at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:146)
at android.content.ContentProviderProxy.openAssetFile(ContentProviderNative.java:545)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:543)
at android.content.ContentResolver.openOutputStream(ContentResolver.java:411)
at android.content.ContentResolver.openOutputStream(ContentResolver.java:387)
at com.android.hwcamera.Camera.doAttach(Camera.java:2956)
at com.android.hwcamera.Camera.onClick(Camera.java:2913)
at android.view.View.performClick(View.java:3519)
at android.view.View$PerformClick.run(View.java:14140)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)
at dalvik.system.NativeStart.main(Native Method)