8 Replies Latest reply on Jun 13, 2017 10:29 AM by Martin Abrle

    EMDK Scanner Exceptions on TC51 Android M

    Christopher Sather

      Posting on behalf of my customer.

       

      TC51, GMS, BSP 12-03.  Using the  emdk.jar from a cordova plugin:

       

      Due to our recent changes I
      started getting some exception from scanner SDK and I would like to post this in the portal but I’m unable to post it as Create Discussion button taking me to some other page. Could you please post this on my behalf and let me know for any response?

       

      • java.lang.NullPointerException:
        Attempt to read from field 'java.util.HashMap
        com.symbol.emdk.emdkservice.barcode.SvcBarcodeManager.createdScannerDevices' on
        a null object reference

       

      • com.symbol.emdk.barcode.ScannerException:
        Failure

      01-10
      22:33:28.213 22972-23035/com.tgt.mywork.android
      W/System.err:     at

      1. com.symbol.emdk.barcode.Scanner.cancelRead(Scanner.java:571)

      01-10
      22:33:28.213 22972-23035/com.tgt.mywork.android
      W/System.err:     at

       

       

      • com.symbol.emdk.emdkservice.barcode.SvcScannerException:
        The object is not valid.

       

      • Attempt to invoke
        virtual method 'java.lang.Object java.util.HashMap.get(java.lang.Object)' on a
        null object reference

       

       

      • com.symbol.emdk.emdkservice.barcode.SvcScannerException:
        The object is not valid.

      01-11
      03:46:58.409 4944-4955/? W/System.err:     at
      com.symbol.emdk.emdkservice.barcode.SvcScanner.getConfig(SvcScanner.java:174)

      01-11
      03:46:58.409 4944-4955/? W/System.err:     at
      com.symbol.emdk.emdkservice.SvcEMDKManager.scnGetConfig(SvcEMDKManager.java:1036)

      01-11
      03:46:58.409 4944-4955/? W/System.err:     at
      com.symbol.emdk.emdkservice.ProfileService.scnGetConfig(ProfileService.java:622)

       

       

      Thanks,

      Kishore
      PV