navigation drawer baseactivity get crashed : hey guys when i choose my second activity in the navigation drawer ill get crashed. How to fix this? Please help me. Newbie Here.

here is my code in my BaseActivity


    public abstract class BaseActivity extends AppCompatActivity
        implements NavigationView.OnNavigationItemSelectedListener,SearchView.OnQueryTextListener,
        SearchView.OnCloseListener {

    private LinearLayout linear2;
    private ListView mListView;
    private SearchView searchView;
    private CustomersDbAdapter mDbHelper;
    private TextView customerText;
    private TextView nameText;
    private TextView addressText;
    private TextView cityText;
    private TextView stateText;
    private TextView zipCodeText;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);
        toolbar.setTitleTextColor(Color.parseColor("#ffffff"));

        DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
        ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(
                this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);
        drawer.setDrawerListener(toggle);
        toggle.syncState();

        NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);
        navigationView.setNavigationItemSelectedListener(this);}

My MainActivity

    public class MainActivity extends BaseActivity{

    public static final double NORTH_WEST_LATITUDE = 39.9639998777094;
    public static final double NORTH_WEST_LONGITUDE = -75.17261900652977;
    public static final double SOUTH_EAST_LATITUDE = 39.93699709962642;
    public static final double SOUTH_EAST_LONGITUDE = -75.12462846235614;
    private TileView tileView;

    @Override
    public void onCreate( Bundle savedInstanceState ) {

        super.onCreate( savedInstanceState );
        ImageView imageView2 = (ImageView) findViewById(R.id.indicator);
        imageView2.setImageResource(R.drawable.g);


        tileView = new TileView( this );

    
        tileView.setId( R.id.tileview_id );
        tileView.setSaveEnabled( true );

      ((RelativeLayout)findViewById(R.id.mainFrame)).addView(tileView);


        // we'll reference the TileView multiple times
        TileView tileView = getTileView();

        // size and geolocation
        tileView.setSize( 5000, 5000 );

        // we won't use a downsample here, so color it similarly to tiles
        tileView.setBackgroundColor( 0xFFe7e7e7 );

        

       and vertical bottom
        tileView.setMarkerAnchorPoints( -0.5f, -1.0f );

        // provide the corner coordinates for relative positioning
        tileView.defineBounds(
                NORTH_WEST_LONGITUDE,
                NORTH_WEST_LATITUDE,
                SOUTH_EAST_LONGITUDE,
                SOUTH_EAST_LATITUDE
        );

     

    }

Please help me. Newbie Here.