i have after create event handler on Download table,
when i trying to remove that created object console prints “You have no permission to thread manipulation”
here is my code:
@Asset( “Download” )
public class DownloadTableEventHandler extends com.backendless.servercode.extension.PersistenceExtender<Download>
{
@Async
@Override
public void afterCreate( RunnerContext context, Download download, ExecutionResult<Download> result ) throws Exception
{
Backendless.Data.of(Download.class).remove(download, new AsyncCallback<Long>() {
@Override
public void handleResponse(Long aLong) {
System.out.println(“removed download”);
}
@Override
public void handleFault(BackendlessFault backendlessFault) {
System.out.println("remove fault"+backendlessFault.toString());
}
});
}
}