Catastrophe observation in a Josephson-junction system