Unable to find the elemnet on the onboarding screen

Hi All,

I am using page object mobile. Here, I have page that is using containing the following code. first the splash screen displays then the onborading screen displays. the below uisng code is unable to clik on the elements of the onboarding screen.

public void facebooklogin() throws InterruptedException
{

    	   System.out.println(Obj.getProperty("facebook"));
    	   Thread.sleep(5000);
    	   driver.findElement(By.id("com.bluestone.android:id/login_button_Facebook"));

}

please let me know what kind of wait i need to give to identify the element

import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;

WebDriverWait wait = new WebDriverWait(driver,150);
By id= By.id(“com.bluestone.android:id/login_button_Facebook”);
wait.until(ExpectedConditions.visibilityOfElementLocated(id));
// proceed with click now

Still it is not working

java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213)
at org.openqa.selenium.support.ui.FluentWait.(FluentWait.java:95)
at org.openqa.selenium.support.ui.WebDriverWait.(WebDriverWait.java:71)
at org.openqa.selenium.support.ui.WebDriverWait.(WebDriverWait.java:45)
at com.BlueStone.pages.OnBoardingPages.facebooklogin(OnBoardingPages.java:60)
at com.BlueStone.tests.OnBoardingTesting.FacebookGoogleLogin(OnBoardingTesting.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)