Pentaho BA Platform

quartz runs a kettle job before Pentaho is started completely causing a " RepositoriesMeta - java.lang.NullPointerException"