Hi,
My business logic moves a data object from one table to another, if it meets a certain criteria. The code is as follows:
List<NotificationToSend> notificationsArray = new ArrayList<NotificationToSend>();NotificationToSend notification = new NotificationToSend();
notification.setDeviceId(data.deviceId);
notification.setCoin(data.coin);
notification.setCriteria(data.criteria);
notification.setValue(data.value);
notification.setDateCreated(data.dateCreated);notificationsArray.add(notification);
Backendless.Data.of(NotificationToSend.class).create(notificationsArray);
This works fine and as expected in debug, however when run in production I get the following error:
2018-06-06 23:16:57,680 | Coderunner | ERROR | Business logic execution has been stopped, due to error: Code: 0 Class: java.lang.NoSuchMethodError Message: com.backendless.IDataStore.create(Ljava/util/List;)V
Previously this exact code worked fine, so nothing has changed on my end. I’m wondering what had changed to make this error now occur.
Mitch