fixed NPE while oracle not started