There currently is one option to travel by night train from Bratislava (Slovakia) to Dresden (Germany), taking between approximately 8 and 9 hours: Namely the EN 40476 operated by MÁV-Start.
MÁV-Start is Hungary's national passenger railway operator, running domestic and international trains connecting Hungary with neighboring countries.