Exception in thread “main” java.lang.NullPointerException

Oracle Weblogic Server

After running the setWLSEnv.sh script when I try to start WLST I get the following:

java weblogic.WLST
Exception in thread "main" java.lang.NullPointerException
at weblogic.utils.FileUtils.find(FileUtils.java:304)
at weblogic.descriptor.DescriptorClassLoader.findJars(DescriptorClassLoader.java:73)
at weblogic.descriptor.DescriptorClassLoader.getExtendedClassLoader(DescriptorClassLoader.java:119)
at weblogic.descriptor.DescriptorClassLoader.getClassLoader(DescriptorClassLoader.java:34)
at weblogic.WLST.main(WLST.java:19)

java weblogic.Home
bea/weblogic92/server

 

See the common environment is set or not. like the JDBC driver path, weblogic.jar file is in CLASSPATH or not etc.

You can try the wlst.sh at this location: ***/bea/weblogic92/common/bin

In case of any ┬ęCopyright or missing credits issue please check CopyRights page for faster resolutions.

Leave a Reply