|
Post by adelsari on Feb 28, 2017 14:43:48 GMT
Hi i receive this error when i launch the camera to take a picture on Rhomobile (5.5.0.7) application, here is the what the log reveals:
I 02/28/2017 09:18:21:037 000059fc RhodesApplication| Inside runwhen before return E 02/28/2017 09:18:21:037 000059cc CameraObject| Attempt to invoke virtual method 'boolean android.content.Intent.migrateExtraStreamToClipData()' on a null object reference java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.content.Intent.migrateExtraStreamToClipData()' on a null object reference at android.app.Instrumentation.execStartActivity(Instrumentation.java:1534) at android.app.Activity.startActivityForResult(Activity.java:4284) at android.app.Activity.startActivityForResult(Activity.java:4231) at com.rho.camera.CameraObject.takePicture(CameraObject.java:677) at com.rho.camera.CameraBase$takePictureTask.run(CameraBase.java:1123) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7231) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
thanks for help.
|
|
|
Post by Super Admin on Feb 28, 2017 15:41:37 GMT
Hi Adel,
What device you are testing on?
Regards, Konstantin
|
|
|
Post by adelsari on Feb 28, 2017 15:55:11 GMT
Hi Konstantin,
i fact i the same error occur on both Zebra TC51 (Android M), and Samsung Galaxy Tab S2 (Android 6.0.1).
|
|
|
Post by Dmitry Soldatenkov on Feb 28, 2017 16:38:16 GMT
Hi,
Can you please show your code for open Camera ?
|
|
|
Post by adelsari on Feb 28, 2017 16:54:42 GMT
Yes, with pleasure
|
|
|
Post by Super Admin on Feb 28, 2017 17:13:39 GMT
Adel, You can file a ticket at tautechnologies.zendesk.comAs a workaround solution we recommend to use image path instead of data uri. Regards, Konstantin
|
|
|
Post by adelsari on Feb 28, 2017 17:32:19 GMT
Ok,
i have openend a ticket. thanks.
|
|
|
Post by Super Admin on Feb 28, 2017 17:35:27 GMT
Thanks.
We will look into that issue in a few days.
Regards, Konstantin
|
|