title: java.lang.NullPointerException: null value in entry: url=null Selenium Webdriver
body: <p>I am trying the following simple code, which works as per expectation on my localmachine </p>
  
  <pre><code>public class NewTest 
  {
  
    @Test
    public void f() throws IOException
    {   
  
    Properties obj = new Properties();
    FileInputStream fileobj = new FileInputStream("C:\\selenium_Automation\\data_links.properties");
    obj.load(fileobj);
  
    System.setProperty("webdriver.chrome.driver", "c:\\drivers\\chromedriver.exe");
    WebDriver driver = new ChromeDriver();
    driver.get(obj.getProperty("crm_url"));
  
    System.out.println("Complete");
    }
  
  }
  </code></pre>
  
  <p>but when i try the same code on a different machine i get the following </p>
  
  <pre><code> FAILED: f
   java.lang.NullPointerException: null value in entry: url=null
  at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:33)
  at com.google.common.collect.SingletonImmutableBiMap.&lt;init&gt;(SingletonImmutableBiMap.java:39)
  at com.google.common.collect.ImmutableBiMap.of(ImmutableBiMap.java:57)
  at com.google.common.collect.ImmutableMap.of(ImmutableMap.java:80)
  at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:306)
  </code></pre>
  
  <p>The code works fine if i replace (obj.getProperty("crm_url")) with the actual URL, but i have several different links stored in the properties file and i need them to be read from that place. <strong>What i am doing wrong can some please tell me the reason behind the NUll pointer expection for the URL</strong></p>