title: Null pointer exception when I try to build liferay services using servicebuilder
body: <p>I have a "ECLocalDataService.java" class. I am trying to build it as liferay local service, so that I can access it from all portlets and velocity templates using ServiceLocator.findService().</p>
  
  <p>My ECLocalDataService is somewhat like this:</p>
  
  <pre><code>public interface ECDataLocalService {
  
      public java.lang.String getBeanIdentifier();
  
  
      public void setBeanIdentifier(java.lang.String beanIdentifier);
  
      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
      public float getPriceBySKU(java.lang.String sku);
  }
  </code></pre>
  
  <p>and its implementation class is like this:</p>
  
  <pre><code>import com.rosettastone.service.base.ECDataLocalServiceBaseImpl;
  
  public class ECDataLocalServiceImpl extends ECDataLocalServiceBaseImpl {
  
      public float getPriceBySKU(String sku) {
          float price = 125.99f; 
          return price;
      }
  
  }
  </code></pre>
  
  <p>I have registered my ECDataLocalService in my service.xml</p>
  
  <pre><code>&lt;service-builder package-path="com.rosettastone"&gt;
      &lt;author&gt;rajeshp&lt;/author&gt;
      &lt;namespace&gt;mycompany&lt;/namespace&gt;
  
      &lt;entity name="ECDataLocalService" local-service="true" remote-service="false" human-name="ECDataLocalService"&gt;&lt;/entity&gt;
  
  &lt;/service-builder&gt;
  </code></pre>
  
  <p>Now after this, when I click the "BuildServices" icon in Liferay Dev Studio, it throws NullPointer exception. It doesn't even show for what object that it found a NullPointer for, no error message or log messages, just simply display NullPointerException and the service doesn't get built.</p>