Creating graph with options while unified authentication is enabled fails 

The DataStax Enterprise Help Center also provides troubleshooting information.

If unified authentication is enabled, the following graph creation will fail with a NullPointerException:
system.graph('food3').
 replication("{'class' : 'NetworkTopologyStrategy', 'PSC' : 3 }").
 systemReplication("{'class' : 'NetworkTopologyStrategy', 'PSC' : 3 }").
 option("graph.schema_mode").set("Production").
 create()
The workaround until this issue is resolved is to create graphs without options, and set them after creation:
// Create graph
system.graph('food3').
 replication("{'class' : 'NetworkTopologyStrategy', 'PSC' : 3 }").
 systemReplication("{'class' : 'NetworkTopologyStrategy', 'PSC' : 3 }")
// Set options for graph created
schema.config().option("graph.schema_mode").set("Production") 

DSP-12174 fixes this issue in DSE 5.0.6 and later.