Skip to content

Unhandled promise rejection{"code":120030,"message":"CAMERA_BUSY"}__ERROR #8

@wazsq

Description

@wazsq

第一次触发打开照相机权限还是可以的,第二次就报异常了

10-20 19:55:52.605 3783-3883/com.alibaba.weex D/weex: callJS >>>> instanceId:3function:callJS tasks:[{"data":"3","type":2},{"data":"[{"args":["124","click",{"position":{"height":65.625,"width":750,"x":0,"y":713.5417}},null],"method":"fireEvent"}]","type":3}]
10-20 19:55:52.609 3783-3883/com.alibaba.weex D/weex: [WXBridgeManager] callNativeModule >>>> instanceId:3, module:nat/camera, method:captureImage, arguments:[{},"3"]
10-20 19:55:52.617 3783-3883/com.alibaba.weex D/weex: callJS >>>> instanceId:3function:callJS tasks:[{"data":"3","type":2},{"data":"[{"args":["3",{"error":{"code":120030,"message":"CAMERA_BUSY"}},false],"method":"callback"}]","type":3}]
10-20 19:55:52.619 3783-3883/com.alibaba.weex E/jsengine: ReportException : Exception: TypeError: null is not an object (evaluating 't.path')
(global function):5:895
(global function):5:2625
f@(weex framework):3:30852
(weex framework):3:31099
forEach@[native code]
d@(weex framework):3:30998
(weex framework):8:22648
10-20 19:55:52.619 3783-3883/com.alibaba.weex E/weex: reportJSException >>>> instanceId:3, exception function:callJS, exception:Exception: TypeError: null is not an object (evaluating 't.path')
(global function):5:895
(global function):5:2625
f@(weex framework):3:30852
(weex framework):3:31099
forEach@[native code]
d@(weex framework):3:30998
(weex framework):8:22648
10-20 19:55:52.621 3783-3883/com.alibaba.weex D/weex: callJS >>>> instanceId:function:setTimeoutCallback tasks:[{"data":"3","type":2}]
10-20 19:55:52.623 3783-3883/com.alibaba.weex D/jsLog: Unhandled promise rejection{"code":120030,"message":"CAMERA_BUSY"}__ERROR

也就是说重复触发会有问题,不知道其他人有没有碰到这种问题,跪求大佬解惑

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions