I am using Oracle Database XE (18c). The install completed without any error however, when I try to create a database using dbca it shows error: java.lang.NullPointerException.

Error Image

The log is:


I am still very new to Oracle. How can I solve this?

1 Answer 1


This is in your log file:

Global Settings

- Global database name : course_management
- Configuration type : Oracle Single Instance database
- SID : coursemanage

Global Database Name is meant to be a fully qualified name, like "sales.us.example.com". The first part of that name becomes the "SID" value, and must not exceed 8 characters in length (e.g. "sales.us"). In other words, pick a much shorter name.

See here: https://docs.oracle.com/en/database/oracle/oracle-database/18/ssdbi/about-assigning-global-database-names-during-installation.html#GUID-1AC9E18F-0AE4-4263-B3CC-A83B859A178F

  • Thank you so much. This worked. Dec 30, 2020 at 5:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.