question

saru-fivestars avatar image
saru-fivestars asked saru-fivestars edited

Payment app fails on Clover Solo on dev devices

We are seeing issues with staging devices SN: C051UQ12140100 and C051UQ12130227 in that the payment app crashes when we call it.. we do not have an issue in production ( currently) and the same version of the payments app on 2018 and mini are fine.. are we experiencing another manifestation of the legacy issue?


payment app - 1.0-466


Code snippets to follow:


8-18 14:49:31.480  6194  6194 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.clover.payment.common.PaymentServiceManager$State.ordinal()' on a null object reference
08-18 14:49:31.480  6194  6194 E AndroidRuntime:     at com.clover.payment.builder.pay.fragments.TenderFragment.updateSecurePayServiceStatusButton(TenderFragment.java:503)
08-18 14:49:31.480  6194  6194 E AndroidRuntime:     at com.clover.payment.builder.pay.fragments.TenderFragment.updateInternal(TenderFragment.java:564)
08-18 14:49:31.480  6194  6194 E AndroidRuntime:     at com.clover.payment.builder.pay.fragments.TenderFragment.onOrderLoaded(TenderFragment.java:447)
08-18 14:49:31.480  6194  6194 E AndroidRuntime:     at com.clover.common2.orders.BaseOrderFragment.handleOrderLoaded(BaseOrderFragment.java:61)
08-18 14:49:31.480  6194  6194 E AndroidRuntime:     at com.clover.common2.orders.BaseOrderFragment.onSetupComplete(BaseOrderFragment.java:47)
08-18 14:49:31.480  6194  6194 E AndroidRuntime:     at com.clover.common2.CommonFragment$3.run(CommonFragment.java:127)
08-18 14:49:31.480  6194  6194 E AndroidRuntime:     at android.os.Handler.handleCallback(Handler.java:883)
08-18 14:49:31.480  6194  6194 E AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:100)
08-18 14:49:31.480  6194  6194 E AndroidRuntime:     at android.os.Looper.loop(Looper.java:214)
08-18 14:49:31.480  6194  6194 E AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:7397)
08-18 14:49:31.480  6194  6194 E AndroidRuntime:     at java.lang.reflect.Method.invoke(Native Method)
08-18 14:49:31.480  6194  6194 E AndroidRuntime:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
08-18 14:49:31.480  6194  6194 E AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
Clover Station
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image
David Marginian Deactivated answered saru-fivestars commented

It is possibly it is related to the legacy activity, but, I am not quite sure the context of this error. Staging? Do you mean sandbox? Are you seeing this on other devices or have you only tried on these 2?

4 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

saru-fivestars avatar image saru-fivestars commented ·

sorry, yes sandbox, ( we call that staging) and we only have 2 dev solos. We do have 4 live merchants, but they are not reporting issues.

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ saru-fivestars commented ·
Can you reboot the device and try again?
0 Likes 0 ·
saru-fivestars avatar image saru-fivestars David Marginian ♦♦ commented ·
Please advise the status of this issue, currently, we are unable to develop against or QA our app on a Solo.
0 Likes 0 ·
Show more comments
saru-fivestars avatar image
saru-fivestars answered saru-fivestars edited

10/11/2021:

Recently we see an update to package:com.clover.payment.builder.pay,version:1.0-479 on dev and prod clovers.. Rght now clover solo dev units will perform a transaction.. please consider this issue closed.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community