Backendless Support
Waiting for user's response

can't add array of objects to data table

Hi Guys,

Getting an error when trying to add an array of objects to data table in production mode, note this works fine in debug mode.


  1. List<NotificationToSend> notificationsArray = new ArrayList<NotificationToSend>();
  2. notificationsArray.add(notification);notificationsArray.add(notification);Backendless.Data.of(NotificationToSend.class).create(notificationsArray);

Error message:

  1. 2018-06-26 11:56:55,618 | 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

Adding individual entries to the table works, but adding the array in one go does not.

Leave a Comment

Comments (2)


Hi Mitchell

Unfortunately, I can't reproduce it.

I've create/download a simple project template


and add the next code

  1. package com.sample.api;

    import com.backendless.Backendless;

    import com.backendless.servercode.IBackendlessService;

    import java.util.ArrayList;

    import java.util.List;

    public class DemoService implements IBackendlessService


    public List<String> saveComment( )


    List<DemoComment> list = new ArrayList<DemoComment>();

    list.add(new DemoComment());

    list.add(new DemoComment());

    return Backendless.Data.of(DemoComment.class).create(list);



I check it in both modes Debug/Prod and it works well.

So, could you please create a minimal project and send it to and we will

try to reproduce your issue

Regards, Vlad