How Pass LatLng from Mysql?

i try of pass latitude like string from mysql to another method googlemaps this way:

Double bd_lat;
Double bd_lng;
protected void onCreate(Bundle savedInstanceState) {
    bd_lat = Double.parseDouble(object.getString("latitude"));
    bd_lng = Double.parseDouble(object.getString("longitude"));

    public void onMapReady(GoogleMap googleMap) {

LatLng Bello = new LatLng(bd_lat, bd_lng);


but it show me this error

  E/AndroidRuntime: FATAL EXCEPTION: main
                      Process:, PID: 31026
                      java.lang.NullPointerException: Attempt to invoke virtual method 'double java.lang.Double.doubleValue()' on a null object reference
                          at is the next line:

LatLng Bello = new LatLng(bd_lat, bd_lng);

I dont know that i have bad, i’m noob in this