I am getting com.symbol.emdk.barcode.ScannerException: Failure at com.symbol.emdk.barcode.Scanner.setConfig and on TC72 device

r roberto cottone 3 years 8 months ago
105 2 0

Greetings!
So, the problem here is always i am getting emdk.barcode.ScannerException is Failure at com.symbol.emdk.barcode.Scanner.setConfig and CancelRead() on login my application i am trying for fix form last two days but no solution found
ScannerConfig scannerConfig = scanner.getConfig();
config.ScanParams.DecodeAudioFeedbackUri = "";
scanner.CancelRead();
scanner.SetConfig(config);
please find below Exception
com.symbol.emdk.barcode.ScannerException: Failure
at com.symbol.emdk.barcode.Scanner.setConfig(Scanner.java:303)
at md51558244f76c53b6aeda52c8a337f2c37.InnerGestureListener.n_onSingleTapUp(Native Method)
at md51558244f76c53b6aeda52c8a337f2c37.InnerGestureListener.onSingleTapUp(InnerGestureListener.java:79)
at android.view.GestureDetector.onTouchEvent(GestureDetector.java:640)
at md51558244f76c53b6aeda52c8a337f2c37.VisualElementRenderer_1.n_onTouch(Native Method)
at md51558244f76c53b6aeda52c8a337f2c37.VisualElementRenderer_1.onTouch(VisualElementRenderer_1.java:57)
at android.view.View.dispatchTouchEvent(View.java:11852)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2966)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2643)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at md51558244f76c53b6aeda52c8a337f2c37.PlatformRenderer.n_dispatchTouchEvent(Native Method)
at md51558244f76c53b6aeda52c8a337f2c37.PlatformRenderer.dispatchTouchEvent(PlatformRenderer.java:63)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2972)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:448)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1829)
at android.app.Activity.dispatchTouchEvent(Activity.java:3323)
at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:410)
at android.view.View.dispatchPointerEvent(View.java:12095)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4826)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4640)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4168)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4221)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4187)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4314)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4195)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4371)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4168)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4221)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4187)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4195)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4168)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6699)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6673)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6634)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6802)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:187)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:325)
at android.os.Looper.loop(Looper.java:142)
at android.app.ActivityThread.main(ActivityThread.java:6528)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
:

Please Register or Login to post a reply

2 Replies

s sudheer gudipudi

Thanks Darryn Campbell for replying issue is resolved , i did set scanner configuration only IDLE state but first time login in my application scan is not working then logout and re login my application then scan is working can you please suggest me. this issue happened in only TC72 and other devices working fine.

D Darryn Campbell

Please bear in mind you can only modify the scanner configuration when the scanner is in the IDLE state, https://github.com/ZebraDevs/EMDK-Android-Samples/blob/master/BarcodeSa…; Could that be the issue?

CONTACT
Can’t find what you’re looking for?