Please add Null check while in the values while using constructValuesList method
Caused by: java.lang.NullPointerException: null
at org.bson.Document.constructValuesList(Document.java:381)
at org.bson.Document.getList(Document.java:349)
null check for item. PFA
Sample input which causes the exception
"skills" : [ "SQL", "null", "null", "null", "null", null, null, null, null, null ]