W/Binder: Caught a RuntimeException from the binder stub implementation

I need to capture the Poynt business information but I’m seeing this exception in my code, and in the Poynt sample code:

06-28 09:37:33.840 10013-10035/co.poynt.samples W/Binder: Caught a RuntimeException from the binder stub implementation.
                                                          java.lang.ArrayIndexOutOfBoundsException: length=4; index=892
                                                              at co.poynt.api.model.Business.readFromParcel(Business.java:249)
                                                              at co.poynt.api.model.Business$1.createFromParcel(Business.java:297)
                                                              at co.poynt.api.model.Business$1.createFromParcel(Business.java:289)
                                                              at co.poynt.os.services.v1.IPoyntBusinessReadListener$Stub.onTransact(IPoyntBusinessReadListener.java:50)
                                                              at android.os.Binder.execTransact(Binder.java:404)
                                                              at dalvik.system.NativeStart.run(Native Method)
06-28 09:37:33.849 10013-10035/co.poynt.samples E/JavaBinder: *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
                                                              java.lang.ArrayIndexOutOfBoundsException: length=4; index=892
                                                                  at co.poynt.api.model.Business.readFromParcel(Business.java:249)
                                                                  at co.poynt.api.model.Business$1.createFromParcel(Business.java:297)
                                                                  at co.poynt.api.model.Business$1.createFromParcel(Business.java:289)
                                                                  at co.poynt.os.services.v1.IPoyntBusinessReadListener$Stub.onTransact(IPoyntBusinessReadListener.java:50)
                                                                  at android.os.Binder.execTransact(Binder.java:404)
                                                                  at dalvik.system.NativeStart.run(Native Method)

I’m using the following:

    compile 'co.poynt.api:android-api-model:1.2.36@jar'
    compile 'co.poynt.android.sdk:poynt-sdk:1.2.10@aar'

Has anyone seen this problem and is there a known solution?

Larry,

Please upgrade poynt dependencies in build.gradle to:

compile 'co.poynt.api:android-api-model:1.2.56@jar'
compile 'co.poynt.android.sdk:poynt-sdk:1.2.13@aar'
compile 'com.google.code.gson:gson:2.2.4@jar'

Let me know if that does not solve the issue.

Grade fails with those settings:

/Users/larry/Documents/Development/GizmoCreative/android-sub/boomtown-connectpoynt-android/BoomtownPoynt/build.gradle
Error:(82, 13) Failed to resolve: co.poynt.android.sdk:poynt-sdk:1.2.13
<a href="openFile:/Users/larry/Documents/Development/GizmoCreative/android-sub/boomtown-connectpoynt-android/BoomtownPoynt/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
Error:(81, 13) Failed to resolve: co.poynt.api:android-api-model:1.2.56
<a href="openFile:/Users/larry/Documents/Development/GizmoCreative/android-sub/boomtown-connectpoynt-android/BoomtownPoynt/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>

From the gradle file:

dependencies {

//    compile fileTree(include: ['*.jar'], dir: 'libs')

//    compile 'co.poynt.api:android-api-model:1.2.36@jar'
//    compile 'co.poynt.android.sdk:poynt-sdk:1.2.10@aar'
    compile 'co.poynt.api:android-api-model:1.2.56@jar'
    compile 'co.poynt.android.sdk:poynt-sdk:1.2.13@aar'
    compile 'com.google.code.gson:gson:2.2.4@jar'

    // JWT dependencies - if you want to parse JWTs
    compile 'net.jcip:jcip-annotations:1.0@jar'
    compile 'com.nimbusds:nimbus-jose-jwt:2.26@jar'
    compile 'net.minidev:json-smart:1.2@jar'

As discussed over email, this is the solution: 2016-06-21 NOTICE: build.gradle update required - change maven URL to nexus.poynt.com.