There currently is one option to travel by night train from Nowy Tomyśl (Poland) to Krakow (Poland), taking between approximately 6 and 7 hours: Namely the EC 431 operated by PKP Intercity.
PKP Intercity, Poland's national long-distance operator, connects cities across Poland and beyond its borders.