title: NoSuchGroupException: No Group exists with the key {companyId=20116, friendlyURL=site1}
body: <p>I manually created a site in Liferay, and want to get its object from a Java Liferay module. If I understand correctly, a site is represented by the <code>Group</code> class. So I wrote this:</p>
  
  <pre><code>Group group = GroupLocalServiceUtil.getFriendlyURLGroup(
                                            Utils.getCompanyId(), "site1");
  </code></pre>
  
  <p>Problem: I get this exception:</p>
  
  <pre><code>com.liferay.portal.kernel.exception.NoSuchGroupException: No Group exists with the key {companyId=20116, friendlyURL=site1}
      at com.liferay.portal.service.persistence.impl.GroupPersistenceImpl.findByC_F(GroupPersistenceImpl.java:3563)
      at com.liferay.portal.service.impl.GroupLocalServiceImpl.getFriendlyURLGroup(GroupLocalServiceImpl.java:1141)
  </code></pre>
  
  <p>I am 100% sure that <code>site1</code> exists. The exception still happens after I reindex all in "Server Administration".</p>
  
  <p><img src="https://i.imgur.com/As1gkMN.png" alt="Friendly URL"></p>
  
  <p>What am I doing wrong?</p>