Category name cannot be null or empty

I’ve got category in geolocation. But I get this error. How can I solve this problem ?
And I get this error :

java.lang.NullPointerException: Attempt to invoke virtual method ‘boolean java.lang.String.isEmpty()’ on a null object reference

Hi Kavak
It is difficult to realize the cause of your issue using provided information.
Please, give us the more extended description of your case or better provide us the minimal example to reproduce this problem.
Regards Ilya

Hi,

Do you have a stack Trace for the error? Does it originate in the Backendless library code or in your code?

Mark

My code is here : https://codeshare.io/aYzrKL I get this message : Category name cannot be null or empty

Please check what value is assigned here:
chosenCategories.add(category);
It cannot be an empty string.

public static String category = "istanbul";

I got this error java.lang.NoSuchMethodError: No virtual method getMapAsync(Lcom/google/android/gms/maps/OnMapReadyCallback;)V in class Lcom/google/android/gms/maps/MapFragment; or its super classes (declaration of ‘com.google.android.gms.maps.MapFragment’

That error has nothing to do with Backendless. It looks like a problem either in your code or with the google maps SDK. Please consider posting a problem report either to Google’s support forum or stackoverflow.

Regards,
Mark