Istana Bogor, 1842