G4Material::GetZ() is not defined to return the Z of a G4Material if it's a mixture (NumberOfElements > 1). Instead a G4Exception is applied! This Problem happened when using G4NeutronIsotopeProduction (in GetIsotope method). The same problem exist in G4Material::GetA().