question

kelvin avatar image
kelvin asked kelvin commented

OrderConnector createLineItemsFrom() has stopped working

We have been using this method since 2014. Just found out it is no longer working. can someone take a look?


Here is the error log:


java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List com.clover.common2.clover.Clover.getUserOrderTypes()' on a null object reference

at android.os.Parcel.readException(Parcel.java:1698)

at android.os.Parcel.readException(Parcel.java:1645)

at com.clover.sdk.v3.order.IOrderServiceV3_1$Stub$Proxy.createLineItemsFrom(IOrderServiceV3_1.java:3075)

at com.clover.sdk.v3.order.OrderV31Connector$19.call(OrderV31Connector.java:361)

at com.clover.sdk.v3.order.OrderV31Connector$19.call(OrderV31Connector.java:358)

at com.clover.sdk.v1.ServiceConnector.execute(ServiceConnector.java:247)

at com.clover.sdk.v3.order.OrderV31Connector.createLineItemsFrom(OrderV31Connector.java:358)

Clover Android SDK
10 |2000

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

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered kelvin commented

We use that method internally for a variety of things so it isn't broken. This seems like an issue with engine not running. Is this a transient issue or are you consistently seeing it.

1 comment
10 |2000

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

We only noticed this problem today after a merchant reported.

Now we can always reproduce this problem in both production and sandbox.

0 Likes 0 ·

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