title: OrientDB 3.0.0 creating embedded give java.lang.NullPointerException
body: <p>I try to create an embedded OrientDB and create some Vertex, add some properties, ... But I get Null pointer exception in the first line! </p>
  
  <p>14  </p>
  
  <pre><code>OrientDB orientdb = new OrientDB("embedded:./databases/", 
          OrientDBConfig.defaultConfig());
          orientdb.create("test", ODatabaseType.PLOCAL);
  
              try (ODatabaseSession dbSession = orientdb.open("test", "admin","admin");) {
                  OClass person =  dbSession.createVertexClass("Person");
                  OClass address = dbSession.createVertexClass("Address");
  
                  person.createProperty("firstName", OType.STRING);
                  person.createProperty("lastName", OType.STRING);
  
                  dbSession.close();
              } 
  
              orientdb.close();
  </code></pre>
  
  <hr>
  
  <blockquote>
    <p>Exception in thread "main" java.lang.NullPointerException     at
    com.orientechnologies.orient.core.Orient.onEmbeddedFactoryInit(Orient.java:929)
      at
    com.orientechnologies.orient.core.db.OrientDBEmbedded.(OrientDBEmbedded.java:63)
      at
    com.orientechnologies.orient.core.db.OrientDBInternal.embedded(OrientDBInternal.java:107)
      at
    com.orientechnologies.orient.core.db.OrientDB.(OrientDB.java:164)
      at
    com.orientechnologies.orient.core.db.OrientDB.(OrientDB.java:117)
      at
    org.apsolutions.orientdb.example.TestOrientDB.main(TestOrientDB.java:14)</p>
  </blockquote>