0 Replies Latest reply on Oct 7, 2016 1:07 PM by leglises63839512

    Contact plugin crash on few devices

    leglises63839512

      Hello,

       

       

       

      I use contacts plugins in my app, in the most cases, it works . But I tested on android 6.0 Samsung A3, and app crash when contact load with this logs :

       

      java.lang.NumberFormatException: Invalid int: "null"

      at java.lang.Integer.invalidInt(Integer.java:138)

      at java.lang.Integer.parseInt(Integer.java:358)

      at java.lang.Integer.parseInt(Integer.java:334)

      at org.apache.cordova.contacts.ContactAccessorSdk5.imQuery(ContactAccessorSdk5.java:907)

      at org.apache.cordova.contacts.ContactAccessorSdk5.populateContactArray(ContactAccessorSdk5. java:435)

      at org.apache.cordova.contacts.ContactAccessorSdk5.search(ContactAccessorSdk5.java:282)

      at org.apache.cordova.contacts.ContactManager$3.run(ContactManager.java:209)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)

      at java.lang.Thread.run(Thread.java:818)

       

       

       

       

       

      Have you got ideas , what happened ?

       

      PS : sorry for my bad english .

       

      Thanks in advance