java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.hipswap.test/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException

Appcelerator JIRA | Mauro Parra-Miranda | 5 years ago
  1. 0

    h4. Problem Description When trying to take a picture on an LG Optimus, the app crashes after seeing a preview of the photo and tapping "OK" to use the photo. h4. Actual Results The camera component is crashing the app. h4. Expected Results The camera component shoudl work fine. h4. Steps to reproduce. 1. Create a new mobile App 2. PAste this: {code} var win = Ti.UI.createWindow({ backgroundColor: '#fff', navBarHidden: false, title: 'Test' }); var button = Ti.UI.createButton({ title: 'Post Item' }); button.addEventListener('click', function(e) { var dialog = Ti.UI.createOptionDialog({ options: ['Take a Picture', 'Choose a Picture'], cancel: 2 }); dialog.addEventListener('click', function(e) { if(e.index == 0) { Ti.Media.showCamera({ success: function(e) { alert('media.nativePath: ' + e.media.nativePath); }, cancel: function(e) { Ti.API.info(JSON.stringify(e)); }, error: function(e) { Ti.API.info(JSON.stringify(e)); }, animated: false, autohide: true, saveToPhotoGallery: false, showControls: true }); } else if(e.index == 1) { Ti.Media.openPhotoGallery({ success: function(e) { alert('media.nativePath: ' + e.media.nativePath); }, cancel: function(e) { Ti.API.info(JSON.stringify(e)); }, error: function(e) { Ti.API.info(JSON.stringify(e)); }, mediaTypes: [Ti.Media.MEDIA_TYPE_PHOTO] }); } }); dialog.show(); }); win.add(button); win.open(); {code} h4. Extra info The logcat output: {code} 04-09 10:05:54.359: I/ActivityManager(142): Start proc com.hipswap.test for activity com.hipswap.test/.TestActivity: pid=2006 uid=10056 gids={1006, 1015, 3003} 04-09 10:05:54.369: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -54 len = 13, 13 04-09 10:05:54.369: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:05:54.369: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 04-09 10:05:54.529: I/TiApplication(2006): (main) [0,0] checkpoint, app created. 04-09 10:05:54.649: I/TiApplication(2006): (main) [112,112] Titanium 1.8.0.1 (2011/12/22 13:09 fbdc96f) 04-09 10:05:54.739: I/TiApplication(2006): (main) [93,205] Titanium Javascript runtime: v8 04-09 10:05:54.789: W/TiApplication(2006): (main) [50,255] activity stack is emtpy, unable to get current activity 04-09 10:05:54.789: I/TiRootActivity(2006): (main) [0,0] checkpoint, on root activity create, savedInstanceState: null 04-09 10:05:54.879: W/TiApplication(2006): (main) [87,87] activity stack is emtpy, unable to get current activity 04-09 10:05:54.879: W/TiApplication(2006): (main) [0,87] activity stack is emtpy, unable to get current activity 04-09 10:05:54.879: W/TiApplication(2006): (main) [0,87] activity stack is emtpy, unable to get current activity 04-09 10:05:55.359: E/TiApplication(2006): (KrollRuntimeThread) [485,572] APP PROXY: ti.modules.titanium.app.AppModule@40592c38 04-09 10:05:55.499: I/ActivityManager(142): Starting: Intent { cmp=com.hipswap.test/org.appcelerator.titanium.TiActivity (has extras) } from pid 2006 04-09 10:05:55.709: I/TiRootActivity(2006): (main) [0,0] checkpoint, on root activity resume. activity = com.hipswap.test.TestActivity@40580560 04-09 10:05:55.849: I/ActivityManager(142): Displayed com.hipswap.test/org.appcelerator.titanium.TiActivity: +132ms (total +1s497ms) 04-09 10:05:56.409: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:05:56.409: I/dun_service(101): Post event 1 04-09 10:05:56.409: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:05:56.409: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:05:56.409: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:05:56.409: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:05:56.449: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:05:56.449: I/dun_service(101): Post event 1 04-09 10:05:56.449: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:05:56.449: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:05:56.449: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:05:56.449: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:05:57.379: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096 04-09 10:05:57.389: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -53 len = 13, 13 04-09 10:05:57.389: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:05:57.389: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 04-09 10:05:58.789: W/ActivityManager(142): Activity destroy timeout for HistoryRecord{40841ac8 com.hipswap.test/org.appcelerator.titanium.TiActivity} 04-09 10:05:59.379: I/QualcommCameraHardware(95): Found a matching camera info for ID 0 04-09 10:05:59.379: I/QualcommCameraHardware(95): HAL_getCameraInfo: orientation = 90 04-09 10:05:59.409: I/QualcommCameraHardware(95): openCameraHardware: call createInstance 04-09 10:05:59.409: I/QualcommCameraHardware(95): openCameraHardware:Valid camera ID 0 04-09 10:05:59.409: I/QualcommCameraHardware(95): createInstance: E 04-09 10:05:59.409: I/QualcommCameraHardware(95): QualcommCameraHardware constructor E 04-09 10:05:59.409: I/QualcommCameraHardware(95): createInstance: created hardware=0x8ab10 04-09 10:05:59.419: W/InputManagerService(142): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@408816c8 04-09 10:06:00.009: I/QualcommCameraHardware(95): initDefaultParameters E 04-09 10:06:00.179: E/QualcommCameraHardware(95): Maximum zoom value is 61 04-09 10:06:00.189: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setPreviewFpsRange(const android::CameraParameters&) START 04-09 10:06:00.189: E/CameraParams(95): [smiledice] >> void android::CameraParameters::setPreviewFpsRange(int, int) (min_fps: 7500, max_fps: 30000) START 04-09 10:06:00.189: E/CameraParams(95): [smiledice] << void android::CameraParameters::setPreviewFpsRange(int, int) END 04-09 10:06:00.199: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) START 04-09 10:06:00.199: E/QualcommCameraHardware(95): [smiledice][CHECK 0] zoom_level: 0 04-09 10:06:00.199: E/QualcommCameraHardware(95): [smiledice][CHECK 1] zoom_value: 0 04-09 10:06:00.199: E/QualcommCameraHardware(95): [smiledice][CHECK 2] zoom_value: 0 04-09 10:06:00.199: E/QualcommCameraHardware(95): [smiledice] << android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) END (rc:0) 04-09 10:06:00.199: I/QualcommCameraHardware(95): Parameter Rolloff is not supported for this sensor 04-09 10:06:00.199: I/QualcommCameraHardware(95): Sharpness not supported for this sensor 04-09 10:06:00.199: I/QualcommCameraHardware(95): Saturation not supported for this sensor 04-09 10:06:00.219: E/QualcommCameraHardware(95): [smiledice] [CHECK] android::status_t android::QualcommCameraHardware::setSceneMode(const android::CameraParameters&) END#3 return 04-09 10:06:00.219: E/QualcommCameraHardware(95): Parameter AntiBanding is not supported for this sensor 04-09 10:06:00.219: E/QualcommCameraHardware(95): [smiledice][CHECK] numerator:0, mBrightness:0, brightness:0 04-09 10:06:00.219: I/QualcommCameraHardware(95): Set Brightness not supported for this sensor 04-09 10:06:00.219: I/QualcommCameraHardware(95): Set fps is not supported for this sensor 04-09 10:06:00.219: I/QualcommCameraHardware(95): set fps mode is not supported for this sensor 04-09 10:06:00.219: I/QualcommCameraHardware(95): setFlash: flash not supported 04-09 10:06:00.229: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[0]:0.050000 04-09 10:06:00.229: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[1]:1.100000 04-09 10:06:00.229: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[2]:1.200000 04-09 10:06:00.229: I/QualcommCameraHardware(95): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 0.050000,1.100000,1.200000 04-09 10:06:00.229: E/QualcommCameraHardware(95): native_set_parms failed: type 17 length 1 error No such file or directory 04-09 10:06:00.229: I/QualcommCameraHardware(95): initDefaultParameters X 04-09 10:06:00.229: I/QualcommCameraHardware(95): createInstance: X 04-09 10:06:00.229: I/QualcommCameraHardware(95): Found a matching camera info for ID 0 04-09 10:06:00.229: I/QualcommCameraHardware(95): HAL_getCameraInfo: orientation = 90 04-09 10:06:00.239: E/(95): sniff : mimetype = application/ogg 04-09 10:06:00.259: E/(95): sniff : mimetype = application/ogg 04-09 10:06:00.269: I/QualcommCameraHardware(95): stopPreviewInternal E: 0 04-09 10:06:00.269: I/QualcommCameraHardware(95): stopPreviewInternal X: 0 04-09 10:06:00.269: I/QualcommCameraHardware(95): release E 04-09 10:06:00.269: I/QualcommCameraHardware(95): release: mCameraRunning = 0 04-09 10:06:00.269: I/QualcommCameraHardware(95): release: clearing resources done. 04-09 10:06:00.269: E/CAM_FD(95): config_proc_CAMERA_STOP_SNAPSHOT: ctrl->state = 0 04-09 10:06:00.269: E/CAM_FD(95): config_proc_CAMERA_STOP_SNAPSHOT:1795 vfeStopFn failed! 04-09 10:06:00.269: E/CAM_FD(95): cam_conf: CAMERA_EXIT 04-09 10:06:00.269: I/QualcommCameraHardware(95): release X: mCameraRunning = 0, mFrameThreadRunning = 0 04-09 10:06:00.269: I/QualcommCameraHardware(95): mVideoThreadRunning = 0, mSnapshotThreadRunning = 0, mJpegThreadRunning = 0 04-09 10:06:00.269: I/QualcommCameraHardware(95): camframe_timeout_flag = 0, mAutoFocusThreadRunning = 0 04-09 10:06:00.269: I/QualcommCameraHardware(95): ~QualcommCameraHardware E 04-09 10:06:00.399: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096 04-09 10:06:00.409: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -56 len = 13, 13 04-09 10:06:00.409: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:06:00.409: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 04-09 10:06:00.439: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:06:00.439: I/dun_service(101): Post event 1 04-09 10:06:00.439: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:06:00.439: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:06:00.439: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:06:00.439: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:06:00.459: I/QualcommCameraHardware(95): ~QualcommCameraHardware X 04-09 10:06:00.519: I/ActivityManager(142): Starting: Intent { act=android.media.action.IMAGE_CAPTURE cat=[android.intent.category.DEFAULT] cmp=com.android.camera/.Camera (has extras) } from pid 2006 04-09 10:06:00.529: W/NotificationService(142): updateLightsLocked() : mLedNotification=null|mScreenOn=true|mNotificationPulseEnabled=true 04-09 10:06:00.529: D/NotificationService(142): updateLightsLocked() : mScreenOn=true|mNotificationPulseEnabled=true|mBatteryCharging=true 04-09 10:06:00.529: D/NotificationService(142): updateLightsLocked() : mBatteryCharging Screen On & !!!!!mBatteryFull & Notification disable 04-09 10:06:00.539: I/WindowManager(142): Setting rotation to 1, animFlags=1 04-09 10:06:00.539: I/ActivityManager(142): Config changed: { scale=1.0 imsi=311/490 loc=en_US touch=3 keys=2/1/2 nav=2/1 orien=2 layout=18 uiMode=17 seq=28} 04-09 10:06:00.549: D/PhoneApp(233): updateProximitySensorMode: state = IDLE 04-09 10:06:00.549: D/PhoneApp(233): updateProximitySensorMode: lock already released. 04-09 10:06:00.679: V/CameraHolder(1330): open camera 0 04-09 10:06:00.679: I/QualcommCameraHardware(95): openCameraHardware: call createInstance 04-09 10:06:00.679: I/QualcommCameraHardware(95): openCameraHardware:Valid camera ID 0 04-09 10:06:00.679: I/QualcommCameraHardware(95): createInstance: E 04-09 10:06:00.679: I/QualcommCameraHardware(95): QualcommCameraHardware constructor E 04-09 10:06:00.679: I/QualcommCameraHardware(95): createInstance: created hardware=0x8aaf0 04-09 10:06:01.319: I/QualcommCameraHardware(95): initDefaultParameters E 04-09 10:06:01.479: E/QualcommCameraHardware(95): Maximum zoom value is 61 04-09 10:06:01.499: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setPreviewFpsRange(const android::CameraParameters&) START 04-09 10:06:01.499: E/CameraParams(95): [smiledice] >> void android::CameraParameters::setPreviewFpsRange(int, int) (min_fps: 7500, max_fps: 30000) START 04-09 10:06:01.499: E/CameraParams(95): [smiledice] << void android::CameraParameters::setPreviewFpsRange(int, int) END 04-09 10:06:01.549: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) START 04-09 10:06:01.549: E/QualcommCameraHardware(95): [smiledice][CHECK 0] zoom_level: 0 04-09 10:06:01.549: E/QualcommCameraHardware(95): [smiledice][CHECK 1] zoom_value: 0 04-09 10:06:01.549: E/QualcommCameraHardware(95): [smiledice][CHECK 2] zoom_value: 0 04-09 10:06:01.549: E/QualcommCameraHardware(95): [smiledice] << android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) END (rc:0) 04-09 10:06:01.549: I/QualcommCameraHardware(95): Parameter Rolloff is not supported for this sensor 04-09 10:06:01.549: I/QualcommCameraHardware(95): Sharpness not supported for this sensor 04-09 10:06:01.549: I/QualcommCameraHardware(95): Saturation not supported for this sensor 04-09 10:06:01.559: E/QualcommCameraHardware(95): [smiledice] [CHECK] android::status_t android::QualcommCameraHardware::setSceneMode(const android::CameraParameters&) END#3 return 04-09 10:06:01.559: E/QualcommCameraHardware(95): Parameter AntiBanding is not supported for this sensor 04-09 10:06:01.559: E/QualcommCameraHardware(95): [smiledice][CHECK] numerator:0, mBrightness:0, brightness:0 04-09 10:06:01.559: I/QualcommCameraHardware(95): Set Brightness not supported for this sensor 04-09 10:06:01.559: I/QualcommCameraHardware(95): Set fps is not supported for this sensor 04-09 10:06:01.559: I/QualcommCameraHardware(95): set fps mode is not supported for this sensor 04-09 10:06:01.559: I/QualcommCameraHardware(95): setFlash: flash not supported 04-09 10:06:01.559: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[0]:0.050000 04-09 10:06:01.559: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[1]:1.100000 04-09 10:06:01.559: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[2]:1.200000 04-09 10:06:01.559: I/QualcommCameraHardware(95): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 0.050000,1.100000,1.200000 04-09 10:06:01.559: E/QualcommCameraHardware(95): native_set_parms failed: type 17 length 1 error No such file or directory 04-09 10:06:01.569: I/QualcommCameraHardware(95): initDefaultParameters X 04-09 10:06:01.569: I/QualcommCameraHardware(95): createInstance: X 04-09 10:06:01.569: I/QualcommCameraHardware(95): Found a matching camera info for ID 0 04-09 10:06:01.569: I/QualcommCameraHardware(95): HAL_getCameraInfo: orientation = 90 04-09 10:06:01.579: E/(95): sniff : mimetype = application/ogg 04-09 10:06:01.589: E/(95): sniff : mimetype = application/ogg 04-09 10:06:01.619: I/QualcommCameraHardware(95): Found a matching camera info for ID 0 04-09 10:06:01.619: I/QualcommCameraHardware(95): HAL_getCameraInfo: orientation = 90 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setPreviewFpsRange(const android::CameraParameters&) START 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice] << android::status_t android::QualcommCameraHardware::setPreviewFpsRange(const android::CameraParameters&) END#1 return NO_ERROR 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) START 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice][CHECK 0] zoom_level: 0 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice][CHECK 1] zoom_value: 0 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice][CHECK 2] zoom_value: 0 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice] << android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) END (rc:0) 04-09 10:06:01.629: I/QualcommCameraHardware(95): Parameter Rolloff is not supported for this sensor 04-09 10:06:01.629: I/QualcommCameraHardware(95): Sharpness not supported for this sensor 04-09 10:06:01.629: I/QualcommCameraHardware(95): Saturation not supported for this sensor 04-09 10:06:01.629: E/QualcommCameraHardware(95): Parameter AntiBanding is not supported for this sensor 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice][CHECK] numerator:0, mBrightness:0, brightness:0 04-09 10:06:01.629: I/QualcommCameraHardware(95): Set Brightness not supported for this sensor 04-09 10:06:01.629: I/QualcommCameraHardware(95): Set fps is not supported for this sensor 04-09 10:06:01.629: I/QualcommCameraHardware(95): set fps mode is not supported for this sensor 04-09 10:06:01.629: I/QualcommCameraHardware(95): setFlash: flash not supported 04-09 10:06:01.629: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[0]:0.050000 04-09 10:06:01.629: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[1]:1.100000 04-09 10:06:01.629: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[2]:1.200000 04-09 10:06:01.629: I/QualcommCameraHardware(95): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 0.050000,1.100000,1.200000 04-09 10:06:01.629: E/QualcommCameraHardware(95): native_set_parms failed: type 17 length 1 error No such file or directory 04-09 10:06:01.639: V/camera(1330): startPreview 04-09 10:06:01.639: I/QualcommCameraHardware(95): constructing MemPool preview backed by pmem pool /dev/pmem_adsp: 8 frames @ 225792 bytes, buffer size 225792 04-09 10:06:01.639: I/QualcommCameraHardware(95): PmemPool: (preview) X 04-09 10:06:01.639: I/QualcommCameraHardware(95): preview_thread E 04-09 10:06:01.849: I/ActivityManager(142): Displayed com.android.camera/.Camera: +1s308ms 04-09 10:06:01.909: E/AmitSensors(142): sensors_poll_context_t: activate() index(1), enabled(1) 04-09 10:06:01.909: E/(142): AmiSensor::enable() 04-09 10:06:01.909: E/(142): what = 0, mEnabled, en = 1 , 1 04-09 10:06:01.909: E/(142): AmiSensor::update_delay() mEnabled =1 04-09 10:06:01.909: E/(142): AmiSensor::update_delay() = 0 -leave 04-09 10:06:01.909: W/IInputConnectionWrapper(2006): showStatusIcon on inactive InputConnection 04-09 10:06:01.909: E/(142): AmiSensor::update_delay() mEnabled =1 04-09 10:06:01.909: E/(142): AmiSensor::update_delay() = 0 -leave 04-09 10:06:01.919: I/QualcommCameraHardware(95): Found a matching camera info for ID 0 04-09 10:06:01.919: I/QualcommCameraHardware(95): HAL_getCameraInfo: orientation = 90 04-09 10:06:02.019: E/MenuHelper(1330): calculatePicturesRemaining=2857.9358 04-09 10:06:02.099: E/RotateTextView(1330): mClockwise=true 04-09 10:06:02.129: V/GLRootView(1330): onSurfaceChanged: 396x297, gl10: com.google.android.gles_jni.GLImpl@40530398 04-09 10:06:02.129: V/GLRootView(1330): layout content pane 396x297 04-09 10:06:02.459: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:06:02.459: I/dun_service(101): Post event 1 04-09 10:06:02.459: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:06:02.459: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:06:02.459: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:06:02.459: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:06:03.419: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096 04-09 10:06:03.439: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -51 len = 13, 13 04-09 10:06:03.499: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:06:03.509: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 04-09 10:06:05.479: E/CAM_FD(95): cam_conf: In config thread 04-09 10:06:06.479: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:06:06.489: I/dun_service(101): Post event 1 04-09 10:06:06.489: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:06:06.489: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:06:06.489: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:06:06.489: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:06:06.509: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096 04-09 10:06:06.519: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -56 len = 13, 13 04-09 10:06:06.519: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:06:06.519: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 04-09 10:06:07.359: V/camera(1330): the keydown is pressed first time 04-09 10:06:07.369: V/camera(1330): Start autofocus. 04-09 10:06:07.409: V/camera(1330): doSnap: mFocusState=1 04-09 10:06:07.559: V/camera(1330): the keyup is pressed first time 04-09 10:06:08.489: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[0]:0.050000 04-09 10:06:08.489: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[1]:0.400000 04-09 10:06:08.489: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[2]:1.200000 04-09 10:06:08.489: I/QualcommCameraHardware(95): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 0.050000,0.400000,1.200000 04-09 10:06:08.489: E/Camera(1330): msgType = 4 04-09 10:06:08.489: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:06:08.489: I/dun_service(101): Post event 1 04-09 10:06:08.489: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:06:08.489: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:06:08.489: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:06:08.489: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:06:08.499: E/camera(1330): <PROFILE> mAutoFocusTime = 1122ms 04-09 10:06:08.499: E/camera(1330): datetime : 2012:04:09 10:06:08 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setPreviewFpsRange(const android::CameraParameters&) START 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice] << android::status_t android::QualcommCameraHardware::setPreviewFpsRange(const android::CameraParameters&) END#1 return NO_ERROR 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) START 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice][CHECK 0] zoom_level: 0 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice][CHECK 1] zoom_value: 0 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice][CHECK 2] zoom_value: 0 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice] << android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) END (rc:0) 04-09 10:06:08.509: I/QualcommCameraHardware(95): Parameter Rolloff is not supported for this sensor 04-09 10:06:08.509: I/QualcommCameraHardware(95): Sharpness not supported for this sensor 04-09 10:06:08.509: I/QualcommCameraHardware(95): Saturation not supported for this sensor 04-09 10:06:08.509: E/QualcommCameraHardware(95): Parameter AntiBanding is not supported for this sensor 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice][CHECK] numerator:0, mBrightness:0, brightness:0 04-09 10:06:08.509: I/QualcommCameraHardware(95): Set Brightness not supported for this sensor 04-09 10:06:08.509: I/QualcommCameraHardware(95): Set fps is not supported for this sensor 04-09 10:06:08.509: I/QualcommCameraHardware(95): set fps mode is not supported for this sensor 04-09 10:06:08.509: I/QualcommCameraHardware(95): setFlash: flash not supported 04-09 10:06:08.519: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[0]:0.050000 04-09 10:06:08.519: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[1]:0.400000 04-09 10:06:08.519: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[2]:1.200000 04-09 10:06:08.519: I/QualcommCameraHardware(95): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 0.050000,0.400000,1.200000 04-09 10:06:08.519: E/QualcommCameraHardware(95): native_set_parms failed: type 17 length 1 error No such file or directory 04-09 10:06:08.519: I/QualcommCameraHardware(95): stopPreviewInternal E: 1 04-09 10:06:08.569: I/QualcommCameraHardware(95): deinitPreview E 04-09 10:06:08.569: I/QualcommCameraHardware(95): deinitPreview X 04-09 10:06:08.569: I/QualcommCameraHardware(95): stopPreviewInternal X: 0 04-09 10:06:08.569: I/QualcommCameraHardware(95): preview_thread X 04-09 10:06:08.569: I/QualcommCameraHardware(95): ~PmemPool: preview E 04-09 10:06:08.569: I/QualcommCameraHardware(95): ~PmemPool: preview X 04-09 10:06:08.569: I/QualcommCameraHardware(95): constructing MemPool snapshot camera backed by pmem pool /dev/pmem_adsp: 1 frames @ 4718592 bytes, buffer size 4718592 04-09 10:06:08.569: I/QualcommCameraHardware(95): PmemPool: (snapshot camera) X 04-09 10:06:08.569: I/QualcommCameraHardware(95): constructing MemPool thumbnail backed by pmem pool /dev/pmem_adsp: 1 frames @ 225792 bytes, buffer size 225792 04-09 10:06:08.569: I/QualcommCameraHardware(95): PmemPool: (thumbnail) X 04-09 10:06:08.859: E/CameraService(95): mCurPos(0) 04-09 10:06:08.859: E/AwesomePlayer(95): AudioPlayer created, Non-LPA mode mime audio/vorbis duration 645145 04-09 10:06:08.859: E/Camera(1330): msgType = 2 04-09 10:06:08.859: V/camera(1330): mShutterLag = 361ms 04-09 10:06:09.059: W/AudioFlinger(95): write blocked for 163 msecs, 13 delayed writes, thread 0xcd98 04-09 10:06:09.139: V/camera(1330): mShutterToRawCallbackTime = 279ms 04-09 10:06:09.139: E/camera(1330): <PROFILE> Snapshot to Thumb Latency = 1731 ms 04-09 10:06:09.139: E/QualcommCameraHardware(95): [smiledice][CHECK] addExifTag(EXIFTAGID_ISO_SPEED_RATINGS, EXIF_SHORT, 1, 0, 50) 04-09 10:06:09.139: E/QualcommCameraHardware(95): [smiledice][CHECK] ISO type == EXIF at addExifTag() 04-09 10:06:09.529: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096 04-09 10:06:09.539: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -58 len = 13, 13 04-09 10:06:09.539: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:06:09.539: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 04-09 10:06:10.399: I/QualcommCameraHardware(95): ~PmemPool: snapshot camera E 04-09 10:06:10.399: I/QualcommCameraHardware(95): ~PmemPool: snapshot camera X 04-09 10:06:10.399: I/QualcommCameraHardware(95): ~PmemPool: thumbnail E 04-09 10:06:10.399: I/QualcommCameraHardware(95): ~PmemPool: thumbnail X 04-09 10:06:10.439: V/camera(1330): mPictureDisplayedToJpegCallbackTime = 1299ms 04-09 10:06:10.439: E/camera(1330): <PROFILE> Snapshot to Snapshot Latency = 3030 ms 04-09 10:06:10.439: I/QualcommCameraHardware(95): Found a matching camera info for ID 0 04-09 10:06:10.439: I/QualcommCameraHardware(95): HAL_getCameraInfo: orientation = 90 04-09 10:06:10.539: E/MenuHelper(1330): calculatePicturesRemaining=2857.9358 04-09 10:06:10.549: V/camera(1330): mJpegCallbackFinishTime = 106ms 04-09 10:06:11.589: E/camera(1330): Stop Histogram if enabled 04-09 10:06:11.589: E/camera(1330): stopPreview 04-09 10:06:11.589: I/QualcommCameraHardware(95): stopPreviewInternal E: 0 04-09 10:06:11.589: I/QualcommCameraHardware(95): stopPreviewInternal X: 0 04-09 10:06:11.589: I/QualcommCameraHardware(95): stopPreviewInternal E: 0 04-09 10:06:11.589: I/QualcommCameraHardware(95): stopPreviewInternal X: 0 04-09 10:06:11.589: I/QualcommCameraHardware(95): release E 04-09 10:06:11.589: I/QualcommCameraHardware(95): release: mCameraRunning = 0 04-09 10:06:11.589: I/QualcommCameraHardware(95): release: clearing resources done. 04-09 10:06:11.589: E/CAM_FD(95): config_proc_CAMERA_STOP_SNAPSHOT: ctrl->state = 13 04-09 10:06:11.589: E/CAM_FD(95): cam_conf: CAMERA_EXIT 04-09 10:06:11.609: I/QualcommCameraHardware(95): release X: mCameraRunning = 0, mFrameThreadRunning = 0 04-09 10:06:11.609: I/QualcommCameraHardware(95): mVideoThreadRunning = 0, mSnapshotThreadRunning = 0, mJpegThreadRunning = 0 04-09 10:06:11.609: I/QualcommCameraHardware(95): camframe_timeout_flag = 0, mAutoFocusThreadRunning = 0 04-09 10:06:11.609: I/QualcommCameraHardware(95): ~QualcommCameraHardware E 04-09 10:06:11.779: I/QualcommCameraHardware(95): ~QualcommCameraHardware X 04-09 10:06:11.789: I/WindowManager(142): Setting rotation to 0, animFlags=1 04-09 10:06:11.819: I/ActivityManager(142): Config changed: { scale=1.0 imsi=311/490 loc=en_US touch=3 keys=2/1/2 nav=2/1 orien=1 layout=18 uiMode=17 seq=29} 04-09 10:06:11.829: D/PhoneApp(233): updateProximitySensorMode: state = IDLE 04-09 10:06:11.829: D/PhoneApp(233): updateProximitySensorMode: lock already released. 04-09 10:06:11.899: E/(142): AmiSensor::update_delay() mEnabled =1 04-09 10:06:11.899: E/(142): AmiSensor::update_delay() = 0 -leave 04-09 10:06:11.939: W/dalvikvm(2006): threadid=1: thread exiting with uncaught exception (group=0x40018560) 04-09 10:06:11.939: E/TiApplication(2006): (main) [16233,16233] Sending event: exception on thread: main msg:java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.hipswap.test/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException; Titanium 1.8.0.1,2011/12/22 13:09,fbdc96f 04-09 10:06:11.939: E/TiApplication(2006): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.hipswap.test/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException 04-09 10:06:11.939: E/TiApplication(2006): at android.app.ActivityThread.deliverResults(ActivityThread.java:2532) 04-09 10:06:11.939: E/TiApplication(2006): at android.app.ActivityThread.handleSendResult(ActivityThread.java:2574) 04-09 10:06:11.939: E/TiApplication(2006): at android.app.ActivityThread.access$2000(ActivityThread.java:117) 04-09 10:06:11.939: E/TiApplication(2006): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:961) 04-09 10:06:11.939: E/TiApplication(2006): at android.os.Handler.dispatchMessage(Handler.java:99) 04-09 10:06:11.939: E/TiApplication(2006): at android.os.Looper.loop(Looper.java:130) 04-09 10:06:11.939: E/TiApplication(2006): at android.app.ActivityThread.main(ActivityThread.java:3683) 04-09 10:06:11.939: E/TiApplication(2006): at java.lang.reflect.Method.invokeNative(Native Method) 04-09 10:06:11.939: E/TiApplication(2006): at java.lang.reflect.Method.invoke(Method.java:507) 04-09 10:06:11.939: E/TiApplication(2006): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864) 04-09 10:06:11.939: E/TiApplication(2006): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622) 04-09 10:06:11.939: E/TiApplication(2006): at dalvik.system.NativeStart.main(Native Method) 04-09 10:06:11.939: E/TiApplication(2006): Caused by: java.lang.NullPointerException 04-09 10:06:11.939: E/TiApplication(2006): at android.content.ContentResolver.acquireProvider(ContentResolver.java:743) 04-09 10:06:11.939: E/TiApplication(2006): at android.content.ContentResolver.query(ContentResolver.java:256) 04-09 10:06:11.939: E/TiApplication(2006): at ti.modules.titanium.media.MediaModule$CameraResultHandler.onResult(MediaModule.java:338) 04-09 10:06:11.939: E/TiApplication(2006): at org.appcelerator.titanium.util.TiActivitySupportHelper$1.onResult(TiActivitySupportHelper.java:51) 04-09 10:06:11.939: E/TiApplication(2006): at org.appcelerator.titanium.util.TiActivitySupportHelper.onActivityResult(TiActivitySupportHelper.java:67) 04-09 10:06:11.939: E/TiApplication(2006): at org.appcelerator.titanium.TiBaseActivity.onActivityResult(TiBaseActivity.java:423) 04-09 10:06:11.939: E/TiApplication(2006): at android.app.Activity.dispatchActivityResult(Activity.java:3908) 04-09 10:06:11.939: E/TiApplication(2006): at android.app.ActivityThread.deliverResults(ActivityThread.java:2528) 04-09 10:06:11.939: E/TiApplication(2006): ... 11 more 04-09 10:06:11.969: E/RotateTextView(1330): mClockwise=false 04-09 10:06:12.029: E/AndroidRuntime(2006): FATAL EXCEPTION: main 04-09 10:06:12.029: E/AndroidRuntime(2006): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.hipswap.test/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.app.ActivityThread.deliverResults(ActivityThread.java:2532) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.app.ActivityThread.handleSendResult(ActivityThread.java:2574) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.app.ActivityThread.access$2000(ActivityThread.java:117) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:961) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.os.Handler.dispatchMessage(Handler.java:99) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.os.Looper.loop(Looper.java:130) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.app.ActivityThread.main(ActivityThread.java:3683) 04-09 10:06:12.029: E/AndroidRuntime(2006): at java.lang.reflect.Method.invokeNative(Native Method) 04-09 10:06:12.029: E/AndroidRuntime(2006): at java.lang.reflect.Method.invoke(Method.java:507) 04-09 10:06:12.029: E/AndroidRuntime(2006): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864) 04-09 10:06:12.029: E/AndroidRuntime(2006): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622) 04-09 10:06:12.029: E/AndroidRuntime(2006): at dalvik.system.NativeStart.main(Native Method) 04-09 10:06:12.029: E/AndroidRuntime(2006): Caused by: java.lang.NullPointerException 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.content.ContentResolver.acquireProvider(ContentResolver.java:743) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.content.ContentResolver.query(ContentResolver.java:256) 04-09 10:06:12.029: E/AndroidRuntime(2006): at ti.modules.titanium.media.MediaModule$CameraResultHandler.onResult(MediaModule.java:338) 04-09 10:06:12.029: E/AndroidRuntime(2006): at org.appcelerator.titanium.util.TiActivitySupportHelper$1.onResult(TiActivitySupportHelper.java:51) 04-09 10:06:12.029: E/AndroidRuntime(2006): at org.appcelerator.titanium.util.TiActivitySupportHelper.onActivityResult(TiActivitySupportHelper.java:67) 04-09 10:06:12.029: E/AndroidRuntime(2006): at org.appcelerator.titanium.TiBaseActivity.onActivityResult(TiBaseActivity.java:423) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.app.Activity.dispatchActivityResult(Activity.java:3908) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.app.ActivityThread.deliverResults(ActivityThread.java:2528) 04-09 10:06:12.029: E/AndroidRuntime(2006): ... 11 more 04-09 10:06:12.039: W/ActivityManager(142): Force finishing activity com.hipswap.test/org.appcelerator.titanium.TiActivity 04-09 10:06:12.519: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:06:12.519: I/dun_service(101): Post event 1 04-09 10:06:12.519: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:06:12.519: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:06:12.519: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:06:12.519: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:06:12.539: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096 04-09 10:06:12.539: W/ActivityManager(142): Activity pause timeout for HistoryRecord{408b5ea0 com.hipswap.test/org.appcelerator.titanium.TiActivity} 04-09 10:06:12.549: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -60 len = 13, 13 04-09 10:06:12.549: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:06:12.549: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 04-09 10:06:14.539: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:06:14.539: I/dun_service(101): Post event 1 04-09 10:06:14.539: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:06:14.539: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:06:14.539: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:06:14.539: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:06:15.559: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096 04-09 10:06:15.569: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -59 len = 13, 13 04-09 10:06:15.569: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:06:15.569: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 {code} h4. HD Discussion http://support-admin.appcelerator.com/display/APP-655128 h4. Extra info Maybe related to this: https://jira.appcelerator.org/browse/TIMOB-4899

    Appcelerator JIRA | 5 years ago | Mauro Parra-Miranda
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.hipswap.test/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException
  2. 0

    h4. Problem Description When trying to take a picture on an LG Optimus, the app crashes after seeing a preview of the photo and tapping "OK" to use the photo. h4. Actual Results The camera component is crashing the app. h4. Expected Results The camera component shoudl work fine. h4. Steps to reproduce. 1. Create a new mobile App 2. PAste this: {code} var win = Ti.UI.createWindow({ backgroundColor: '#fff', navBarHidden: false, title: 'Test' }); var button = Ti.UI.createButton({ title: 'Post Item' }); button.addEventListener('click', function(e) { var dialog = Ti.UI.createOptionDialog({ options: ['Take a Picture', 'Choose a Picture'], cancel: 2 }); dialog.addEventListener('click', function(e) { if(e.index == 0) { Ti.Media.showCamera({ success: function(e) { alert('media.nativePath: ' + e.media.nativePath); }, cancel: function(e) { Ti.API.info(JSON.stringify(e)); }, error: function(e) { Ti.API.info(JSON.stringify(e)); }, animated: false, autohide: true, saveToPhotoGallery: false, showControls: true }); } else if(e.index == 1) { Ti.Media.openPhotoGallery({ success: function(e) { alert('media.nativePath: ' + e.media.nativePath); }, cancel: function(e) { Ti.API.info(JSON.stringify(e)); }, error: function(e) { Ti.API.info(JSON.stringify(e)); }, mediaTypes: [Ti.Media.MEDIA_TYPE_PHOTO] }); } }); dialog.show(); }); win.add(button); win.open(); {code} h4. Extra info The logcat output: {code} 04-09 10:05:54.359: I/ActivityManager(142): Start proc com.hipswap.test for activity com.hipswap.test/.TestActivity: pid=2006 uid=10056 gids={1006, 1015, 3003} 04-09 10:05:54.369: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -54 len = 13, 13 04-09 10:05:54.369: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:05:54.369: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 04-09 10:05:54.529: I/TiApplication(2006): (main) [0,0] checkpoint, app created. 04-09 10:05:54.649: I/TiApplication(2006): (main) [112,112] Titanium 1.8.0.1 (2011/12/22 13:09 fbdc96f) 04-09 10:05:54.739: I/TiApplication(2006): (main) [93,205] Titanium Javascript runtime: v8 04-09 10:05:54.789: W/TiApplication(2006): (main) [50,255] activity stack is emtpy, unable to get current activity 04-09 10:05:54.789: I/TiRootActivity(2006): (main) [0,0] checkpoint, on root activity create, savedInstanceState: null 04-09 10:05:54.879: W/TiApplication(2006): (main) [87,87] activity stack is emtpy, unable to get current activity 04-09 10:05:54.879: W/TiApplication(2006): (main) [0,87] activity stack is emtpy, unable to get current activity 04-09 10:05:54.879: W/TiApplication(2006): (main) [0,87] activity stack is emtpy, unable to get current activity 04-09 10:05:55.359: E/TiApplication(2006): (KrollRuntimeThread) [485,572] APP PROXY: ti.modules.titanium.app.AppModule@40592c38 04-09 10:05:55.499: I/ActivityManager(142): Starting: Intent { cmp=com.hipswap.test/org.appcelerator.titanium.TiActivity (has extras) } from pid 2006 04-09 10:05:55.709: I/TiRootActivity(2006): (main) [0,0] checkpoint, on root activity resume. activity = com.hipswap.test.TestActivity@40580560 04-09 10:05:55.849: I/ActivityManager(142): Displayed com.hipswap.test/org.appcelerator.titanium.TiActivity: +132ms (total +1s497ms) 04-09 10:05:56.409: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:05:56.409: I/dun_service(101): Post event 1 04-09 10:05:56.409: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:05:56.409: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:05:56.409: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:05:56.409: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:05:56.449: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:05:56.449: I/dun_service(101): Post event 1 04-09 10:05:56.449: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:05:56.449: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:05:56.449: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:05:56.449: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:05:57.379: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096 04-09 10:05:57.389: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -53 len = 13, 13 04-09 10:05:57.389: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:05:57.389: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 04-09 10:05:58.789: W/ActivityManager(142): Activity destroy timeout for HistoryRecord{40841ac8 com.hipswap.test/org.appcelerator.titanium.TiActivity} 04-09 10:05:59.379: I/QualcommCameraHardware(95): Found a matching camera info for ID 0 04-09 10:05:59.379: I/QualcommCameraHardware(95): HAL_getCameraInfo: orientation = 90 04-09 10:05:59.409: I/QualcommCameraHardware(95): openCameraHardware: call createInstance 04-09 10:05:59.409: I/QualcommCameraHardware(95): openCameraHardware:Valid camera ID 0 04-09 10:05:59.409: I/QualcommCameraHardware(95): createInstance: E 04-09 10:05:59.409: I/QualcommCameraHardware(95): QualcommCameraHardware constructor E 04-09 10:05:59.409: I/QualcommCameraHardware(95): createInstance: created hardware=0x8ab10 04-09 10:05:59.419: W/InputManagerService(142): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@408816c8 04-09 10:06:00.009: I/QualcommCameraHardware(95): initDefaultParameters E 04-09 10:06:00.179: E/QualcommCameraHardware(95): Maximum zoom value is 61 04-09 10:06:00.189: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setPreviewFpsRange(const android::CameraParameters&) START 04-09 10:06:00.189: E/CameraParams(95): [smiledice] >> void android::CameraParameters::setPreviewFpsRange(int, int) (min_fps: 7500, max_fps: 30000) START 04-09 10:06:00.189: E/CameraParams(95): [smiledice] << void android::CameraParameters::setPreviewFpsRange(int, int) END 04-09 10:06:00.199: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) START 04-09 10:06:00.199: E/QualcommCameraHardware(95): [smiledice][CHECK 0] zoom_level: 0 04-09 10:06:00.199: E/QualcommCameraHardware(95): [smiledice][CHECK 1] zoom_value: 0 04-09 10:06:00.199: E/QualcommCameraHardware(95): [smiledice][CHECK 2] zoom_value: 0 04-09 10:06:00.199: E/QualcommCameraHardware(95): [smiledice] << android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) END (rc:0) 04-09 10:06:00.199: I/QualcommCameraHardware(95): Parameter Rolloff is not supported for this sensor 04-09 10:06:00.199: I/QualcommCameraHardware(95): Sharpness not supported for this sensor 04-09 10:06:00.199: I/QualcommCameraHardware(95): Saturation not supported for this sensor 04-09 10:06:00.219: E/QualcommCameraHardware(95): [smiledice] [CHECK] android::status_t android::QualcommCameraHardware::setSceneMode(const android::CameraParameters&) END#3 return 04-09 10:06:00.219: E/QualcommCameraHardware(95): Parameter AntiBanding is not supported for this sensor 04-09 10:06:00.219: E/QualcommCameraHardware(95): [smiledice][CHECK] numerator:0, mBrightness:0, brightness:0 04-09 10:06:00.219: I/QualcommCameraHardware(95): Set Brightness not supported for this sensor 04-09 10:06:00.219: I/QualcommCameraHardware(95): Set fps is not supported for this sensor 04-09 10:06:00.219: I/QualcommCameraHardware(95): set fps mode is not supported for this sensor 04-09 10:06:00.219: I/QualcommCameraHardware(95): setFlash: flash not supported 04-09 10:06:00.229: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[0]:0.050000 04-09 10:06:00.229: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[1]:1.100000 04-09 10:06:00.229: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[2]:1.200000 04-09 10:06:00.229: I/QualcommCameraHardware(95): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 0.050000,1.100000,1.200000 04-09 10:06:00.229: E/QualcommCameraHardware(95): native_set_parms failed: type 17 length 1 error No such file or directory 04-09 10:06:00.229: I/QualcommCameraHardware(95): initDefaultParameters X 04-09 10:06:00.229: I/QualcommCameraHardware(95): createInstance: X 04-09 10:06:00.229: I/QualcommCameraHardware(95): Found a matching camera info for ID 0 04-09 10:06:00.229: I/QualcommCameraHardware(95): HAL_getCameraInfo: orientation = 90 04-09 10:06:00.239: E/(95): sniff : mimetype = application/ogg 04-09 10:06:00.259: E/(95): sniff : mimetype = application/ogg 04-09 10:06:00.269: I/QualcommCameraHardware(95): stopPreviewInternal E: 0 04-09 10:06:00.269: I/QualcommCameraHardware(95): stopPreviewInternal X: 0 04-09 10:06:00.269: I/QualcommCameraHardware(95): release E 04-09 10:06:00.269: I/QualcommCameraHardware(95): release: mCameraRunning = 0 04-09 10:06:00.269: I/QualcommCameraHardware(95): release: clearing resources done. 04-09 10:06:00.269: E/CAM_FD(95): config_proc_CAMERA_STOP_SNAPSHOT: ctrl->state = 0 04-09 10:06:00.269: E/CAM_FD(95): config_proc_CAMERA_STOP_SNAPSHOT:1795 vfeStopFn failed! 04-09 10:06:00.269: E/CAM_FD(95): cam_conf: CAMERA_EXIT 04-09 10:06:00.269: I/QualcommCameraHardware(95): release X: mCameraRunning = 0, mFrameThreadRunning = 0 04-09 10:06:00.269: I/QualcommCameraHardware(95): mVideoThreadRunning = 0, mSnapshotThreadRunning = 0, mJpegThreadRunning = 0 04-09 10:06:00.269: I/QualcommCameraHardware(95): camframe_timeout_flag = 0, mAutoFocusThreadRunning = 0 04-09 10:06:00.269: I/QualcommCameraHardware(95): ~QualcommCameraHardware E 04-09 10:06:00.399: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096 04-09 10:06:00.409: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -56 len = 13, 13 04-09 10:06:00.409: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:06:00.409: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 04-09 10:06:00.439: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:06:00.439: I/dun_service(101): Post event 1 04-09 10:06:00.439: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:06:00.439: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:06:00.439: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:06:00.439: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:06:00.459: I/QualcommCameraHardware(95): ~QualcommCameraHardware X 04-09 10:06:00.519: I/ActivityManager(142): Starting: Intent { act=android.media.action.IMAGE_CAPTURE cat=[android.intent.category.DEFAULT] cmp=com.android.camera/.Camera (has extras) } from pid 2006 04-09 10:06:00.529: W/NotificationService(142): updateLightsLocked() : mLedNotification=null|mScreenOn=true|mNotificationPulseEnabled=true 04-09 10:06:00.529: D/NotificationService(142): updateLightsLocked() : mScreenOn=true|mNotificationPulseEnabled=true|mBatteryCharging=true 04-09 10:06:00.529: D/NotificationService(142): updateLightsLocked() : mBatteryCharging Screen On & !!!!!mBatteryFull & Notification disable 04-09 10:06:00.539: I/WindowManager(142): Setting rotation to 1, animFlags=1 04-09 10:06:00.539: I/ActivityManager(142): Config changed: { scale=1.0 imsi=311/490 loc=en_US touch=3 keys=2/1/2 nav=2/1 orien=2 layout=18 uiMode=17 seq=28} 04-09 10:06:00.549: D/PhoneApp(233): updateProximitySensorMode: state = IDLE 04-09 10:06:00.549: D/PhoneApp(233): updateProximitySensorMode: lock already released. 04-09 10:06:00.679: V/CameraHolder(1330): open camera 0 04-09 10:06:00.679: I/QualcommCameraHardware(95): openCameraHardware: call createInstance 04-09 10:06:00.679: I/QualcommCameraHardware(95): openCameraHardware:Valid camera ID 0 04-09 10:06:00.679: I/QualcommCameraHardware(95): createInstance: E 04-09 10:06:00.679: I/QualcommCameraHardware(95): QualcommCameraHardware constructor E 04-09 10:06:00.679: I/QualcommCameraHardware(95): createInstance: created hardware=0x8aaf0 04-09 10:06:01.319: I/QualcommCameraHardware(95): initDefaultParameters E 04-09 10:06:01.479: E/QualcommCameraHardware(95): Maximum zoom value is 61 04-09 10:06:01.499: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setPreviewFpsRange(const android::CameraParameters&) START 04-09 10:06:01.499: E/CameraParams(95): [smiledice] >> void android::CameraParameters::setPreviewFpsRange(int, int) (min_fps: 7500, max_fps: 30000) START 04-09 10:06:01.499: E/CameraParams(95): [smiledice] << void android::CameraParameters::setPreviewFpsRange(int, int) END 04-09 10:06:01.549: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) START 04-09 10:06:01.549: E/QualcommCameraHardware(95): [smiledice][CHECK 0] zoom_level: 0 04-09 10:06:01.549: E/QualcommCameraHardware(95): [smiledice][CHECK 1] zoom_value: 0 04-09 10:06:01.549: E/QualcommCameraHardware(95): [smiledice][CHECK 2] zoom_value: 0 04-09 10:06:01.549: E/QualcommCameraHardware(95): [smiledice] << android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) END (rc:0) 04-09 10:06:01.549: I/QualcommCameraHardware(95): Parameter Rolloff is not supported for this sensor 04-09 10:06:01.549: I/QualcommCameraHardware(95): Sharpness not supported for this sensor 04-09 10:06:01.549: I/QualcommCameraHardware(95): Saturation not supported for this sensor 04-09 10:06:01.559: E/QualcommCameraHardware(95): [smiledice] [CHECK] android::status_t android::QualcommCameraHardware::setSceneMode(const android::CameraParameters&) END#3 return 04-09 10:06:01.559: E/QualcommCameraHardware(95): Parameter AntiBanding is not supported for this sensor 04-09 10:06:01.559: E/QualcommCameraHardware(95): [smiledice][CHECK] numerator:0, mBrightness:0, brightness:0 04-09 10:06:01.559: I/QualcommCameraHardware(95): Set Brightness not supported for this sensor 04-09 10:06:01.559: I/QualcommCameraHardware(95): Set fps is not supported for this sensor 04-09 10:06:01.559: I/QualcommCameraHardware(95): set fps mode is not supported for this sensor 04-09 10:06:01.559: I/QualcommCameraHardware(95): setFlash: flash not supported 04-09 10:06:01.559: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[0]:0.050000 04-09 10:06:01.559: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[1]:1.100000 04-09 10:06:01.559: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[2]:1.200000 04-09 10:06:01.559: I/QualcommCameraHardware(95): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 0.050000,1.100000,1.200000 04-09 10:06:01.559: E/QualcommCameraHardware(95): native_set_parms failed: type 17 length 1 error No such file or directory 04-09 10:06:01.569: I/QualcommCameraHardware(95): initDefaultParameters X 04-09 10:06:01.569: I/QualcommCameraHardware(95): createInstance: X 04-09 10:06:01.569: I/QualcommCameraHardware(95): Found a matching camera info for ID 0 04-09 10:06:01.569: I/QualcommCameraHardware(95): HAL_getCameraInfo: orientation = 90 04-09 10:06:01.579: E/(95): sniff : mimetype = application/ogg 04-09 10:06:01.589: E/(95): sniff : mimetype = application/ogg 04-09 10:06:01.619: I/QualcommCameraHardware(95): Found a matching camera info for ID 0 04-09 10:06:01.619: I/QualcommCameraHardware(95): HAL_getCameraInfo: orientation = 90 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setPreviewFpsRange(const android::CameraParameters&) START 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice] << android::status_t android::QualcommCameraHardware::setPreviewFpsRange(const android::CameraParameters&) END#1 return NO_ERROR 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) START 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice][CHECK 0] zoom_level: 0 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice][CHECK 1] zoom_value: 0 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice][CHECK 2] zoom_value: 0 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice] << android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) END (rc:0) 04-09 10:06:01.629: I/QualcommCameraHardware(95): Parameter Rolloff is not supported for this sensor 04-09 10:06:01.629: I/QualcommCameraHardware(95): Sharpness not supported for this sensor 04-09 10:06:01.629: I/QualcommCameraHardware(95): Saturation not supported for this sensor 04-09 10:06:01.629: E/QualcommCameraHardware(95): Parameter AntiBanding is not supported for this sensor 04-09 10:06:01.629: E/QualcommCameraHardware(95): [smiledice][CHECK] numerator:0, mBrightness:0, brightness:0 04-09 10:06:01.629: I/QualcommCameraHardware(95): Set Brightness not supported for this sensor 04-09 10:06:01.629: I/QualcommCameraHardware(95): Set fps is not supported for this sensor 04-09 10:06:01.629: I/QualcommCameraHardware(95): set fps mode is not supported for this sensor 04-09 10:06:01.629: I/QualcommCameraHardware(95): setFlash: flash not supported 04-09 10:06:01.629: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[0]:0.050000 04-09 10:06:01.629: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[1]:1.100000 04-09 10:06:01.629: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[2]:1.200000 04-09 10:06:01.629: I/QualcommCameraHardware(95): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 0.050000,1.100000,1.200000 04-09 10:06:01.629: E/QualcommCameraHardware(95): native_set_parms failed: type 17 length 1 error No such file or directory 04-09 10:06:01.639: V/camera(1330): startPreview 04-09 10:06:01.639: I/QualcommCameraHardware(95): constructing MemPool preview backed by pmem pool /dev/pmem_adsp: 8 frames @ 225792 bytes, buffer size 225792 04-09 10:06:01.639: I/QualcommCameraHardware(95): PmemPool: (preview) X 04-09 10:06:01.639: I/QualcommCameraHardware(95): preview_thread E 04-09 10:06:01.849: I/ActivityManager(142): Displayed com.android.camera/.Camera: +1s308ms 04-09 10:06:01.909: E/AmitSensors(142): sensors_poll_context_t: activate() index(1), enabled(1) 04-09 10:06:01.909: E/(142): AmiSensor::enable() 04-09 10:06:01.909: E/(142): what = 0, mEnabled, en = 1 , 1 04-09 10:06:01.909: E/(142): AmiSensor::update_delay() mEnabled =1 04-09 10:06:01.909: E/(142): AmiSensor::update_delay() = 0 -leave 04-09 10:06:01.909: W/IInputConnectionWrapper(2006): showStatusIcon on inactive InputConnection 04-09 10:06:01.909: E/(142): AmiSensor::update_delay() mEnabled =1 04-09 10:06:01.909: E/(142): AmiSensor::update_delay() = 0 -leave 04-09 10:06:01.919: I/QualcommCameraHardware(95): Found a matching camera info for ID 0 04-09 10:06:01.919: I/QualcommCameraHardware(95): HAL_getCameraInfo: orientation = 90 04-09 10:06:02.019: E/MenuHelper(1330): calculatePicturesRemaining=2857.9358 04-09 10:06:02.099: E/RotateTextView(1330): mClockwise=true 04-09 10:06:02.129: V/GLRootView(1330): onSurfaceChanged: 396x297, gl10: com.google.android.gles_jni.GLImpl@40530398 04-09 10:06:02.129: V/GLRootView(1330): layout content pane 396x297 04-09 10:06:02.459: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:06:02.459: I/dun_service(101): Post event 1 04-09 10:06:02.459: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:06:02.459: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:06:02.459: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:06:02.459: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:06:03.419: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096 04-09 10:06:03.439: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -51 len = 13, 13 04-09 10:06:03.499: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:06:03.509: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 04-09 10:06:05.479: E/CAM_FD(95): cam_conf: In config thread 04-09 10:06:06.479: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:06:06.489: I/dun_service(101): Post event 1 04-09 10:06:06.489: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:06:06.489: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:06:06.489: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:06:06.489: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:06:06.509: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096 04-09 10:06:06.519: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -56 len = 13, 13 04-09 10:06:06.519: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:06:06.519: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 04-09 10:06:07.359: V/camera(1330): the keydown is pressed first time 04-09 10:06:07.369: V/camera(1330): Start autofocus. 04-09 10:06:07.409: V/camera(1330): doSnap: mFocusState=1 04-09 10:06:07.559: V/camera(1330): the keyup is pressed first time 04-09 10:06:08.489: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[0]:0.050000 04-09 10:06:08.489: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[1]:0.400000 04-09 10:06:08.489: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[2]:1.200000 04-09 10:06:08.489: I/QualcommCameraHardware(95): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 0.050000,0.400000,1.200000 04-09 10:06:08.489: E/Camera(1330): msgType = 4 04-09 10:06:08.489: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:06:08.489: I/dun_service(101): Post event 1 04-09 10:06:08.489: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:06:08.489: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:06:08.489: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:06:08.489: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:06:08.499: E/camera(1330): <PROFILE> mAutoFocusTime = 1122ms 04-09 10:06:08.499: E/camera(1330): datetime : 2012:04:09 10:06:08 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setPreviewFpsRange(const android::CameraParameters&) START 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice] << android::status_t android::QualcommCameraHardware::setPreviewFpsRange(const android::CameraParameters&) END#1 return NO_ERROR 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice] >> android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) START 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice][CHECK 0] zoom_level: 0 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice][CHECK 1] zoom_value: 0 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice][CHECK 2] zoom_value: 0 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice] << android::status_t android::QualcommCameraHardware::setZoom(const android::CameraParameters&) END (rc:0) 04-09 10:06:08.509: I/QualcommCameraHardware(95): Parameter Rolloff is not supported for this sensor 04-09 10:06:08.509: I/QualcommCameraHardware(95): Sharpness not supported for this sensor 04-09 10:06:08.509: I/QualcommCameraHardware(95): Saturation not supported for this sensor 04-09 10:06:08.509: E/QualcommCameraHardware(95): Parameter AntiBanding is not supported for this sensor 04-09 10:06:08.509: E/QualcommCameraHardware(95): [smiledice][CHECK] numerator:0, mBrightness:0, brightness:0 04-09 10:06:08.509: I/QualcommCameraHardware(95): Set Brightness not supported for this sensor 04-09 10:06:08.509: I/QualcommCameraHardware(95): Set fps is not supported for this sensor 04-09 10:06:08.509: I/QualcommCameraHardware(95): set fps mode is not supported for this sensor 04-09 10:06:08.509: I/QualcommCameraHardware(95): setFlash: flash not supported 04-09 10:06:08.519: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[0]:0.050000 04-09 10:06:08.519: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[1]:0.400000 04-09 10:06:08.519: E/CAM_FD(95): [smiledice][CHECK] focusDistanceInfo[2]:1.200000 04-09 10:06:08.519: I/QualcommCameraHardware(95): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 0.050000,0.400000,1.200000 04-09 10:06:08.519: E/QualcommCameraHardware(95): native_set_parms failed: type 17 length 1 error No such file or directory 04-09 10:06:08.519: I/QualcommCameraHardware(95): stopPreviewInternal E: 1 04-09 10:06:08.569: I/QualcommCameraHardware(95): deinitPreview E 04-09 10:06:08.569: I/QualcommCameraHardware(95): deinitPreview X 04-09 10:06:08.569: I/QualcommCameraHardware(95): stopPreviewInternal X: 0 04-09 10:06:08.569: I/QualcommCameraHardware(95): preview_thread X 04-09 10:06:08.569: I/QualcommCameraHardware(95): ~PmemPool: preview E 04-09 10:06:08.569: I/QualcommCameraHardware(95): ~PmemPool: preview X 04-09 10:06:08.569: I/QualcommCameraHardware(95): constructing MemPool snapshot camera backed by pmem pool /dev/pmem_adsp: 1 frames @ 4718592 bytes, buffer size 4718592 04-09 10:06:08.569: I/QualcommCameraHardware(95): PmemPool: (snapshot camera) X 04-09 10:06:08.569: I/QualcommCameraHardware(95): constructing MemPool thumbnail backed by pmem pool /dev/pmem_adsp: 1 frames @ 225792 bytes, buffer size 225792 04-09 10:06:08.569: I/QualcommCameraHardware(95): PmemPool: (thumbnail) X 04-09 10:06:08.859: E/CameraService(95): mCurPos(0) 04-09 10:06:08.859: E/AwesomePlayer(95): AudioPlayer created, Non-LPA mode mime audio/vorbis duration 645145 04-09 10:06:08.859: E/Camera(1330): msgType = 2 04-09 10:06:08.859: V/camera(1330): mShutterLag = 361ms 04-09 10:06:09.059: W/AudioFlinger(95): write blocked for 163 msecs, 13 delayed writes, thread 0xcd98 04-09 10:06:09.139: V/camera(1330): mShutterToRawCallbackTime = 279ms 04-09 10:06:09.139: E/camera(1330): <PROFILE> Snapshot to Thumb Latency = 1731 ms 04-09 10:06:09.139: E/QualcommCameraHardware(95): [smiledice][CHECK] addExifTag(EXIFTAGID_ISO_SPEED_RATINGS, EXIF_SHORT, 1, 0, 50) 04-09 10:06:09.139: E/QualcommCameraHardware(95): [smiledice][CHECK] ISO type == EXIF at addExifTag() 04-09 10:06:09.529: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096 04-09 10:06:09.539: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -58 len = 13, 13 04-09 10:06:09.539: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:06:09.539: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 04-09 10:06:10.399: I/QualcommCameraHardware(95): ~PmemPool: snapshot camera E 04-09 10:06:10.399: I/QualcommCameraHardware(95): ~PmemPool: snapshot camera X 04-09 10:06:10.399: I/QualcommCameraHardware(95): ~PmemPool: thumbnail E 04-09 10:06:10.399: I/QualcommCameraHardware(95): ~PmemPool: thumbnail X 04-09 10:06:10.439: V/camera(1330): mPictureDisplayedToJpegCallbackTime = 1299ms 04-09 10:06:10.439: E/camera(1330): <PROFILE> Snapshot to Snapshot Latency = 3030 ms 04-09 10:06:10.439: I/QualcommCameraHardware(95): Found a matching camera info for ID 0 04-09 10:06:10.439: I/QualcommCameraHardware(95): HAL_getCameraInfo: orientation = 90 04-09 10:06:10.539: E/MenuHelper(1330): calculatePicturesRemaining=2857.9358 04-09 10:06:10.549: V/camera(1330): mJpegCallbackFinishTime = 106ms 04-09 10:06:11.589: E/camera(1330): Stop Histogram if enabled 04-09 10:06:11.589: E/camera(1330): stopPreview 04-09 10:06:11.589: I/QualcommCameraHardware(95): stopPreviewInternal E: 0 04-09 10:06:11.589: I/QualcommCameraHardware(95): stopPreviewInternal X: 0 04-09 10:06:11.589: I/QualcommCameraHardware(95): stopPreviewInternal E: 0 04-09 10:06:11.589: I/QualcommCameraHardware(95): stopPreviewInternal X: 0 04-09 10:06:11.589: I/QualcommCameraHardware(95): release E 04-09 10:06:11.589: I/QualcommCameraHardware(95): release: mCameraRunning = 0 04-09 10:06:11.589: I/QualcommCameraHardware(95): release: clearing resources done. 04-09 10:06:11.589: E/CAM_FD(95): config_proc_CAMERA_STOP_SNAPSHOT: ctrl->state = 13 04-09 10:06:11.589: E/CAM_FD(95): cam_conf: CAMERA_EXIT 04-09 10:06:11.609: I/QualcommCameraHardware(95): release X: mCameraRunning = 0, mFrameThreadRunning = 0 04-09 10:06:11.609: I/QualcommCameraHardware(95): mVideoThreadRunning = 0, mSnapshotThreadRunning = 0, mJpegThreadRunning = 0 04-09 10:06:11.609: I/QualcommCameraHardware(95): camframe_timeout_flag = 0, mAutoFocusThreadRunning = 0 04-09 10:06:11.609: I/QualcommCameraHardware(95): ~QualcommCameraHardware E 04-09 10:06:11.779: I/QualcommCameraHardware(95): ~QualcommCameraHardware X 04-09 10:06:11.789: I/WindowManager(142): Setting rotation to 0, animFlags=1 04-09 10:06:11.819: I/ActivityManager(142): Config changed: { scale=1.0 imsi=311/490 loc=en_US touch=3 keys=2/1/2 nav=2/1 orien=1 layout=18 uiMode=17 seq=29} 04-09 10:06:11.829: D/PhoneApp(233): updateProximitySensorMode: state = IDLE 04-09 10:06:11.829: D/PhoneApp(233): updateProximitySensorMode: lock already released. 04-09 10:06:11.899: E/(142): AmiSensor::update_delay() mEnabled =1 04-09 10:06:11.899: E/(142): AmiSensor::update_delay() = 0 -leave 04-09 10:06:11.939: W/dalvikvm(2006): threadid=1: thread exiting with uncaught exception (group=0x40018560) 04-09 10:06:11.939: E/TiApplication(2006): (main) [16233,16233] Sending event: exception on thread: main msg:java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.hipswap.test/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException; Titanium 1.8.0.1,2011/12/22 13:09,fbdc96f 04-09 10:06:11.939: E/TiApplication(2006): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.hipswap.test/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException 04-09 10:06:11.939: E/TiApplication(2006): at android.app.ActivityThread.deliverResults(ActivityThread.java:2532) 04-09 10:06:11.939: E/TiApplication(2006): at android.app.ActivityThread.handleSendResult(ActivityThread.java:2574) 04-09 10:06:11.939: E/TiApplication(2006): at android.app.ActivityThread.access$2000(ActivityThread.java:117) 04-09 10:06:11.939: E/TiApplication(2006): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:961) 04-09 10:06:11.939: E/TiApplication(2006): at android.os.Handler.dispatchMessage(Handler.java:99) 04-09 10:06:11.939: E/TiApplication(2006): at android.os.Looper.loop(Looper.java:130) 04-09 10:06:11.939: E/TiApplication(2006): at android.app.ActivityThread.main(ActivityThread.java:3683) 04-09 10:06:11.939: E/TiApplication(2006): at java.lang.reflect.Method.invokeNative(Native Method) 04-09 10:06:11.939: E/TiApplication(2006): at java.lang.reflect.Method.invoke(Method.java:507) 04-09 10:06:11.939: E/TiApplication(2006): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864) 04-09 10:06:11.939: E/TiApplication(2006): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622) 04-09 10:06:11.939: E/TiApplication(2006): at dalvik.system.NativeStart.main(Native Method) 04-09 10:06:11.939: E/TiApplication(2006): Caused by: java.lang.NullPointerException 04-09 10:06:11.939: E/TiApplication(2006): at android.content.ContentResolver.acquireProvider(ContentResolver.java:743) 04-09 10:06:11.939: E/TiApplication(2006): at android.content.ContentResolver.query(ContentResolver.java:256) 04-09 10:06:11.939: E/TiApplication(2006): at ti.modules.titanium.media.MediaModule$CameraResultHandler.onResult(MediaModule.java:338) 04-09 10:06:11.939: E/TiApplication(2006): at org.appcelerator.titanium.util.TiActivitySupportHelper$1.onResult(TiActivitySupportHelper.java:51) 04-09 10:06:11.939: E/TiApplication(2006): at org.appcelerator.titanium.util.TiActivitySupportHelper.onActivityResult(TiActivitySupportHelper.java:67) 04-09 10:06:11.939: E/TiApplication(2006): at org.appcelerator.titanium.TiBaseActivity.onActivityResult(TiBaseActivity.java:423) 04-09 10:06:11.939: E/TiApplication(2006): at android.app.Activity.dispatchActivityResult(Activity.java:3908) 04-09 10:06:11.939: E/TiApplication(2006): at android.app.ActivityThread.deliverResults(ActivityThread.java:2528) 04-09 10:06:11.939: E/TiApplication(2006): ... 11 more 04-09 10:06:11.969: E/RotateTextView(1330): mClockwise=false 04-09 10:06:12.029: E/AndroidRuntime(2006): FATAL EXCEPTION: main 04-09 10:06:12.029: E/AndroidRuntime(2006): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.hipswap.test/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.app.ActivityThread.deliverResults(ActivityThread.java:2532) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.app.ActivityThread.handleSendResult(ActivityThread.java:2574) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.app.ActivityThread.access$2000(ActivityThread.java:117) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:961) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.os.Handler.dispatchMessage(Handler.java:99) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.os.Looper.loop(Looper.java:130) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.app.ActivityThread.main(ActivityThread.java:3683) 04-09 10:06:12.029: E/AndroidRuntime(2006): at java.lang.reflect.Method.invokeNative(Native Method) 04-09 10:06:12.029: E/AndroidRuntime(2006): at java.lang.reflect.Method.invoke(Method.java:507) 04-09 10:06:12.029: E/AndroidRuntime(2006): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864) 04-09 10:06:12.029: E/AndroidRuntime(2006): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622) 04-09 10:06:12.029: E/AndroidRuntime(2006): at dalvik.system.NativeStart.main(Native Method) 04-09 10:06:12.029: E/AndroidRuntime(2006): Caused by: java.lang.NullPointerException 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.content.ContentResolver.acquireProvider(ContentResolver.java:743) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.content.ContentResolver.query(ContentResolver.java:256) 04-09 10:06:12.029: E/AndroidRuntime(2006): at ti.modules.titanium.media.MediaModule$CameraResultHandler.onResult(MediaModule.java:338) 04-09 10:06:12.029: E/AndroidRuntime(2006): at org.appcelerator.titanium.util.TiActivitySupportHelper$1.onResult(TiActivitySupportHelper.java:51) 04-09 10:06:12.029: E/AndroidRuntime(2006): at org.appcelerator.titanium.util.TiActivitySupportHelper.onActivityResult(TiActivitySupportHelper.java:67) 04-09 10:06:12.029: E/AndroidRuntime(2006): at org.appcelerator.titanium.TiBaseActivity.onActivityResult(TiBaseActivity.java:423) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.app.Activity.dispatchActivityResult(Activity.java:3908) 04-09 10:06:12.029: E/AndroidRuntime(2006): at android.app.ActivityThread.deliverResults(ActivityThread.java:2528) 04-09 10:06:12.029: E/AndroidRuntime(2006): ... 11 more 04-09 10:06:12.039: W/ActivityManager(142): Force finishing activity com.hipswap.test/org.appcelerator.titanium.TiActivity 04-09 10:06:12.519: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:06:12.519: I/dun_service(101): Post event 1 04-09 10:06:12.519: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:06:12.519: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:06:12.519: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:06:12.519: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:06:12.539: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096 04-09 10:06:12.539: W/ActivityManager(142): Activity pause timeout for HistoryRecord{408b5ea0 com.hipswap.test/org.appcelerator.titanium.TiActivity} 04-09 10:06:12.549: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -60 len = 13, 13 04-09 10:06:12.549: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:06:12.549: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 04-09 10:06:14.539: I/dun_service(101): The value returned from dun_getusbmodemstate_fromsys is 1 04-09 10:06:14.539: I/dun_service(101): Post event 1 04-09 10:06:14.539: I/dun_service(101): received event: DUN_EVENT_USB_UNPLUG 04-09 10:06:14.539: I/dun_service(101): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG) 04-09 10:06:14.539: I/dun_service(101): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE 04-09 10:06:14.539: I/dun_service(101): Moved to state(DUN_STATE_USB_UNPLUG) 04-09 10:06:15.559: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096 04-09 10:06:15.569: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd ssid rssi -59 len = 13, 13 04-09 10:06:15.569: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LINKSPEED len = 4096 04-09 10:06:15.569: D/wpa_supplicant(679): wpa_driver_priv_driver_cmd LinkSpeed 65 len = 12, 12 {code} h4. HD Discussion http://support-admin.appcelerator.com/display/APP-655128 h4. Extra info Maybe related to this: https://jira.appcelerator.org/browse/TIMOB-4899

    Appcelerator JIRA | 5 years ago | Mauro Parra-Miranda
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.hipswap.test/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    After Cropping a picture: Failure delivering result ResultInfo{

    Stack Overflow | 3 years ago | J. K.
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2, result=-1, data=Intent { act=inline-data (has extras) }} to activity {net.asd.asd/net.asd.activities.Signup}: java.lang.NullPointerException
  5. 0

    How to pass image path as parameter for an image to be taken from camera

    Stack Overflow | 2 years ago | Akshat
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=0, result=-1, data=Intent { act=inline-data (has extras) }} to activity {chintan.khetiya.android.Twitter_sharing/chintan.khetiya.android.Twitter_sharing.MainActivity}: java.lang.NullPointerException

  1. Stefan Braune 1 times, last 9 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at android.content.ContentResolver.acquireProvider()
  2. Android Platform
    ContentResolver.query
    1. android.content.ContentResolver.acquireProvider(ContentResolver.java:743)
    2. android.content.ContentResolver.query(ContentResolver.java:256)
    2 frames
  3. ti.modules.titanium
    MediaModule$CameraResultHandler.onResult
    1. ti.modules.titanium.media.MediaModule$CameraResultHandler.onResult(MediaModule.java:338)
    1 frame
  4. org.appcelerator.titanium
    TiBaseActivity.onActivityResult
    1. org.appcelerator.titanium.util.TiActivitySupportHelper$1.onResult(TiActivitySupportHelper.java:51)
    2. org.appcelerator.titanium.util.TiActivitySupportHelper.onActivityResult(TiActivitySupportHelper.java:67)
    3. org.appcelerator.titanium.TiBaseActivity.onActivityResult(TiBaseActivity.java:423)
    3 frames
  5. Android Platform
    ActivityThread.main
    1. android.app.Activity.dispatchActivityResult(Activity.java:3908)
    2. android.app.ActivityThread.deliverResults(ActivityThread.java:2528)
    3. android.app.ActivityThread.handleSendResult(ActivityThread.java:2574)
    4. android.app.ActivityThread.access$2000(ActivityThread.java:117)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:961)
    6. android.os.Handler.dispatchMessage(Handler.java:99)
    7. android.os.Looper.loop(Looper.java:130)
    8. android.app.ActivityThread.main(ActivityThread.java:3683)
    8 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:507)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame