There currently is one option to travel by night train from Kongsberg (Norway) to Stavanger (Norway), taking between approximately 7 and 8 hours: Namely the 725 operated by Go-Ahead Nordic.
Go-Ahead Nordic, part of the Go-Ahead Group, operates passenger train services in Norway.